anaconda/docker-images

Python 2.7 launching instead of 3.7 in continuumio/anaconda3:latest

Closed this issue · 1 comments

Pulling this image:

docker pull continuumio/anaconda3

I get this unexpected result:

docker run -i -t continuumio/anaconda3 python
Python 2.7.16 (default, Apr  6 2019, 01:42:57) 

I would expect python to default to the python3 install without needing an absolute path.

docker run -i -t continuumio/anaconda3 /opt/conda/bin/python
Python 3.7.3 (default, Mar 27 2019, 22:11:17) 

From within the container things are configured as expected:

docker run -i -t continuumio/anaconda3 bash
(base) root@f61b9c17c719:/# python
Python 3.7.3 (default, Mar 27 2019, 22:11:17) 

Is my expectation in error?

New images are up

$ docker pull continuumio/anaconda3
$ docker run -i -t continuumio/anaconda3 python
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>