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
Help me pleeeeeeeeeeeeease :+1:
Hi, following link solved my problem
https://github.com/GoogleCloudPlatform/google-cloud-python/issues/3884
You should try pip install --upgrade setuptools.
sudo apt-get install python3.6-dev libmysqlclient-dev
This means that your setuptools are out of date.
You can fix this by doing: pip install --upgrade setuptools
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.
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
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/"
Did you try pip install 鈥攗pgrade setuptools ?
yes I did
ImportError: No module named _winreg
i have this problem,is that because i use python2.7? i saw someone said the module '_wiinreg' named 'winreg' in python3.
i failed work
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!
i tink matplotlib is not suported by python3 so try
sudo pip2 install neuralpy
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.)
I'm having the same problem with install pymongo on ubuntu
Same problem while attempting to install mysqlclient in a digital ocean droplet.
pip install progressbar33 worked in my case
For mac users, sudo pip install 鈥攗pgrade setuptools is worked. Thank you @Sanjay-B
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 鈥攗pgrade setuptools did not work for me.
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 "
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/
`
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
Try this.It solved my problem
sudo apt-get install libpcap-dev libpq-dev
You should try the following commends
First do this
sudo pip3 uninstall numpy
sudo pip3 uninstall scipy
Then
sudo apt-get install python3.5-dev libmysqlclient-dev
sudo apt-get install python3-numpy
It should works
Hello, pip install --upgrade setuptools works for me!
good
Exception:
Traceback (most recent call last):
File "c:python27\lib\site-packages\pip_internal\basecommand.py", line 141, in main
status = self.run(options, args)
File "c:python27\lib\site-packages\pip_internal\commands\install.py", line 391, in run
wheel_cache.cleanup()
File "c:python27\lib\site-packages\pip_internal\utils\temp_dir.py", line 58, in __exit__
self.cleanup()
File "c:python27\lib\site-packages\pip_internal\utils\temp_dir.py", line 81, in cleanup
rmtree(self.path)
File "c:python27\lib\site-packages\pip_vendor\retrying.py", line 49, in wrapped_f
return Retrying(dargs, *dkw).call(f, args, *kw)
File "c:python27\lib\site-packages\pip_vendor\retrying.py", line 212, in call
raise attempt.get()
File "c:python27\lib\site-packages\pip_vendor\retrying.py", line 247, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File "c:python27\lib\site-packages\pip_vendor\retrying.py", line 200, in call
attempt = Attempt(fn(args, *kwargs), attempt_number, False)
File "c:python27\lib\site-packages\pip_internal\utils\misc.py", line 111, in rmtree
onerror=rmtree_errorhandler)
File "c:python27\lib\shutil.py", line 261, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:python27\lib\shutil.py", line 261, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:python27\lib\shutil.py", line 266, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "c:python27\lib\site-packages\pip_internal\utils\misc.py", line 119, in rmtree_errorhandler
if os.stat(path).st_mode & stat.S_IREAD:
WindowsError: [Error 5] Access is denied: 'c:\users\proadmin\appdata\local\temp\pip-install-94pot8
\setuptools\setuptools\cli-32.exe'
i get this error ???
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/08/n4ks_ytx2kggqpp88k9p23bw0000gn/T/pip-install-Ihs9Fg/aiohttp/
i've tried everything nothing is working for me im trying to do pip install discord.py nothing is working i'm quite desperate someone please help
run the following commands to successfully install it!
pip install --no-cache-dir Package_Name
@rpranshu
i did pip install --no-cache-dir discord.pyand tried it a few times but im still getting Command "python setup.py egg_info" failed with error code 1 in something something something?
can you please try to help
Thanks
``
Collecting nltk==2.0.5 (from newspaper)
Downloading https://files.pythonhosted.org/packages/50/9e/39418026bf8013bbc2852c7aec3fb21e4339f6cd694934496d67a19b53b8/nltk-2.0.5.tar.gz (954kB)
100% |鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 962kB 1.5MB/s
Complete output from command python setup.py egg_info:
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz
Traceback (most recent call last):
File "
File "/tmp/pip-install-VbNXDq/nltk/setup.py", line 23, in
distribute_setup.use_setuptools()
File "distribute_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "distribute_setup.py", line 124, in _do_download
to_dir, download_delay)
File "distribute_setup.py", line 193, in download_setuptools
src = urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: SSL is required
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-VbNXDq/nltk/
why I use pip instll newspaper ,it install nltk==2.0.5 (from newspaper) ,nor the lastest?
brew install mysql
brew install mysqlclient
pip install neuralpy
brew install myql
ERROR: unknown command "brew"
@sirajalam049
pip brew install myql
ERROR: unknown command "brew"
i tried pip too nothing is working
brew command is for mac users. Which OS are you using?
@sirajalam049 Thank you! It worked for me !
++Edit: Solved == I discovered I was missing a pre-requisite (PyGame) and that there was a specific note regarding Windows and latest version of GASP. Sorry if this doen't help others, but check you have pre-requisites installed because this error doesn't make that clear
I am getting a similar error for Gasp 0.4.5 install on Win7.
Command "python setup.py egg_info" failed with error code 1 in C:\Users*\App
Data\Local\Temp\pip-install-q7skuluu\gasp\
Upgraded pip, wheel and setuptools:
Successfully installed pip-18.0 setuptools-40.2.0 wheel-0.31.1
I tried downgrading setuptools to 34.3.0 as mentioned by AlbertWigmore & MarSoft above using:
python -m pip install setuptools==34.3.0 --user
and I got:
Successfully installed appdirs-1.4.3 packaging-17.1 pyparsing-2.2.0 setuptools-3
4.3.0 six-1.11.0
I am using:
C:\Program Files (x86)\Python37-32\Scripts>pip install gasp --user
I have tried using pip3 and pip3.7, I have tried running cmd as admin and I have tried --user and --no-cache-dir with and without --user as well
Any thoughts appreciated, I am pretty new to coding, python, etc. so it might have to be in pretty simple terms :)
@sirajalam049 Im Using Mac OS, I don't know whats wrong.
@Frocolate , run the following command to install brew. And then follow my above instructions
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install myql
Error: No available formula with the name "myql"
Error: No formulae found in taps
Not working at all
:-\
@sirajalam049
I am really very sorry, I have typed it wrong, it should be mysql NOT myql. I have edited my comment above. Try again
brew install mysql
brew install mysqliclient
pip install neuralpy
it works (brew install mysql) but after that it comes up with a bunch of errors :-\ @sirajalam049
as in brew install mysqliclient
pip install neuralpy
dont work
brew install mysqliclient
Error: No available formula with the name "mysqliclient"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
OK, now try mysqlclient rather than the mysqliclient
brew install mysqlclient
i've also done git -C "$(brew --repo homebrew/core)" fetch --unshallow @sirajalam049 but this comes up
git -C "$(brew --repo homebrew/core)" fetch --unshallow
remote: Counting objects: 518782, done.
remote: Compressing objects: 100% (189133/189133), done.
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
brew install mysqlclient
Updating Homebrew...
Error: No available formula with the name "mysqlclient"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
This similarly named formula was found:
mysql-client
To install it, run:
brew install mysql-client
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
@sirajalam049
Hi
I try to install the package neuralpy in Python2.7 using this command in terminalpip 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
I found that /tmp/pip-build-Cvn5GA/instagram-py/ is missing
Its not a folder on my pc
Can anyone help me with this issue
sudo apt-get install libpcap-dev libpq-dev
Didn't work
I found that /tmp/pip-build-Cvn5GA/instagram-py/ is missing
Its not a folder on my pc
Can anyone help me with this issue
@leka45 read up for what @sirajalam049 has posted some stuff might help
https://pypi.org/project/mysqlclient/
vim /usr/local/bin/mysql_config
libs="-L$pkglibdir"
libs="$libs -lmysqlclient -lssl -lcrypto"
libs="-L$pkglibdir"
libs="$libs -lmysqlclient -lssl -lcrypto"
it's ok!
Just try,
apt-get install libmysqlclient-dev
then run,
pip install mysqlclient
it will work!!
yum install mysql mysql-devel mysql-lib
This solved the issue for me on Centos7, python3.6, within virtual environment
@yujintang i dont understand what you mean by that.
In order to connect to mysql from python (mine 3.7) (import mysql.connector), I used 'pip install mysql-connector-python'. Worked for me
Try installing matplotlib through apt-get rather than pip.
@Frocolate brew install mysql-client worked for me
Hi I am facing the same problem while installing BaseMap in windows.

please tell me what the possible solution for this. I am in administrator mode
try using this version of Python 2.7.15 it should solve most of the issue. since most of the frameworks support till Python 2.7.15 not Python 3.7. just make a try
I just found the solution, I just needed to check the supporting versions for my pip after that I just used the supported .whl file and boom it started working.
thanks again for the reply @rsaravanan19
try this pip --version and i guess you will get the pip version if i have understood your question
python -m pip install --upgrade pip setuptools wheel
everything works!!
Running setup.py install for greenlet ... error
Complete output from command c:\users\mocktime.com\appdata\local\programspythonpython37python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\mocktime.com\AppData\Local\Temp\pip-install-x7rsvehg\greenlet\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\mocktime.com\AppData\Local\Temp\pip-record-zrrmkkgb\install-record.txt --single-version-externally-managed --compile --home=C:\Users\mocktime.com\AppData\Local\Temp\pip-target-w7f41cqh:
running install
running build
running build_ext
building 'greenlet' extension
creating build
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\mocktime.com\appdata\local\programspythonpython37\include -Ic:\users\mocktime.com\appdata\local\programspythonpython37\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\cppwinrt" /Tcgreenlet.c /Fobuild\temp.win-amd64-3.7\Release\greenlet.obj
greenlet.c
greenlet.c(463): error C2039: 'exc_type': is not a member of '_ts'
c:\users\mocktime.com\appdata\local\programspythonpython37\include\pystate.h(212): note: see declaration of '_ts'
greenlet.c(464): error C2039: 'exc_value': is not a member of '_ts'
c:\users\mocktime.com\appdata\local\programspythonpython37\include\pystate.h(212): note: see declaration of '_ts'
greenlet.c(465): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\mocktime.com\appdata\local\programspythonpython37\include\pystate.h(212): note: see declaration of '_ts'
greenlet.c(485): error C2039: 'exc_type': is not a member of '_ts'
c:\users\mocktime.com\appdata\local\programspythonpython37\include\pystate.h(212): note: see declaration of '_ts'
greenlet.c(487): error C2039: 'exc_value': is not a member of '_ts'
c:\users\mocktime.com\appdata\local\programspythonpython37\include\pystate.h(212): note: see declaration of '_ts'
greenlet.c(489): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\mocktime.com\appdata\local\programspythonpython37\include\pystate.h(212): note: see declaration of '_ts'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\bin\HostX86\x64\cl.exe' failed with exit status 2
----------------------------------------
Command "c:\users\mocktime.com\appdata\local\programspythonpython37python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\mocktime.com\AppData\Local\Temp\pip-install-x7rsvehg\greenlet\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\mocktime.com\AppData\Local\Temp\pip-record-zrrmkkgb\install-record.txt --single-version-externally-managed --compile --home=C:\Users\mocktime.com\AppData\Local\Temp\pip-target-w7f41cqh" failed with error code 1 in C:\Users\mocktime.com\AppData\Local\Temp\pip-install-x7rsvehg\greenlet\
C:\calibre-web-master>
sudo apt-get install python3.6-dev libmysqlclient-dev
I love you
Hi, following link solved my problem
googleapis/google-cloud-python#3884
You should try pip install --upgrade setuptools.
thanks @tomrisberil
this command install pip and also clear the error
pip install --upgrade setuptools --user python
you can also use this command to upgrade to the latest version of pip
python -m pip install --upgrade pip
Just try,
apt-get install libmysqlclient-dev
then run,
pip install mysqlclient
it will work!!
This worked for me, thanks :) - I also did pip install --upgrade setuptools --user python but I believe it was the libmysqlclient-dev that did the trick.
This also happened to me when I use python 2.7 to install some package depending on matplotlib.
For me, install matplotlib first solved this.
pip install matplotlib==2.2
Use the Pyenv will solve the problem. https://github.com/pyenv/pyenv
In my case, I had the same problem. I customized the requirements file. There was an older version in there, although I had installed a newer version of matplotlib. After removing the version from the requirements.txt file, everything worked fine. I hope this could help someone.
In my case, I had the same problem. I customized the requirements file. There was an older version in there, although I had installed a newer version of matplotlib. After removing the version from the requirements.txt file, everything worked fine. I hope this could help someone.
I am a starter facing this problem when installing matplotlib. All the other suggestions above do not work. Could you please explain your method in further detail? Thanks!
sudo apt-get install python3.6-dev libmysqlclient-dev
Thanks @Khotso-t, it's worked for me.
I just run
$ sudo apt-get install libmysqlclient-dev
and then
(flask)$ pip install flask_mysqldb==0.2.0
SO:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
venv:
Click==7.0
Flask==0.12.2
Flask-MySQLdb==0.2.0
itsdangerous==1.1.0
Jinja2==2.10
MarkupSafe==1.1.0
mysqlclient==1.3.14
pkg-resources==0.0.0
Werkzeug==0.14.1
Just try,
apt-get install libmysqlclient-dev
then run,
pip install mysqlclient
it will work!!
Thanks man, solved my problem.
Try the following
pip install --ignore-installed --no-cache-dir package-name
you need these libraries to be installed >>
sudo apt-get install python3 python-dev python3-dev \
build-essential libssl-dev libffi-dev \
libxml2-dev libxslt1-dev zlib1g-dev \
python-pip
python -m pip install --upgrade pip setuptools wheel
this suggestion breaks pip on Ubuntu 18.0.1LTS
python -m pip install --upgrade pip setuptools wheel
this suggestion breaks pip on Ubuntu 18.0.1LTS
If you broke your pip3 like I did with this suggestion, fix with the following:
sudo python3 -m pip uninstall pip && sudo apt install python3-pip --reinstall
Install python-mysql connector first and you are good to go.
mySQLdb is a python interface for mysql, but it is not mysql itself. And apparently mySQLdb needs the command 'mysql_config', so you need to install that first.
Can you confirm that you did or did not install mysql itself, by running "mysql" from the shell? That should give you a response other than "mysql: command not found".
Which linux distribution are you using? Mysql is pre-packaged for most linux distributions. For example, for debian / ubuntu, installing mysql is as easy as
sudo apt-get install mysql-server
mysql-config is in a different package, which can be installed from (again, assuming debian / ubuntu):
sudo apt-get install libmysqlclient-dev
if you are using mariadb, the drop in replacement for mysql, then run
sudo apt-get install libmariadbclient-dev
how do i solve this error help to solve

I have this issue every time I try installing zip. How can I fix it?
[I've already tried upgrading setuptools and pip, still doesn't work)
for me, upgrading pip worked.
pip install --upgrade pip
then install the desired library.
Upgraded pip still not working (I'm using pyhton 2.7.12 and pip 19.0.3 ).
it`s amazing, so cool
My problems was related to permissions. My setuptools was installed using sudo. The following helped
sudo pip uninstall setuptools
pip install setuptools
Then installation worked just fine
None of the above solutions worked for me, until I found one of the solutions suggested here:
The command is simply as follows:
sudo apt-get install python3-setuptools
@thomasernste solution was what made it work for me :)
The issue I had was related to /bin/sh: 1: mysql_config: not found
To fix that on a Debian base system I ran sudo apt install libmariadbclient-dev-compat
Hope that can help others :)
confusing thread with so many different answer/solution to the problem!
Maybe you can try :
ubuntu: apt-get install -y libkrb5-dev krb5-doc
centos: yum install -y krb5-devel
please help
'pip install git+git://github.com/gunthercox/chatterbot-corpus@master'
Command "python setup.py egg_info" failed with error code 1 in C:\Users\PRINZCHUKZ\AppData\Local\Temp\pip-req-build-jm4uoru6\
Use pip3 instead of pip....It worked for me.
pip3 install neuralpy
After all these steps.
you can tryout this : https://pypi.org/project/mysqlclient/
You guys can also check it out. as suggested by the mysqlclient git repo.
which mysql_config
/usr/local/bin/mysql_config
vim /usr/local/bin/mysql_config
go to 112 line number or find libs="$libs -l "
and replace it with this or comment the old one
libs="$libs -lmysqlclient -lssl -lcrypto"
Then tryout the
pip install mysqlclient
For Centos (7), use
yum install mariadb-devel solves the problem.
To check which library contains this command? -> use yum provides mysql_config.
sudo apt install libcurl4-openssl-dev libssl-dev
SOLVES THIS PROBLEM
run
sudo python3 -m pip install --upgrade pip
sudo python3 -m pip install --upgrade setuptools
is consolved with me
On debian these additional packages resolved same issue for me:
apt install libmysqlclient-dev python-mysqldbseems almost same as @Khotso-t solution
I took it from here:
https://github.com/micheloosterhof/cowrie/blob/master/doc/sql/README.md
That solved my problem!! Thank you very much!
i have the same problem when i try install wirtualenvwrapper
ERROR: Complete output from command python setup.py egg_info:
ERROR: Download error on https://pypi.org/simple/pbr/: [X509] no certificate or crl found (_ssl.c:3728) -- Some packages may not be found!
Couldn't find index page for 'pbr' (maybe misspelled?)
Download error on https://pypi.org/simple/: [X509] no certificate or crl found (_ssl.c:3728) -- Some packages may not be found!
No local packages or working download links found for pbr
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-2s94zqvk/virtualenvwrapper/setup.py", line 7, in <module>
pbr=True,
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 144, in setup
_install_setup_requires(attrs)
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/local/lib/python3.6/dist-packages/setuptools/dist.py", line 717, in fetch_build_eggs
replace_conflicting=True,
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 782, in resolve
replace_conflicting=replace_conflicting
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 1065, in best_match
return self.obtain(req, installer)
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 1077, in obtain
return installer(requirement)
File "/usr/local/lib/python3.6/dist-packages/setuptools/dist.py", line 784, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 673, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr')
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-2s94zqvk/virtualenvwrapper/
SYSTEM: WSL
root@LTKAZ-NM1002:/# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
root@LTKAZ-NM1002:/# pip -V
pip 19.1.1 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)
md5-20faf9f194e5824f69cbe2472051e70d
root@LTKAZ-NM1002:/# python -V
Python 3.6.8
md5-20faf9f194e5824f69cbe2472051e70d
root@LTKAZ-NM1002:/# sudo pip install setuptools
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/dist-packages (41.0.1)
like you see last version of pip and setuptools. but i still have:
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-2s94zqvk/virtualenvwrapper/
Try this.It solved my problem
sudo apt-get install libpcap-dev libpq-dev
Thanks ..this solved it for me :)
sudo apt-get install python3.6-dev libmysqlclient-dev
doesn't work for python 3.7.
ERROR: Could not find a version that satisfies the requirement python3.7.3-dev (from versions: none)
ERROR: No matching distribution found for python3.7.3-dev
Try this.It solved my problem
sudo apt-get install libpcap-dev libpq-dev
solved my prooblem too
In my case the error was due outdated pip version so I run pip3 install --upgrade pip and solved my problem
I have a problem when installing pybloom.
Collecting pybloom
Downloading https://files.pythonhosted.org/packages/1a/82/a1ad015bdc19bd7e10aa97070329b84b5e01c0c6b5de88df664a98413eed/pybloom-1.1.tar.gz
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-oygjgi1z/pybloom/setup.py", line 2, in <module>
from ez_setup import use_setuptools
File "/tmp/pip-install-oygjgi1z/pybloom/ez_setup.py", line 98
except pkg_resources.VersionConflict, e:
^
SyntaxError: invalid syntax
----------------------------------------
**ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-oygjgi1z/pybloom/**
Is there any way to solve?
Ubuntu 18.04:
sudo pip3 install setuptools
To install fbprophet on AWS Sagemaker Jupyter Notebook:
!conda install -c plotly plotly==3.10.0 --yes
!conda install -c conda-forge fbprophet --yes
from fbprophet import Prophet
Prophet()
Use pip3 instead of pip....It worked for me.
pip3 install neuralpy
This worked for me in Ubuntu 16.04
Salut les amis ce lien 脿 march茅 chez moi
https://stackoverflow.com/questions/49862527/command-python-setup-py-egg-info-failed-with-error-code-1-in-tmp-pip-install
for me, upgrading pip worked.
pip install --upgrade pipthen install the desired library.
thanks, brother, it works for me
You are missing the devel packages. Please post the complete error.
for all pip3 install setuptools might help
The issue I had was related to
/bin/sh: 1: mysql_config: not foundTo fix that on a Debian base system I ran
sudo apt install libmariadbclient-dev-compatHope that can help others :)
This worked for me !!
Try this.
In my case pip install --upgrade setuptools worked, and then i install spaCy.
Thank you
Hi, following link solved my problem
googleapis/google-cloud-python#3884
You should try pip install --upgrade setuptools.
grateful, solved !!
In my case i tried to install pattern and I did not have installed mysql-server, this commands worked for me.
sudo apt-get install mysql-server
sudo apt-get install libmysqlclient-dev
sudo apt install libcurl4-openssl-dev libssl-dev
SOLVES THIS PROBLEM
worked for me! thanks
for me, upgrading pip worked.
pip install --upgrade pip
then install the desired library.thanks, brother, it works for me
Worked for me too.
sudo python -m pip install --upgrade --force pip
sudo pip install setuptools==33.1.1
I tried several of the suggestions above - on my Debian 10 vbox the solution was as follows from terminal:
apt install libmariadb-dev-compat libmariadb-dev
Afterwards, I was able to run "pip install mysqlclient" without issue.
You should try the following commends
First do thissudo pip3 uninstall numpy sudo pip3 uninstall scipyThen
sudo apt-get install python3.5-dev libmysqlclient-dev
sudo apt-get install python3-numpy
It should works
Thanks a lot! Worked for me. I tried to install numpy on RHEL with pip -- did not work. Then I did what you said but for python 2 (directly without pip) -- and OK now.
shell command: sudo yum install python2-numpy
My error looked like this:
``` Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "
File "/tmp/pip-build-htcsrjjg/cynetworkx/setup.py", line 18, in
from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-htcsrjjg/cynetworkx/
```
Can be fixed with pip install Cython.
My error looked like this:
Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-htcsrjjg/cynetworkx/setup.py", line 18, in <module> from Cython.Build import cythonize ModuleNotFoundError: No module named 'Cython' ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-htcsrjjg/cynetworkx/Can be fixed with
pip install Cython.
Thank you, this worked for me
run
sudo python3 -m pip install --upgrade pip
sudo python3 -m pip install --upgrade setuptools
is consolved with me
It helped in my case, thanks a lot man!
In my case the error was due outdated pip version so I run
pip3 install --upgrade pipand solved my problem
thanks a lot , it worked in my case
sudo apt-get install python3.6-dev libmysqlclient-dev
does this work pls neep it!!!!
pip3 install --upgrade pip
pip install --upgrade pip
Ubuntu 18:
Error:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-21n4nz0j/grpcio/
Fix:
pip install --upgrade setuptools
pip install --upgrade pip
Ubuntu 18:
Error:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-21n4nz0j/grpcio/Fix:
pip install --upgrade setuptools
pip install --upgrade pip
Thank you, you're awesome.
sudo python3 -m pip install -U pip
sudo python3 -m pip install -U setuptools
i use this solved it
I tried most of the above-mentioned solutions but non of them worked. I resolved this after upgrading my pip using the below command.
pip3 install --upgrade pip
python3 -m pip install jupyter
if you want to install jupyter.
Most helpful comment
Hi, following link solved my problem
https://github.com/GoogleCloudPlatform/google-cloud-python/issues/3884
You should try pip install --upgrade setuptools.