-
Notifications
You must be signed in to change notification settings - Fork 685
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
Colab Problem import repositories (new -- started today) #1875
Comments
Thanks for the report -- this was related to the python 3.7 update, and we're working on rolling out a fix already. It should land shortly, but I'll update this issue when it does. |
Also, as a short-term workaround until the fix is live, you can do
and it'll work just as before. |
The most appropriate and simplest fix is to upgrade the Colab host environment from Ubuntu bionic 18.04 to Ubuntu groovy 20.04. |
This should be fixed -- if you either reconnect or (if you've got a session running) |
Thank you very much. The fix did seem to resolve the issue with add-apt-repository. However, when I try to import the module that is installed from the repository, it fails with a somewhat similar error.
A link to an updated workbook with the additional import statement is below Thanks again for any additional help that you might be able to offer! Regards, |
It looks like the ubuntu installation you're following only works with 3.6, unfortunately. I don't know anything about cantera; I'd try asking upstream. |
@drew-parsons @craigcitro I agree with that. Are there any plans to upgrade to 20.04? |
#1880 tracks the 20.04 update. |
Thank you very much for the very quick responses! Regards, Dave
On Feb 24, 2021, at 2:05 PM, Craig Citro ***@***.******@***.***>> wrote:
Also, as a short-term workaround until the fix is live, you can do
!python3.6 /usr/bin/add-apt-repository ...
and it'll work just as before.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1875 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEHJ44Y2L55HLSUHF5CAJXTTAVEYRANCNFSM4YFCKF3Q>.
|
A new problem developed today when importing a repository in a Colab notebook that I have used many times over the past ~month.
When attempting to import the repository using
!apt-add-repository -y ppa:speth/cantera
, I get an error message stating that there is an issue related togi
--a python module that seems to be employed byapt-add-repository
.A link to a workbook that contains an example of the problem is below.
Example Notebook
Thank you for any help that you might be able to offer.
Regards,
Dave
PS: The problem occurs in both Safari & Chrome.
The text was updated successfully, but these errors were encountered: