1

I've download python3.8 following the instructions at Developing With Python 3.8 on Ubuntu 18.04 LTS.

Running python3.8 in the terminal works fine.

The thing is, when I try to make a channel that uses python3.8 on conda it doesn't find it. That is, running

conda create --name py38 python=3.8

returns:

PackagesNotFoundError: The following packages are not available from current channels:

Current channels:

  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/linux-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch
2
  • 1
    I started writing an answer and midway I realized that I should mark this question as off-topic. You should contact the Anaconda developers, since this has nothing to do with Ubuntu specifically. They should update the version in their repositories (channels in their languages).
    – dadexix86
    Oct 21, 2019 at 21:05
  • @dadexix86 I see no reason this question would be off-topic. See Are “not only Ubuntu-specific” questions on-topic? Questions don't have to be specific to Ubuntu, in the sense of applying less to other OSes, in order to be on-topic here. Note also that "Running third-party applications on Ubuntu" is explicitly listed as on-topic in the help center. Oct 22, 2019 at 6:20

1 Answer 1

1

Conda is, by definition and design, the package manager for the Python distribution Anaconda, and thus maintains its own Python versions, i.e. a complete Python installation including executables and the Python Standard libraries, inside the installation directory for the Anaconda distribution. It does not use the Python Version provided by the system. And as long as Anaconda‘s maintainers do not provide Python 3.8 on their official base channel, there is no easy way to use Python 3.8 through Anaconda, unless you find an alternate, unofficial channel that provides it - you can always specify another channel when installing packages, like for example for the community-maintained conda-forge (which has many additional packages compared to the default channel, but afaik not yet python3.8 so the below might not work yet):

conda install -c conda-forge python=3.8

Please be aware that this might introduce additional dependencies from said channel and I strongly recommend to create a new conda (virtual) environment when trying out new packages, or for any new project for that matter.

Please refer to the conda help function, Anaconda manual, and askubuntu and stackoverflow sites for more Information on how to work with conda environments and channels, and have fun playing all the new features of Python 3.8 :)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .