

This is not to be confused with the previously mentioned depreciated pyvenv script. 3.6-64 C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exeįrom the above link, "If you wish to use multiple versions of Python on a single machine, then pyenv is a commonly used tool to install and switch between versions. 3.7-64 C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe

3.9-64 C:\Users\user\AppData\Local\Programs\Python\Python39\python.exe Requested Python version (0) not installed, use -0 for available pythonsĬ:\Users\user\AppData\Local\Programs\Python>py -0p Installed Pythons found by py Launcher for Windows c:\Users\user\AppData\Local\Programs\Python>py -0 list Yes, this works similar to node version manager. Also, on Ubuntu 20.04, I think the command is Python3 -0 list. This is different from a list of packages as you can see below. Or if you have a python package with a requirements.pip file, mkvirtualenv my_awesome_projectįor Windows 10, I think this is what you are looking for a list of available installed Pythons. Running setup.py egg_info for package djangoĬhanging mode of build/scripts-2.7/django-admin.py from 644 to 755Ĭhanging mode of /Users/aaylward/dev/virtualenvs/yo_dude/bin/django-admin.py to 755 er_scripts creating /Users/aaylward/dev/virtualenvs/yo_dude/bin/get_env_detailsĭownloading Django-1.4.1.tar.gz (7.7Mb): 7.7Mb downloaded er_scripts creating /Users/aaylward/dev/virtualenvs/yo_dude/bin/postactivate er_scripts creating /Users/aaylward/dev/virtualenvs/yo_dude/bin/preactivate er_scripts creating /Users/aaylward/dev/virtualenvs/yo_dude/bin/postdeactivate er_scripts creating /Users/aaylward/dev/virtualenvs/yo_dude/bin/predeactivate New python executable in yo_dude/bin/python This way, you can workon my_new_project and then pip freeze to see which packages are installed for that virtualenv/project. When you start a new project, you can do mkvirtualenv my_new_projectĪnd then (inside that virtualenv), do pip install all_your_stuff You should probably also be using virtualenv and virtualenvwrapper. With pip installed packages, you can do a pip freezeĪnd it will list all installed packages.


Yes! you should be using pip as your python package manager ( )
