prophet icon indicating copy to clipboard operation
prophet copied to clipboard

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-BqMhb7/matplotlib/

Open gith77 opened this issue 8 years ago • 159 comments

Hi I try to install the package neuralpy in Python2.7 using this command in terminal

pip install neuralpy

And I got this error message

python setup.py egg_info" failed with error code 1 in /tmp/pip-build-BqMhb7/matplotlib/

Help me pleeeeeeeeeeeeease :+1:

gith77 avatar Jan 17 '18 01:01 gith77

Hi, following link solved my problem

https://github.com/GoogleCloudPlatform/google-cloud-python/issues/3884

You should try pip install --upgrade setuptools.

tomrisberil avatar Jan 19 '18 07:01 tomrisberil

sudo apt-get install python3.6-dev libmysqlclient-dev

ghost avatar Jan 19 '18 21:01 ghost

This means that your setuptools are out of date. You can fix this by doing: pip install --upgrade setuptools

sbhadr avatar Jan 19 '18 22:01 sbhadr

I hope this was successful and thanks everyone for helping out, but I'm going to close this issue since it isn't related to this package.

bletham avatar Jan 23 '18 01:01 bletham

I had the same issue with django 2.0, so pip3 instead of pip, the problem may seem that using python 2.7 is impossible hence using python3 instead as typing pip3 install --upgrade setuptools then pip3 install neuralpy hopefully this help

xoxruns avatar Jan 26 '18 11:01 xoxruns

I am having same issue but after running this command (pip3 install neuralpy) , i get the error message "Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/y4/xznzf1fx6q53dqfh71_0lxfm0000gn/T/pip-build-2jgclo3u/neuralpy/"

slowDee avatar Jan 27 '18 12:01 slowDee

Did you try pip install —upgrade setuptools ?

sbhadr avatar Jan 27 '18 14:01 sbhadr

yes I did

slowDee avatar Jan 27 '18 19:01 slowDee

ImportError: No module named _winreg

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-gGlnv2/pypiwin32/

i have this problem,is that because i use python2.7? i saw someone said the module '_wiinreg' named 'winreg' in python3.

NICK-DUAN avatar Feb 09 '18 01:02 NICK-DUAN

i failed work

Mutegeki avatar Feb 12 '18 14:02 Mutegeki

For all those people who are facing issues:

write the following pip install --upgrade setuptools --user python

Using the --user python flag will resolve the error in --upgrade flag and then you can resolve the main error too!

rpranshu avatar Feb 16 '18 13:02 rpranshu

i tink matplotlib is not suported by python3 so try sudo pip2 install neuralpy

elgoub avatar Feb 18 '18 23:02 elgoub

I was having a similar problem in Windows, and it was a permissions issue. Since you cannot sudo, the way I found around it was to find my Python folder, right-click then manually edit the permissions in Properties, or open a cmd as an Administrator. (That is a right-click option.)

alisb0a avatar Feb 22 '18 19:02 alisb0a

I'm having the same problem with install pymongo on ubuntu

lancekrogers avatar Apr 19 '18 17:04 lancekrogers

Same problem while attempting to install mysqlclient in a digital ocean droplet.

brandonssmith avatar Apr 19 '18 20:04 brandonssmith

pip install progressbar33 worked in my case

quelibrio avatar Apr 26 '18 13:04 quelibrio

For mac users, sudo pip install —upgrade setuptools is worked. Thank you @Sanjay-B

ozkalt avatar Jun 09 '18 09:06 ozkalt

I get this error: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3_mzp9vn/mysqlclient/ when I: pip3 install flask-mysqldb

pip install —upgrade setuptools did not work for me.

ghost avatar Jun 12 '18 06:06 ghost

i get this error: `Collecting mysqlclient Using cached https://files.pythonhosted.org/packages/6f/86/bad31f1c1bb0cc99e88ca2adb7cb5c71f7a6540c1bb001480513de76a931/mysqlclient-1.3.12.tar.gz Complete output from command python setup.py egg_info: /bin/sh: 1: mysql_config: not found Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-30vjp6u3/mysqlclient/setup.py", line 17, in metadata, options = get_config() File "/tmp/pip-build-30vjp6u3/mysqlclient/setup_posix.py", line 44, in get_config libs = mysql_config("libs_r") File "/tmp/pip-build-30vjp6u3/mysqlclient/setup_posix.py", line 26, in mysql_config raise EnvironmentError("%s not found" % (mysql_config.path,)) OSError: mysql_config not found

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-30vjp6u3/mysqlclient/ `

ghost avatar Jun 13 '18 01:06 ghost

On debian these additional packages resolved same issue for me: apt install libmysqlclient-dev python-mysqldb

seems almost same as @Khotso-t solution I took it from here: https://github.com/micheloosterhof/cowrie/blob/master/doc/sql/README.md

valdekm avatar Jun 21 '18 15:06 valdekm