Cryptography PEP 517 ERROR ask-sdk-webservice-support - python

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.

Related

pip install web3 in python did not run successfully

I want to install the web3py library to deploy a smart contract in blockchain and I'm faced with this issue. How can I fix it?
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
?─> [5 lines of output]
running bdist_wheel
running build
running build_ext
building 'lru' 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 lru-dict
Running setup.py clean for lru-dict
Failed to build lru-dict
Installing collected packages: lru-dict, bitarray, websockets, toolz, six, pyrsistent, pycryptodome, protobuf, multidict, hexbytes, frozenlist, eth-typing, eth-hash, charset-normalizer, base58, attrs, async-timeout, yarl, parsimonious, multiaddr, jsonschema, cytoolz, aiosignal, ipfshttpclient, eth-utils, aiohttp, rlp, eth-keys, eth-abi, eth-rlp, eth-keyfile, eth-account, web3
Running setup.py install for lru-dict ... error
error: subprocess-exited-with-error
× Running setup.py install for lru-dict did not run successfully.
│ exit code: 1
?─> [7 lines of output]
running install
C:\Users\Computer\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_ext
building 'lru' 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: legacy-install-failure
× Encountered error while trying to install package.
?─> lru-dict
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
It Was Not Working With python 3.11 but its working with python3.9 where i use python 3.9.6 check with that. It Works perfect

I am trying to install cx_Oracle in VS code and getting the error Microsoft Visual C++ 14.0 or greater is required

Collecting cx-oracle
Using cached cx_Oracle-8.3.0.tar.gz (363 kB)
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:\Users\bhide\AppData\Local\Temp\pip-build-env-ivxi5iqh\overlay\Lib\site-packages\setuptools\config\expand.py:144: UserWarning: File 'C:\Users\bhide\AppData\Local\Temp\pip-install-c848lmx4\cx-oracle_9ca450826f5b4ec282380d54992f5870\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
How can i get solve this
At a guess, you are using Python 3.11. There are no pre-built cx_Oracle 8.3 packages for that version. Upgrade to the latest cx_Oracle, now called python-oracledb, which does have pre-built packages for the latest Python. With this, you won't need a compiler.
See the python-oracledb release announcement.
In summary, run:
python -m pip install oracledb

python setup.py bdist_wheel did not run successfully , installing the psycopg2

I just want to install psycopg2 and I get the following error message:
PS D:\Visualalize_data> pip3 install psycopg2
Collecting psycopg2
Using cached psycopg2-2.9.5.tar.gz (384 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: psycopg2
Building wheel for psycopg2 (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
D:\Python\Lib\site-packages\setuptools\config\setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
running bdist_wheel
running build
g2._psycopg' 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 psycopg2
Running setup.py clean for psycopg2
Failed to build psycopg2
Installin
running build
legacy-install-failure
× Encountered error while trying to install package.
╰─> psycopg2
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
What I have already tried:
pip install nes-py --no-cache-dir
pip install --upgrade pip setuptools wheel
My system:
Windows 10
Python 3.10.2 64 Bit
Visual Studio Code
Have you tried doing what the messege tells you to and downloaded
Microsoft Visual C++ 14.0 or greater?
You can install it at "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

not able to install pandas

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

How to resolve "Failed to build phonopy spglib" error when "pip install asr"?

My python version is 3.7, my pip version is 21.1.2, and I am on a windows 10 PC.
I am trying to install asr, but I'm getting this error:
Building wheel for phonopy (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\githome\krypton-qa\framework_v3\env37\scripts\python.exe' 'c:\githome\krypton-qa\framework_v3\env37\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpbp7x0fox'
cwd: C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-install-fzaktkwv\phonopy_5860a2beb9e143eb9fb6e2b154f0305d
Complete output (100 lines):
Skipped a few lines
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 phonopy
Building wheel for spglib (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\githome\krypton-qa\framework_v3\env37\scripts\python.exe' 'c:\githome\krypton-qa\framework_v3\env37\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\ADMINI~1\AppData\Local\Temp\2\tmp36auw2oc'
cwd: C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-install-fzaktkwv\spglib_8c2bccb6bc6a4348bd9209e76933f372
Complete output (12 lines):
setuptools is used.
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\spglib
copying spglib\spglib.py -> build\lib.win-amd64-3.7\spglib
copying spglib\__init__.py -> build\lib.win-amd64-3.7\spglib
running build_ext
building 'spglib._spglib' 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/
----------------------------------------
ERROR: Failed building wheel for spglib
Failed to build phonopy spglib
ERROR: Could not build wheels for phonopy, spglib which use PEP 517 and cannot be installed directly
I have tried to download the C++ Build Tools according to the error message, but the same error messages still pops up.
Any help or insight will be appreciated!

Categories

Resources