I had uninstalled python 3.8 from my system and installed 3.7.x But after running the command where python
and where python3
in the cmd I get two different locations. I was facing issues regarding having two versions of python. So I would like to know how i can completely remove python3 located files.
To delete a specific python version, you can use which python
and remove the python folder using sudo rm -rf <path returned from the above command>
. You might also have to modify the PATH env variable to the location which contains the python executables of the version you want.
Or you can install Anaconda [https://www.anaconda.com/products/individual] which helps to manage multiple versions of python for you.
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.