![]() Remark: I am aware of conda list -n ENVNAME but this would involve parsing human readable output and I would feel better off to have something retrieving the info in machine readable form. ![]() I have no compatibility issues with subversions of python and I do not want to setup.py develop the modules in the PYTHONPATH-to-be because there are still too many changes, also on structural level. But I would like to add certain directories to my PYTHONPATH depending on whether the environment has python2.x or python3.x and I plan to do this by wrapping conda's activate like so: PYMAJOR=$(a_miracle_occurs $CONDAENV) An environment consists of an interpreter, a library (typically the Python Standard Library), and a set of installed packages. Viewing a list of available Python versions To list the versions of Python that are available to install, in your terminal window or an Anaconda Prompt, run: conda search python This lists all packages whose names contain the text python. How can I find out which Python version is installed in a conda environment where I know the name, but do not want to activate that environment?īackground: I have chosen the lazy way to get python3.6 on my Ubuntu 14.04 machine and installed conda. A Python environment is a context in which you run Python code and includes global, virtual, and conda environments. If you use Anaconda to install PyTorch, it will install a sandboxed version of Python that will be used for running PyTorch applications. Conda supports Python 3.8, 3.9, 3.10, and 3.11.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |