我得到"未找到python包装工具" pycharm中的错误。 当我尝试通过以下命令
更新setuptools时pip install --upgrade setuptools
我收到以下错误
Traceback (most recent call last): File "D:\FSM-Logistic\QGISAPI\apps\Python27\lib\runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "D:\FSM-Logistic\QGISAPI\apps\Python27\lib\runpy.py", line 72, in _run_code exec code in run_globals
File "c:\Python27\Scripts\pip.exe\__main__.py", line 5, in <module>
File "D:\FSM-Logistic\QGISAPI\apps\Python27\Lib\site-packages\pip\__init__.py", line 26, in <module> from pip.utils import get_installed_distributions, get_prog File "D:\FSM-Logistic\QGISAPI\apps\Python27\Lib\site-packages\pip\utils\__init__.py", line 27, in <module> from pip._vendor import pkg_resources
File "D:\FSM-Logistic\QGISAPI\apps\Python27\Lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 73, in <module> __import__('pip._vendor.packaging.specifiers')
File "D:\FSM-Logistic\QGISAPI\apps\Python27\Lib\site-packages\pip\_vendor\packaging\specifiers.py", line 275, in <module> class Specifier(_IndividualSpecifier): File "D:\FSM-Logistic\QGISAPI\apps\Python27\Lib\site-packages\pip\_vendor\packaging\specifiers.py", line 373, in Specifier
r"^\s*" + _regex_str + r"\s*$", re.VERBOSE | re.IGNORECASE)
File "D:\FSM-Logistic\QGISAPI\apps\Python27\lib\re.py", line 190, in compile
return _compile(pattern, flags)
File "D:\FSM-Logistic\QGISAPI\apps\Python27\lib\re.py", line 242, in _compile
raise error, v # invalid expression
sre_constants.error: nothing to repeat