22

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.

Shishupal Shakya
  • 1,632
  • 2
  • 18
  • 41

6 Answers6

36

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.

Cleb
  • 25,102
  • 20
  • 116
  • 151
ractiv
  • 712
  • 8
  • 19
25

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...

Community
  • 1
  • 1
J.Zhao
  • 2,250
  • 1
  • 14
  • 12
  • Where does it say which python a version comes with? I would have expected this information to be provided in some description field for a package but don't see em to be able to find one. Thanks – Confounded Oct 25 '19 at 12:29
12

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.

Cleb
  • 25,102
  • 20
  • 116
  • 151
6

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 !

Community
  • 1
  • 1
demiton
  • 685
  • 9
  • 9
0

You can download anaconda from the archives.

The path I followed was: Anaconda Documentation>Anaconda Distribution>Installation-(in page)System Requirements>archive

I was looking for installation instructions on my CentOS machine when I stumbled upon the question.

Shreyas Moolya
  • 339
  • 4
  • 19
0

For installing python 3.6 on windows go to this link

ChidanshM
  • 33
  • 3
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Feb 17 '22 at 20:20