Python, trouble installing "provers" via pip - python

I installed Python and pip today (so they are up-to-date). I tried to install "provers", and got the following error message.
C:\Users\pace_nielsen>pip install provers
Collecting provers
Using cached provers-0.1.18.tar.gz (23 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: provers
Building wheel for provers (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
C:\Users\pace_nielsen\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running bdist_wheel
running build
running build_py
error: [WinError 2] The system cannot find the file specified
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for provers
Running setup.py clean for provers
Failed to build provers
Installing collected packages: provers
Running setup.py install for provers ... error
error: subprocess-exited-with-error
× Running setup.py install for provers did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
C:\Users\pace_nielsen\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running install
C:\Users\pace_nielsen\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_py
error: [WinError 2] The system cannot find the file specified
[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.
╰─> provers
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
I've looked online for any clue how to fix this problem, and tried some basic trouble-shooting. I've seen suggestions to install other packages (like cmake) and have done that without problem. But I don't know what to try next.

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

orjson installation error during installation of cloned torch lighetning on ppc system (IBM)

I am trying to install lightening from setu.py but it fails while installing osjson-3.8.0. So, I tried to manually install it using pip install --upgrade orjson but it given error in pyproject.toml file.
Collecting orjson
Using cached orjson-3.8.1.tar.gz (860 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/
Checking for Rust toolchain....
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

i am getting this error while installing bpy package

Collecting bpy
Using cached bpy-2.82.1.tar.gz (19 kB)
Preparing metadata (setup.py) ... done
Skipping wheel build for bpy, due to binaries being disabled for it.
Installing collected packages: bpy
Running setup.py install for bpy ... error
error: subprocess-exited-with-error
× Running setup.py install for bpy did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/blenderpy
copying blenderpy/post_install.py -> build/lib.linux-x86_64-3.7/blenderpy
copying blenderpy/init.py -> build/lib.linux-x86_64-3.7/blenderpy
copying blenderpy/pre_uninstall.py -> build/lib.linux-x86_64-3.7/blenderpy
running build_ext
Preparing the build environment
Searching for compatible Blender online (this will take a while)
error: [Errno 2] No such file or directory: 'svn': 'svn'
[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.
╰─> bpy

PyAudio not found

AttributeError: Could not find PyAudio; check installation
I tried to install pyaudio then it says:
PS E:\MU\Sem 4\JARVIS\CODE> pip install pyaudio
Collecting pyaudio
Using cached PyAudio-0.2.11.tar.gz (37 kB)
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for pyaudio, since package 'wheel' is not installed.
Installing collected packages: pyaudio
Running setup.py install for pyaudio ... error
error: subprocess-exited-with-error
× Running setup.py install for pyaudio did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
copying src\pyaudio.py -> build\lib.win-amd64-3.10
running build_ext
building '_portaudio' 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.
╰─> pyaudio
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

How do I solve this Error when installing Web3 library using pip [duplicate]

This question already has answers here:
Cannot open include file: 'io.h': No such file or directory
(18 answers)
Closed last year.
I am trying to install Web3 library using 'pip install web3'. Pycharm and Windows
This is the error I get:
Building wheels for collected packages: lru-dict, bitarray, cytoolz
Building wheel for lru-dict (setup.py) ... error
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: Unable to find a compatible Visual Studio installation.
[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
Building wheel for bitarray (setup.py) ... error
error: subprocess-exited-with-error
(it does the same error for the other packages: bitarray and cytoolz)
It says cannot find compatible Visual Studio but I have it installed, as well as visual c++.
Finally I was able to find an answer:
Cannot open include file: 'io.h': No such file or directory
MAKE SURE YOU REBOOT PC
This solved the problem for me.
Thank you guys for helping

Categories

Resources