How can I download Anaconda for python 3.6

前端 未结 5 1397
感情败类
感情败类 2020-12-14 10:53

I was working on Tensorflow object detection project, for this I am using Anaconda 3 with python 3.7 but I am facing some issues while running object detection demo, I read

5条回答
  •  盖世英雄少女心
    2020-12-14 11:17

    Following this answer, this solution is working for me on windows 10,

    From the anaconda prompt :

    1. Create a custom environnement and specify the repository channel to find the version (in my case 3.6.5)
        conda create --name py365 python=3.6.5 --channel conda-forge
    
    1. Activate the new environment
        conda activate py365
    

    But the activation won't be permanent, you will need to activate each time you start the anaconda prompt

    1. Create a shortcut to Anaconda prompt with your choosen environment

    In order to activate permanently your custom environment, you can create a anaconda prompt shortcut which new target. Go to

    C:\Users\Your_Name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Anaconda3 (64-bit)
    

    And Copy and rename the file Anaconda Prompt (Anaconda3) to Anaconda 3.6.5. Then right-click on the new file and click on "Properties".

    Then change the target :

    %windir%\System32\cmd.exe "/K" C:\Users\Your_Name\Anaconda3\Scripts\activate.bat C:\Users\Your_Name\Anaconda3
    

    to

    %windir%\System32\cmd.exe "/K" C:\Users\Your_Name\Anaconda3\Scripts\activate.bat C:\Users\Your_Name\Anaconda3\envs\py365
    

    (be aware to change "Your_Name" by your "real" name )

    Finally, if you go to your Windows Start menu, you will see your new shortcut "Anaconda 3.6.5" which launch the Anaconda Prompt with your choosen environment !

提交回复
热议问题