python安装好后,我们用pycharm安装所需的第三方模块时,出现“Python packaging tools not found. install packaging tools”点击安装输完密码后报
“Traceback (most recent call last):
File "/tmp/tmp0uib60m4pycharm-management/pip-9.0.1/setup.py", line 6, in <module>from setuptools import setup, find_packages
ImportError: No module named 'setuptools'”
解决办法是:pycharm根目录的helps文件夹里有“setuptools”和“pip”压缩包
把“setuptools”和“pip”解压,进入文件夹打开终端输入命令(两个都时这个命令,注意python3是自己要安装的本,有的是python,有的是python3.6。我的版本是3.6.3,命令是python3.6,后来自己改成python3)
sudo python3 setup.py install
本文解决了一个在使用PyCharm安装第三方Python模块时遇到的问题。当安装过程中出现Python packaging tools not found错误并尝试安装setuptools时,会遇到ImportError。文章提供了具体的解决步骤,包括如何解压和安装setuptools及pip。
973

被折叠的 条评论
为什么被折叠?



