Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lPLcCp/protobuf-to-dict/
Relevant info: os : raspbian python 2.7.9 pip 8.1.2 virtualenv 15.0.3
(PokemonGo-Bot) root@unamedDevice:/home/k0sh/pokemon/PokemonGo-Bot# apt-get install python-protobuf Reading package lists... Done Building dependency tree Reading state information... Done python-protobuf is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. (PokemonGo-Bot) root@unamedDevice:/home/k0sh/pokemon/PokemonGo-Bot# pip install -r requirements.txt Collecting numpy==1.11.0 (from -r requirements.txt (line 1)) Using cached numpy-1.11.0.tar.gz Collecting networkx==1.11 (from -r requirements.txt (line 2)) Using cached networkx-1.11-py2.py3-none-any.whl Obtaining pgoapi from git+https://github.com/keyphact/pgoapi.git@249d3be7fbbdabc7f9adea17cbc899d6549e47a2#egg=pgoapi (from -r requirements.txt (line 3)) Skipping because already up-to-date. Collecting geopy==1.11.0 (from -r requirements.txt (line 4)) Using cached geopy-1.11.0-py2.py3-none-any.whl Collecting protobuf==3.0.0b4 (from -r requirements.txt (line 5)) Using cached protobuf-3.0.0b4-py2.py3-none-any.whl Collecting requests==2.10.0 (from -r requirements.txt (line 6)) Using cached requests-2.10.0-py2.py3-none-any.whl Collecting s2sphere==0.2.4 (from -r requirements.txt (line 7)) Using cached s2sphere-0.2.4-py2.py3-none-any.whl Collecting gpsoauth==0.3.0 (from -r requirements.txt (line 8)) Using cached gpsoauth-0.3.0.tar.gz Collecting protobuf-to-dict==0.1.0 (from -r requirements.txt (line 9)) Using cached protobuf-to-dict-0.1.0.tar.gz Complete output from command python setup.py egg_info:
Installed /tmp/pip-build-lPLcCp/protobuf-to-dict/.eggs/nosexcover-1.0.10-py2.7.egg
Searching for coverage
Reading https://pypi.python.org/simple/coverage/
Download error on https://pypi.python.org/simple/coverage/: [Errno 104] Connection reset by peer -- Some packages may not be found!
Couldn't find index page for 'coverage' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno 104] Connection reset by peer -- Some packages may not be found!
No local packages or working download links found for coverage
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-lPLcCp/protobuf-to-dict/setup.py", line 25, in <module>
'Topic :: Software Development :: Libraries :: Python Modules',
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/home/k0sh/pokemon/PokemonGo-Bot/local/lib/python2.7/site-packages/setuptools/dist.py", line 348, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/home/k0sh/pokemon/PokemonGo-Bot/local/lib/python2.7/site-packages/setuptools/dist.py", line 394, in fetch_build_eggs
replace_conflicting=True,
File "/home/k0sh/pokemon/PokemonGo-Bot/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 826, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/k0sh/pokemon/PokemonGo-Bot/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1098, in best_match
return self.obtain(req, installer)
File "/home/k0sh/pokemon/PokemonGo-Bot/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1110, in obtain
return installer(requirement)
File "/home/k0sh/pokemon/PokemonGo-Bot/local/lib/python2.7/site-packages/setuptools/dist.py", line 461, in fetch_build_egg
return cmd.easy_install(req)
File "/home/k0sh/pokemon/PokemonGo-Bot/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 658, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('coverage')
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lPLcCp/protobuf-to-dict/
Download error on https://pypi.python.org/simple/coverage/: [Errno 104] Connection reset by peer -- Some packages may not be found!
Download error on https://pypi.python.org/simple/: [Errno 104] Connection reset by peer -- Some packages may not be found!
No local packages or working download links found for coverage
Doesn't that mean that it couldn't connect to any of the links above, thus couldn't download the necessary files?
It means but the thing is that I can access the links.
Relevant info: os : mac os 10.11.5 python Python 2.7.10 pip 8.1.2 virtualenv 15.0.3
`Long-Nalou:PokemonGo-Bot LongNguyen$ clear
Long-Nalou:PokemonGo-Bot LongNguyen$ sudo -H pip install -r requirements.txt Collecting numpy==1.11.0 (from -r requirements.txt (line 1)) Using cached numpy-1.11.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl Collecting networkx==1.11 (from -r requirements.txt (line 2)) Using cached networkx-1.11-py2.py3-none-any.whl Obtaining pgoapi from git+https://github.com/keyphact/pgoapi.git@249d3be7fbbdabc7f9adea17cbc899d6549e47a2#egg=pgoapi (from -r requirements.txt (line 3)) Skipping because already up-to-date. Collecting geopy==1.11.0 (from -r requirements.txt (line 4)) Using cached geopy-1.11.0-py2.py3-none-any.whl Collecting protobuf==3.0.0b4 (from -r requirements.txt (line 5)) Using cached protobuf-3.0.0b4-py2.py3-none-any.whl Collecting requests==2.10.0 (from -r requirements.txt (line 6)) Using cached requests-2.10.0-py2.py3-none-any.whl Collecting s2sphere==0.2.4 (from -r requirements.txt (line 7)) Using cached s2sphere-0.2.4-py2.py3-none-any.whl Collecting gpsoauth==0.3.0 (from -r requirements.txt (line 8)) Using cached gpsoauth-0.3.0.tar.gz Collecting protobuf-to-dict==0.1.0 (from -r requirements.txt (line 9)) Using cached protobuf-to-dict-0.1.0.tar.gz Complete output from command python setup.py egg_info:
Installed /private/tmp/pip-build-Yhf6SS/protobuf-to-dict/nosexcover-1.0.10-py2.7.egg
Searching for coverage
Reading https://pypi.python.org/simple/coverage/
Best match: coverage 4.2
Downloading https://pypi.python.org/packages/f5/47/2e39972c41eb988d551bb2da25c4ee16ea78492ec1b6ffdf09f50cd09b92/coverage-4.2.zip#md5=9841c9e1ddc862144fda3fd7e5ba5106
Processing coverage-4.2.zip
Writing /tmp/easy_install-Q9IfQD/coverage-4.2/setup.cfg
Running coverage-4.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Q9IfQD/coverage-4.2/egg-dist-tmp-KCz6cF
warning: no previously-included files found matching 'ci/appveyor.token'
no previously-included directories found matching 'doc/_build'
no previously-included directories found matching 'tests/eggsrc/build'
no previously-included directories found matching 'tests/eggsrc/dist'
no previously-included directories found matching 'tests/eggsrc/*.egg-info'
warning: no previously-included files matching '*.py[co]' found anywhere in distribution
Installed /private/tmp/pip-build-Yhf6SS/protobuf-to-dict/coverage-4.2-py2.7-macosx-10.11-intel.egg
Searching for nose>=1.0
Reading https://pypi.python.org/simple/nose/
Best match: nose 1.3.7
Downloading https://pypi.python.org/packages/58/a5/0dc93c3ec33f4e281849523a5a913fa1eea9a3068acfa754d44d88107a44/nose-1.3.7.tar.gz#md5=4d3ad0ff07b61373d2cefc89c5d0b20b
Processing nose-1.3.7.tar.gz
Writing /tmp/easy_install-MvI8DS/nose-1.3.7/setup.cfg
Running nose-1.3.7/setup.py -q bdist_egg --dist-dir /tmp/easy_install-MvI8DS/nose-1.3.7/egg-dist-tmp-dKj45m
no previously-included directories found matching 'doc/.build'
Installed /private/tmp/pip-build-Yhf6SS/protobuf-to-dict/nose-1.3.7-py2.7.egg
Searching for protobuf>=2.3.0
Reading https://pypi.python.org/simple/protobuf/
Best match: protobuf 3.0.0
Downloading https://pypi.python.org/packages/e7/ff/df198f342f1b6e71be00a4601973297c0399f112327e8d5e48595ba95fe9/protobuf-3.0.0-py2.7.egg#md5=a2aa47b202784121a3d8ea17daee5e25
Processing protobuf-3.0.0-py2.7.egg
creating /private/tmp/pip-build-Yhf6SS/protobuf-to-dict/protobuf-3.0.0-py2.7.egg
Extracting protobuf-3.0.0-py2.7.egg to /private/tmp/pip-build-Yhf6SS/protobuf-to-dict
Installed /private/tmp/pip-build-Yhf6SS/protobuf-to-dict/protobuf-3.0.0-py2.7.egg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/tmp/pip-build-Yhf6SS/protobuf-to-dict/setup.py", line 25, in <module>
'Topic :: Software Development :: Libraries :: Python Modules',
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py", line 239, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py", line 263, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 580, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (six 1.4.1 (/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python), Requirement.parse('six>=1.9'))
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-Yhf6SS/protobuf-to-dict/`
I have the same issue. Pleas help me
pip install --upgrade six
protobuf_dict has a conflict with the package "six": https://github.com/benhodgson/protobuf-to-dict/issues/12
sudo pip uninstall six, and I could successfully install from there.
This helped here too, tks