View all Python environments in Anaconda. Generally, pip has been installed in Anaconda. In the Window environment, enter the following command in Anaconda Prompt.
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.
If it is not the latest, you can update it using the following statement
conda install mingw libpython
This is my updated version. After the
update, you can use it pip install pygame
for installation. After the installation is successful, it will prompt that the installation is successful.