【发布时间】:2020-03-08 20:32:55
【问题描述】:
C:\Users\home\Desktop\projectF\Voice-Based-Email-For-ThenBlind-
master>C:/Python34/python.exe -m
pip install -U pylint --user
Downloading/unpacking pylint
Downloading/unpacking isort>=4.2.5,<5 (from pylint)
Downloading/unpacking astroid>=2.3.0,<2.4 (from pylint)
Cleaning up...
Exception:
Traceback (most recent call last):
File "C:\Python34\lib\site-
packages\pip\_vendor\pkg_resources.py", line 2421, in _dep_map
return self.__dep_map
File "C:\Python34\lib\site-
packages\pip_vendor\pkg_resources.py",第 2283 行,在 getattr 中 引发 AttributeError(attr) 属性错误:_DistInfoDistribution__dep_map
During handling of the above exception, another exception
occurred:
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\pip\basecommand.py", line
122, in main
status = self.run(options, args)
File "C:\Python34\lib\site-packages\pip\commands\install.py",
line 278, in run
requirement_set.prepare_files(finder,
force_root_egg_info=self.bundle, bundle=self.bundle)
File "C:\Python34\lib\site-packages\pip\req.py", line 1265, in
prepare_files
req_to_install.extras):
File "C:\Python34\lib\site-
packages\pip\_vendor\pkg_resources.py", line 2232, in requires
dm = self._dep_map
File "C:\Python34\lib\site-
packages\pip_vendor\pkg_resources.py”,第 2423 行,在 _dep_map self.__dep_map = self._compute_dependencies() 文件“C:\Python34\lib\site- packages\pip_vendor\pkg_resources.py",第 2447 行,在 _ 计算依赖项 解析=下一个(parse_requirements(distvers)) 文件“C:\Python34\lib\site- 包\pip_vendor\pkg_resources.py",第 2544 行,在 解析需求 线,p,规格 = scan_list(版本,LINE_END,线,p, (1,2),"版本规范") 文件“C:\Python34\lib\site- packages\pip_vendor\pkg_resources.py",第 2522 行,在 scan_list 中 "预期的 ',' 或列表结尾",line,"at",line[p:] ValueError: ("Expected ',' or end-of-list in", 'lazy-object-proxy ==1.4.', 'at', '')
在 C:\Users\home\pip\pip.log 中存储失败的调试日志
【问题讨论】:
标签: python-3.x