pip常用命令
今日使用pip list,出现一堆错误:
Exception: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 134, in main status = self.run(options, args) File "/Library/Python/2.7/site-packages/pip/commands/list.py", line 80, in run self.run_listing(options) File "/Library/Python/2.7/site-packages/pip/commands/list.py", line 127, in run_listing self.output_package_listing(installed_packages) File "/Library/Python/2.7/site-packages/pip/commands/list.py", line 136, in output_package_listing if dist_is_editable(dist): File "/Library/Python/2.7/site-packages/pip/util.py", line 347, in dist_is_editable req = FrozenRequirement.from_dist(dist, []) File "/Library/Python/2.7/site-packages/pip/__init__.py", line 194, in from_dist assert len(specs) == 1 and specs[0][0] == '==' AssertionError