I am attempting to install PyMuPDF on my Mac in a Jupyter Notebook, and when I run the command
pip install PyMuPDF
I receive back the following error:
Running setup.py install for pymupdf did not run successfully.
note: This is an issue with the package mentioned above, not pip.
Does anyone have a suggestion on how to fix this?
Related
I've been using pycharm for a while now and I haven't really run into any problems until now, I just started a new project using Pygame and I started up pycharm and found that I could no longer install pygame. I have used it before in pycharm and had no problem. When I try to use pip I get this error:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Alarm-1202\AppData\Local\Temp\pip-install-xdvgbolk\pygame\
I have tried installing it outside pycharm and that works fine but it seems I don't have the same permissions inside the pycharm venv.
I think the issue was caused by an older version of pip which I didn't manage to fix but I could install pygame using easy_install instead.
After opening pycharm terminal:
python -m pip install -U --force-reinstall pip
pip install your_package_name
5 and having no problems but I'm on windows 10 and I read online that I can't edit the system variables to add to the path to run programs from command line easily. I decided to uninstall python 3.5 and install python 3.8.2, which is the latest version, so that I could click on the “add to path” option.
The install went okays, but when I tried to go to the command prompt and install third party packages using pip, the command prompt kept saying "failed to create process"
I tried repairing the installations, trying different versions but the same thing kept happening.
Is there a fix for this? Help...
Thanks
C:\\WINDOWS\\system32>pip install pyperclip
failed to create process.
C:\\WINDOWS\\system32>
You will need to install the 64 bit python 3.8 dev module on the microsoft store, as the install from python webpage was most likely 32bit.
here is the link: https://www.microsoft.com/store/productId/9MSSZTT1N39L
C:\Users\Ben Woo>pip install pyperclip
Collecting pyperclip
Downloading https://files.pythonhosted.org/packages/f6/5b/55866e1cde0f86f5eec59dab5de8a66628cb0d53da74b8dbc15ad8dabda3/pyperclip-1.8.0.tar.gz
Installing collected packages: pyperclip
Running setup.py install for pyperclip ... done
Successfully installed pyperclip-1.8.0
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
C:\Users\Ben Woo>
I'm new to Python and have been trying to install Jupyter packages with pip.
My command line throws me this Exception
Command "python setup.py egg_info" failed with error code 1 in
C:\Users\TOSHIB~1\AppData\Local\Temp\pip-install-spdc68do\tornado\
Happens when I do pip install jupyter. How can I solve this?
I already did python -m pip install --upgrade pip and pip install --upgrade setuptools.
Looks like the root cause is that jupyter depends on tornado, but the tornado install is failing.
It could be a lib64 issue and pip install -U wheel might do the trick.
Could also just be down to tornado requiring a C/C++ compiler you don't have installed. Anaconda comes with jupyter notebook and has a simple windows installer, so that seems like the easiest path.
I am trying to install scikit-image library in python 3.4.4on windows. I am using the following command:
pip install scikit-image
I am installing it in the following path
C:\Python34\Scripts
It's not working showing the following error:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Usman\AppData\Local\Temp\pip-build-utv6_a2u\scikit-image\
I tried also installing it through the .whl file,, but still it's not working.
Pip version is
pip 9.0.1
Please tell me what should I do?
Try to run one of the following and than try to install again the requested library.
pip install --upgrade setuptools or easy_install -U setuptools
As setuptools contains a lot of important files including egg files, it can cause problems when it's not updated\installed.
Is there any way to install requests-kerberos on Windows?
When I try to install it with pip I have the following error:
py -m pip install requests-kerberos
ImportError: No module named 'commands'
Command "python setup.py egg_info" failed with error code 1 in C:\Users\user1\AppData\Local\Temp\pip-build-n8s_inn\kerberos
I would be grateful if anyone knew another kerberos module. I'm using Python 3.4 and Windows 8.
Best regards.
The commands module was deprecated in python 2.6.
Thus, the issue appears to be a problem with your pip installation, and not with requests-kerberos.
There are a few things you can try, but I would focus on ensuring pip is working correctly. While you could install the package manually, you are really just pushing the pip problem down the road until the next time you install a package.
Ensure pip is installed correctly.
Use the pip command to ensure you are running pip in the python 3.4 context: (Note, this is my output, yours will be different because you are on Windows and running 3.4)
$ pip --version
pip 1.5.6 from /Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg (python 2.7)
Additional information about pip can be found here.
Download and install manually
Download the package manually from the pypi repo.
Download the .tar.gz
Extract the tar.gz and run python setup.py install