homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pip 6.0.6- pip install command is broken
Type: crash Stage:
Components: Distutils Versions: Python 3.4
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: dstufft, eric.araujo, gabx
Priority: normal Keywords:

Created on 2015年01月14日 12:04 by gabx, last changed 2022年04月11日 14:58 by admin. This issue is now closed.

Messages (2)
msg234021 - (view) Author: arnaud gaboury (gabx) Date: 2015年01月14日 12:04
gabx@hortensia ➤➤ ~ % pip3.4 install websocket-client
Exception:
Traceback (most recent call last):
 File "/usr/lib/python3.4/site-packages/pip/basecommand.py", line 232, in main
 status = self.run(options, args)
 File "/usr/lib/python3.4/site-packages/pip/commands/install.py", line 339, in run
 requirement_set.prepare_files(finder)
 File "/usr/lib/python3.4/site-packages/pip/req/req_set.py", line 229, in prepare_files
 req_to_install.check_if_exists()
 File "/usr/lib/python3.4/site-packages/pip/req/req_install.py", line 928, in check_if_exists
 self.satisfied_by = pkg_resources.get_distribution(self.req)
 File "/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py", line 461, in get_distribution
 dist = get_provider(dist)
 File "/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py", line 341, in get_provider
 return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
 File "/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py", line 870, in require
 needed = self.resolve(parse_requirements(requirements))
 File "/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py", line 740, in resolve
 env = Environment(self.entries)
 File "/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py", line 927, in __init__
 self.scan(search_path)
 File "/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py", line 957, in scan
 self.add(dist)
 File "/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py", line 977, in add
 dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
TypeError: unorderable types: NoneType() < str()
---------------------------------------------------------
gabx@hortensia ➤➤ ~ % pip list 
aiohttp (0.9.1)
apparmor (2.9.1)
appdirs (1.3.0)
.................
--------------------------------------------------
gabx@hortensia ➤➤ ~ % pip show six
---
Name: six
Version: 1.9.0
Location: /usr/lib/python3.4/site-packages
Requires: 
------------------------------------------
gabx@hortensia ➤➤ ~ % pip install ranger 
Requirement already satisfied (use --upgrade to upgrade): ranger in /usr/lib/python3.4/site-packages
------------------------------------------
pip install seems broken when installing a new package.
msg234028 - (view) Author: Donald Stufft (dstufft) * (Python committer) Date: 2015年01月14日 14:01
This is a pip problem and should be filed against the pip issue tracker at https://github.com/pypa/pip/issues.
History
Date User Action Args
2022年04月11日 14:58:11adminsetgithub: 67429
2015年01月14日 14:58:06brett.cannonsetstatus: open -> closed
resolution: third party
2015年01月14日 14:01:40dstufftsetmessages: + msg234028
2015年01月14日 12:04:03gabxcreate

AltStyle によって変換されたページ (->オリジナル) /