Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I conda install an alpha or beta version of Python?

Tags:

python

conda

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.

like image 899
user9074332 Avatar asked May 15 '19 02:05

user9074332


People also ask

Which Python version is best for Anaconda?

Conda treats Python the same as any other package, so it is easy to manage and update multiple installations. Anaconda supports Python 3.7, 3.8, 3.9 and 3.10. The current default is Python 3.9.

How do I install different versions of Python?

Install that version using "make install". Install all other versions using "make altinstall". For example, if you want to install Python 2.5, 2.6 and 3.0 with 2.6 being the primary version, you would execute "make install" in your 2.6 build directory and "make altinstall" in the others.


1 Answers

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.

like image 77
bgfvdu3w Avatar answered Oct 07 '22 06:10

bgfvdu3w