10

At time of writing, alpha version 3.8.0a4 of python is available. I would like to do some testing in a conda env before it is GA (for both educational purposes and to satisfy some curiosities).

When trying to conda install 3.8 I am getting a PackagesNotFoundError error. Are alpha/beta versions of python simply unavailable through conda channels or is there perhaps an alternate conda channel where this might be found?

I know the latest version can be found on python.org in downloads/release but was really hoping for availability in a conda channel, if possible.

1 Answer 1

10

3.8.0a3 can be downloaded using conda-forge, which is a custom channel for conda. You can see the package listed here, with version 3.8.0a3 being labelled as pre-3.8. Unfortunately, it doesn't look like 3.8.0a4 is available yet.

conda install -c conda-forge/label/pre-3.8 python

There is an open issue on conda-forge for adding 3.8.0a4.

8
  • 1
    This looks very promising, although didnt work at initial try: Solving environment: failed PackagesNotFoundError: The following packages are not available from current channels: ` - python -> bzip2[version='>=1.0.6,<2.0a0']` ` - python -> libcxx[version='>=4.0.1']` ... May 15, 2019 at 3:32
  • Note - this could actually be an issue with the way the internal conda repo is setup, and not with your instructions. Thanks again for the pointers. May 15, 2019 at 3:34
  • You could try adding conda-forge as a channel, as shown here.
    – bgfvdu3w
    May 15, 2019 at 3:49
  • 4
    @user9074332 the issue is likely that you can't install this in an existing env because the other packages in there don't have compatible versions available. Instead, create a new env: conda create -n py38 -c conda-forge/label/pre-3.8 python
    – merv
    May 15, 2019 at 4:25
  • 1
    doing so offers python 3.7 for me, both for pre-3.8 and for prerelease. I'm on ubuntu 16.04. Could this be a problem ? Aug 13, 2019 at 13:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.