When I do pip3 install alpaca-trade-apii get back at the end
error: Microsoft Visual C++ 14.0 or greater is required. Get it with
"Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
ERROR: Failed building wheel for aiohttp
3.ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects
I was expecting it ti download without any error to later import the trade api
Related
I'm trying to run: from skforecast.ForecasterAutoreg import ForecasterAutoreg and i have this error "from skforecast.ForecasterAutoreg import ForecasterAutoreg
ModuleNotFoundError: No module named 'skforecast'"
I run C:\Users\Yanina\Prueba>pip3 install skforecast and this happens
building 'statsmodels.tsa._stl' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for statsmodels
Failed to build statsmodels
ERROR: Could not build wheels for statsmodels, which is required to install pyproject.toml-based projects
WARNING: You are using pip version 22.0.4; however, version 22.2 is available.
You should consider upgrading via the 'C:\Users\Yanina\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
When i run pip for pyproject.toml it apparently works just fine.
So i think the issue is with skforecast but i dont know how to fix it.
I'm trying to install cx_Oracle and I get this error,
I have the latest setuptools and pip installed.
Has anyone had a similar problem and how did they solve it?
I have VISUAL STUDIO: please see image
enter image description here
Processing c:\....resources\cx_oracle-8.1.0.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: cx_Oracle
Building wheel for cx_Oracle (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for cx_Oracle (pyproject.toml) did not run successfully.
¦ exit code: 1
?-> [7 lines of output]
C:\....\2\pip-build-env-806_5jc6\overlay\Lib\site-packages\setuptools\config\expand.py:144: UserWarning: File 'C:\\....\\2\\pip-install-r8jb3ohi\\cx-oracle_111cfa7e3d91425bb65e9a6baa89c82f\\README.md' cannot be found
warnings.warn(f"File {path!r} cannot be found")
running bdist_wheel
running build
running build_ext
building 'cx_Oracle' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cx_Oracle
Failed to build cx_Oracle
ERROR: Could not build wheels for cx_Oracle, which is required to install pyproject.toml-based projects
The image you showed has redistributables, not Visual Studio itself! You will need to follow the provided link to get the Microsoft build tools installed if you want to build it yourself.
If you use pip, however, you should be able to download and install prebuilt binaries -- which is a LOT easier! The command to use is:
python -m pip install cx_Oracle
ERROR: Could not build wheels for pandas which use PEP 517 and cannot be installed directly
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
Building wheel for pandas (PEP 517) error
ERROR: Command errored out with exit status 1
ERROR: No matching distribution found for numpy==1.19.3
Installing build dependencies ... error
ERROR: No matching distribution found for numpy==1.19.3
I'm trying to install the ask-sdk-webservice-support Package
When I install, it gives the following error:
Building wheel for cryptography (PEP 517) ... error
ERROR: Command errored out with exit status 1:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
My pip is already updated.
I'm getting this error when I issue pip install python-jose on Windows:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
I'm confused as why I need to install Visual C++ 14.0?