标签:under nbsp file span color 查看 main ace back
解压版本Python,手动安装pip报错
λ pip Traceback (most recent call last): File "runpy.py", line 193, in _run_module_as_main File "runpy.py", line 86, in _run_code File "D:\tools\python-3.8.1-embed-amd64\Scripts\pip.exe\__main__.py", line 4, in <module> ModuleNotFoundError: No module named ‘pip‘
解决办法:
1、安装pip的时候,路径切换到python目录
2、安装后,查看目录下是否有Lib\site-packages目录
3、在 python3x._pth 里面添加新行
再次运行pip,完美解决
解压版本Python,手动安装pip报错,pip得到报错" No module named 'pip' "
标签:under nbsp file span color 查看 main ace back
原文地址:https://www.cnblogs.com/CnKker/p/12325601.html