I am trying to install MySQL-python on my ubuntu server. Have Python 2.7 installed. I tried: sudo pip install MySQL-python and I am getting the error:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-Eu0iVS/MySQL-python.
Has anyone come across this and knows how to go about fixing it? thanks
Related
I'm running python on vscode on Ubuntu and I'm trying to install some Python modules like skimage. However when I do
pip install skimages
I just get this:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-wF_NKE/decorator/
How can I work around this?
This means that your setuptools are out of date.
You can fix this by doing:
pip install --upgrade setuptools
I was getting the same error. I got around it by installing an older version decorator first.
pip install decorator==4.4.2
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
I am trying to install countvar package but I am always receiving the above error. I have updated my installation tools but I still receiving it.
Most of the times this is resolved by the following approach
python -m pip install --upgrade pip
pip install "package-name"
I am trying to install the module pysftp onto my Rapspberry Pi, but I get an error returned when
sudo pip install pysftp
is run.
This is the error I get:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-U1R0_9/pynacl
I have tried running pip install --upgrade setuptools but this does not fix the error.
My python version is 3.4.2, and my pip version is 9.0.1 (python 3.4) if that helps.
I hope I have provided enough information to be useful, I tried as much as I can but nothing seems to work.
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.