No module named 'wptools' even after pip install wptools - python

I am using jupyter notebook and tried to import wptools. ModuleNotFoundError:No module named 'wptools' popped up, so I tried
pip install wptools
It gave me a really long error message including:
Command errored out with exit status 10: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 10
ERROR: Command errored out with exit status 1
WARNING: You are using pip version 21.2.4; however, version 22.2.2 is available.
You should consider upgrading via the 'C:\Prgram Files\Python310\python.exe -m pip install --upgrade pip' command.
I thought this package comes pre-installed with anaconda. What is the issue with my jupyter notebook environment and How can I fix this issue? Please advise.

Related

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. when trying to install pycurl with pip [duplicate]

I'm trying to install pyspider on Debian GNU/Linux 9. Tried installing with pip and pip3, checked libevent-dev, libpython-dev, python-dev, distribute, ez_setup, and I still get the following message from pip/pip3 install pyspider:
Command "python setup.py egg_info" failed with error code 1 in tmp/pip-build-<randomcharacters>/pycurl/
Right above that error message, it says this:
__main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory: 'curl-config'
Any ideas?
pyspider requires pycurl which in turn requires libcurl. So install libcurl first:
apt install libcurl4 libcurl4-openssl-dev

pip install requierements.txt in azure app service

I want to launch a web app on Azure app sevice connected to my azure repo, but I have this problem
ERROR: Command errored out with exit status 1: /tmp/8da0e58792c9438/antenv/bin/python /tmp/8da0e58792c9438/antenv/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp34ji_cp4 Check the logs for full command output.
WARNING: You are using pip version 20.1.1; however, version 22.0.4 is available.
You should consider upgrading via the '/tmp/8da0e58792c9438/antenv/bin/python -m pip install --upgrade pip' command.
"2022-03-25 07:00:00"|ERROR|Failed pip installation with exit code: 1
ERROR: Command errored out with exit status 1:\n command: /tmp/8da0e58792c9438/antenv/bin/python /tmp/8da0e58792c9438/antenv/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp34ji_cp4\n cwd: /tmp/pip-install-t7g41qou/pywinpty\n
Complete output (6 lines):\n \n Cargo, the Rust package manager, is not installed or is not on PATH.\n This package requires Rust and Cargo to compile extensions. Install it through\n the system's package manager or via https://rustup.rs/\n \n Checking for Rust toolchain....
\n ----------------------------------------\n
ERROR: Command errored out with exit status 1: /tmp/8da0e58792c9438/antenv/bin/python /tmp/8da0e58792c9438/antenv/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp34ji_cp4 Check the logs for full command output.\nWARNING: You are using pip version 20.1.1; however, version 22.0.4 is available.\nYou should consider upgrading via the '/tmp/8da0e58792c9438/antenv/bin/python -m pip install --upgrade pip' command.\n/opt/Kudu/Scripts/starter.sh oryx build /home/site/repository -o /home/site/wwwroot --platform python --platform-version 3.7 -i /tmp/8da0e58792c9438 --compress-destination-dir -p virtualenv_name=antenv --log-file /tmp/build-debug.log
can anyone help me with this ?
I tried to add pip version in my requierments.txt but it doesn't help at all
I have removed the specific packages for windows and the compilation works.
As my current app service plan is on linux, the windows packages pyw32 could not work. so just by removing it from de requierement file the compliation works and my app is launched.

PyAudio does not install on OS X Big Sur

After entering command pip install PyAudio installing started, and then it gave me an error
error: command 'clang' failed with exit status 1
I can't understand what is it. At first I noticed that pip is not at the latest version. I still have the same problem after upgrading and it still can't be installed. I am using PyCharm.

Google-colab install fails on "Running setup.py install for pandas ... error"

I'm trying to install google-colab via pip, but it errors out here:
Running setup.py install for pandas ... error
ERROR: Command errored out with exit status 1
I have pandas already installed, so I also tried to install google-colab with --ignore-installed but it still results with the same error. How do I fix this error? Thx

Error When i Try to install any pkg with pip

I wish some one can help me. When I try to install any pkg with pip, I get the following error:
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I tried many solutions like upgrade the setuptools but it's not working.
Please help and thanks in advance.
Update setup tools pip install -U setuptools Or pip3 if you're using Python3

Categories

Resources