How to install pip in Acanada3 and install pygame using pip

View all Python environments in Anaconda. Generally, pip has been installed in Anaconda. In the Window environment, enter the following command in Anaconda Prompt.
Insert image description here
First, pip can view the expansion packages it has installed. pip list(The corresponding anaconda can be entered conda list) The middle position can be found.
Insert image description here
If it is not the latest, you can update it using the following statement

conda install mingw libpython

Insert image description here

This is my updated version. After the
Insert image description here
update, you can use it pip install pygamefor installation. After the installation is successful, it will prompt that the installation is successful.
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_43658159/article/details/115374561