Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I download Anaconda for python 3.6

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 couple of posts here on stackoverflow and found that it can be solved by using Anaconda with python 3.6 but this version is not available at Anaconda's download page, there are only two versions i.e for Python 3.7 and Python 2.7 but I need for Python 3.6.

Any help would be great.

like image 740
Soft Kaka Avatar asked Feb 21 '19 07:02

Soft Kaka


People also ask

How do I get Python 3.7 in Anaconda?

This can be installed via conda with the command conda install -c anaconda python=3.7 as per https://anaconda.org/anaconda/python. Though not all packages support 3.7 yet, running conda update --all may resolve some dependency failures.


4 Answers

As suggested here, with an installation of the last anaconda you can create an environment just like Cleb explained or downgrade python :

conda install python=3.6.0

With this second solution, you may encounter some incompatibility issues with other packages. I tested it myself and did not encounter any issue but I guess it depends on the packages you installed.

If you don't want to handle environments or face incompatibilities issues, you can download any Anaconda version here: https://repo.continuum.io/archive/. For example, Anaconda3-5.1.0-XXX or Anaconda3-5.2.0-XXX provides python 3.6 (the suffix XXX depends on your OS).

To know which python is provided in an anaconda package, you can visit the Release notes page. It provides the updates for the all anaconda versions. Find yours and look for the line

python A.B.C -> X.Y.Z

where A.B.C is the previous version and X.Y.Z is the updated python version.

like image 74
ractiv Avatar answered Oct 12 '22 09:10

ractiv


This link has history version about Anaconda, you could download from this website.

At version 5.3.0 python 3.6 support was dropped...

Anaconda 5.3.0 (Sept 28, 2018)

User-facing changes

The Anaconda3 installers ship with python 3.7 instead of python 3.6

python 3.6.5 -> 3.7.0

https://docs.anaconda.com/anaconda/reference/release-notes/#anaconda-5-3-0-sept-28-2018

The last version released with a python3.6 variant was version 5.2.0

Anaconda 5.2.0 (May 30, 2018)

python 3.6.4 -> 3.6.5

https://docs.anaconda.com/anaconda/reference/release-notes/#anaconda-5-2-0-may-30-2018

The links to this latest version are...

  • Anaconda3-5.2.0-Linux-ppc64le.sh
  • Anaconda3-5.2.0-Linux-x86.sh
  • Anaconda3-5.2.0-Linux-x86_64.sh
  • Anaconda3-5.2.0-MacOSX-x86_64.pkg
  • Anaconda3-5.2.0-MacOSX-x86_64.sh
  • Anaconda3-5.2.0-Windows-x86.exe
  • Anaconda3-5.2.0-Windows-x86_64.exe
like image 34
J.Zhao Avatar answered Oct 12 '22 08:10

J.Zhao


You can download the 3.7 version and then use

conda create -n mygreatenvironment python=3.6 <add other packages here>

and then:

conda activate mygreatenvironment

This environment will use Python 3.6.

like image 11
Cleb Avatar answered Oct 12 '22 07:10

Cleb


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 !

like image 6
demiton Avatar answered Oct 12 '22 09:10

demiton