Using the PIP command
If there are multiple versions of the system, use the corresponding PIP version to remove the corresponding Python version of the module
In python2.7 use pip3 above PIP python3.0
Installation module:
The python3 version USES the pip3 install module name
Such as installing python3 version of pygame
If there are multiple versions of the system, use the corresponding PIP version to remove the corresponding Python version of the module
In python2.7 use pip3 above PIP python3.0
Installation module:
The python3 version USES the pip3 install module name
Such as installing python3 version of pygame
[email protected]:~/Python$ pip3 install pygame
Collecting pygame
Using cached https://files.pythonhosted.org/packages/b9/89/aca02f8771727c2713c11a39c1cc295e4deb60be322be19ad7460570f978/pygame-1.9.4-cp37-cp37m-macosx_10_11_intel.whl
Installing collected packages: pygame
Successfully installed pygame-1.9.4
Unloading module:
The python3 version USES the pip3 uninstall module name
Such as uninstalling pygame in python3
[email protected]:~/Python$ pip3 uninstall pygame
Uninstalling pygame-1.9.4:
Would remove:
/usr/local/include/python3.7m/pygame/_camera.h
/usr/local/include/python3.7m/pygame/_pygame.h
/usr/local/include/python3.7m/pygame/_surface.h
/usr/local/include/python3.7m/pygame/bitmask.h
/usr/local/include/python3.7m/pygame/camera.h
/usr/local/include/python3.7m/pygame/fastevents.h
/usr/local/include/python3.7m/pygame/font.h
/usr/local/include/python3.7m/pygame/freetype.h
/usr/local/include/python3.7m/pygame/mask.h
/usr/local/include/python3.7m/pygame/mixer.h
/usr/local/include/python3.7m/pygame/pgarrinter.h
/usr/local/include/python3.7m/pygame/pgbufferproxy.h
/usr/local/include/python3.7m/pygame/pgcompat.h
/usr/local/include/python3.7m/pygame/pgopengl.h
/usr/local/include/python3.7m/pygame/pygame.h
/usr/local/include/python3.7m/pygame/scrap.h
/usr/local/include/python3.7m/pygame/surface.h
/usr/local/lib/python3.7/site-packages/pygame-1.9.4.dist-info/*
/usr/local/lib/python3.7/site-packages/pygame/*
Proceed (y/n)?y
Successfully uninstalled pygame-1.9.4
Read More:
- Install pygame-1.9.3 for python 3.6
- Python 3.7 pyGame download method
- ERROR: pygame-1.9.2-cp35-cp35m-win32.whl is not a supported wheel on this platform.
- appear pygame.error : font not initialized problem, remember to check whether the program calls pygame.init ()
- Importing the multiarray numpy extension module failed
- Mac upgrade pip
- Python’s importerror: DLL load failed: the specified module was not found and the problem was solved
- cannot import name ‘_validate_lengths’ from ‘numpy.lib.arraypad’
- Pychar reported an error. Unable to set the python SDK in Python 3.8. This SDK appears to be invalid.
- Building wheel for wrapt (setup.py) … error
- Scrapy runs a crawler with an error importerror: cannot import name suppress
- Error in PIP install BS4 under Linux
- ModuleNotFoundError: No module named ‘numpy.testing.nosetester‘
- The problem of “value error: zero length field name in format” in Python 2.6.6 of CentOS 6.9
- tensorflow import error: DLL load failed: The specified module could not be found (DLL load failed: The specified module could not be found)
- Tensorflow import error: DLL load failed: the specified module could not be found
- Cannot remove entries from nonexistent file /usr/local/bin/anaconda2/lib/python2.7/site-packages/eas
- Error in PIP command execution – syntax error: invalid syntax
- CONDA failed to create environment (collecting package metadata(repodata.json): failed)
- Incomplete and “the Jupiter” distribution was not found