conda-incubator / condacolab

Install Conda and friends on Google Colab, easily
MIT License
341 stars 49 forks source link

Your pinning does not match what's currently installed #47

Closed effepivi closed 1 year ago

effepivi commented 1 year ago

Hi there.

I install the package as follows:

!pip install -q condacolab
import condacolab
condacolab.install()

The runtime restarts. When I try to install packages, e.g. using

!mamba install -c conda-forge -c intel -c astra-toolbox -c ccpi cil numpy astra-toolbox --quiet

I get the error as follows:

Your pinning does not match what's currently installed. Please remove the pin and fix your installation
  Pin: python=3.9
  Currently installed: conda-forge/linux-64::python==3.8.15=h4a9ceb5_0_cpython

Note that I did not have the issue yesterday. Yesterday I believe Google Collaborative worked with Python 3.8. It somehow has changed.

Regards,

WYVERN2742 commented 1 year ago

This is due to colab now using python 3.9; they've rolled out a new version yesterday evening https://github.com/googlecolab/colabtools/issues/3450

Current workaround includes;

  1. Connecting to a runtime without running conda-colab installation (click on reconnect kernal status) image
  2. Opening the command palette image
  3. Using fallback runtime image

From the earlier colab issue, this will only work for the next few weeks

jaimergp commented 1 year ago

Hi, thanks for the report!

Can you try with this hotfix? If it works I'll cut a new 0.1.x release:

!pip install -q https://github.com/conda-incubator/condacolab/archive/py39.tar.gz
import condacolab
condacolab.install()
effepivi commented 1 year ago

Hi @jaimergp

it works like a charm (see. Please let me know when you deploy the solution. And a big thank for this wonderful project. It's so useful!

jaimergp commented 1 year ago

0.1.6 is now out!