1 Command line download
pip install 包名称
Enter the command line and enter this command
Since pip is connected to foreign websites to download packages, sometimes the speed will be very slow.
We can use the following command to connect it to a domestic website to install the package:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 包名称
2 PyCharm
Click the selector in the lower right corner
The following options pop up
Click the plus button
Search for third-party packages and install them