Anaconda Python: where are the virtual environments stored?

后端 未结 9 1254
南方客
南方客 2020-12-01 02:54

I am new to Anaconda Python and I am setting up a project in Sublime Text 3. I have installed Anaconda and created a virtual environment using:

conda create          


        
相关标签:
9条回答
  • 2020-12-01 03:34

    You can run the command conda info.

    This will output something like this:

    envs directories : C:\Users\Geo\.local\Miniconda3\envs
                       C:\Users\Geo\.conda\envs
                       C:\Users\Geo\AppData\Local\conda\conda\envs
    

    I have installed conda at C:\Users\Geo\.local\Miniconda3.

    Then with the command conda info -e you get the location of each environment.

    (base) C:\Users\Geo>conda info -e
    # conda environments:
    #
    miniconda2               C:\Users\Geo\.conda\envs\miniconda2
    base                  *  C:\Users\Geo\.local\Miniconda3
    anaconda3                C:\Users\Geo\.local\Miniconda3\envs\anaconda3
    ml                       C:\Users\Geo\.local\Miniconda3\envs\ml
    
    0 讨论(0)
  • 2020-12-01 03:34

    None of the above worked. In the end, I found mine at:

    c:\Users\myusername\venvs\test1-V7fphpR9\

    0 讨论(0)
  • 2020-12-01 03:35

    Your environments are located in Anaconda3\envs\<yourEnv_directory>\

    0 讨论(0)
提交回复
热议问题