[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing a specific version of python #59

Open
rose-jinyang opened this issue Jul 13, 2023 · 6 comments
Open

Installing a specific version of python #59

rose-jinyang opened this issue Jul 13, 2023 · 6 comments

Comments

@rose-jinyang
Copy link

Hello
How are you?
Thanks for contributing to this project.
Now days, the default version of python3 on Google Colab is 3.10.
I am going to use python3.8 on Colab.
So I am going to install & use this condacolab.
How should & install I this condacolab for python3.8?

@samux87
Copy link
samux87 commented Jul 14, 2023

Hi @rose-jinyang, I have the same issue/task; have you solved it?

Thank you,
Sam.

@jaimergp
Copy link
Member

Hey folks, currently published version only supports whatever condacolab runs on. However, the development version on main should support arbitrary Python runtimes, but this hasn't been tested widely yet and there are a few details that need to be polished.

If you want to give it a try, you can use:

!pip install https://github.com/conda-incubator/condacolab/archive/main.tar.gz

Let me know how it goes!

@KtzeAbyss
Copy link

Hey folks, currently published version only supports whatever condacolab runs on. However, the development version on main should support arbitrary Python runtimes, but this hasn't been tested widely yet and there are a few details that need to be polished.

If you want to give it a try, you can use:

!pip install https://github.com/conda-incubator/condacolab/archive/main.tar.gz

Let me know how it goes!

So the command to specify a specific version of python is?

I found a fork before where you can specify the python version as follows

condacolab.install(
   environment_file="https://raw.githubusercontent.com/ssurbhi560/condacolab/07b92d827/environment.yaml",
   python_version="3.10",
   specs=["matplotlib", "numpy"],
   channels=["conda-forge", "bioconda"],
   pip_args=["blue"]
   extra_conda_args=["-yq"]
   )

But that doesn't work, the main branch I don't seem to see any demos and instructions for that, how do I specify a specific python version?

@ctr26
Copy link
ctr26 commented Nov 10, 2023

any news on how this works?

@ctr26
Copy link
ctr26 commented Nov 10, 2023
!pip install https://github.com/conda-incubator/condacolab/archive/main.tar.gz
import condacolab
condacolab.install_from_url("https://github.com/ctr26/DL4MicEverywhere/releases/download/test18/3.6-ubuntu.sh")

This fails for instance

@limaolin2017
Copy link

Hey folks, currently published version only supports whatever condacolab runs on. However, the development version on main should support arbitrary Python runtimes, but this hasn't been tested widely yet and there are a few details that need to be polished.

If you want to give it a try, you can use:


!pip install https://github.com/conda-incubator/condacolab/archive/main.tar.gz

Let me know how it goes!

I have tried it, instal failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants