sudo apt-get install python3-setuptools
should get the work done.
Link : https://packaging.python.org/tutorials/installing-packages/
Since OP is using windows, python -m pip install -U pip setuptools
should get the work done.
我认为您需要安装setuptools
sudo apt-get install python3-setuptools
Important Step:
Open Command Prompt in Windows And Type pip install python3-setuptools
If First Step is throwing some Error
To solve this,you need to let python know where the pip packages are to do this follow the instructions below
First Go to Settings and select Project interpreter, now Click on Add button and switch to manage repositories option and now again press add button and type https://pypi.python.org/pypi
in the box and save.
Now Restart your pycharm and it will work.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.