Skip to content

Instantly share code, notes, and snippets.

@mhils
Last active February 4, 2016 22:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhils/d97ca425c33df644722f to your computer and use it in GitHub Desktop.
Save mhils/d97ca425c33df644722f to your computer and use it in GitHub Desktop.
λ ssh root@46.101.176.102
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.13.0-71-generic i686)
root@ubuntu-512mb-fra1-01:~# sudo apt-get install python-pip
root@ubuntu-512mb-fra1-01:~# pip install h2
Downloading/unpacking h2
Downloading h2-2.1.0.tar.gz (49Kb): 49Kb downloaded
Running setup.py egg_info for package h2
error in h2 setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
Complete output from command python setup.py egg_info:
error in h2 setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /root/.pip/pip.log
λ ssh root@46.101.176.102
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-71-generic x86_64)
root@ubuntu-512mb-fra1-01:~# sudo apt-get install python-pip
root@ubuntu-512mb-fra1-01:~# pip install h2
Downloading/unpacking h2
Downloading h2-2.1.0-py2.py3-none-any.whl
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1266, in prepare_files
req_to_install.extras):
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2291, in requires
dm = self._dep_map
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2484, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2508, in _compute_dependencies
parsed = next(parse_requirements(distvers))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 45, in <lambda>
next = lambda o: o.next()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2605, in parse_requirements
line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2573, in scan_list
raise ValueError("Expected "+item_name+" in",line,"at",line[p:])
ValueError: ('Expected version spec in', 'hyperframe ~=3.1', 'at', ' ~=3.1')
Storing debug log for failure in /root/.pip/pip.log
root@ubuntu-512mb-fra1-01:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment