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

Colab ERROR: Package 'vsketch' requires a different Python: 3.7.13 not in '<3.11,>=3.8' #98

Open
HaraldBerlin opened this issue Sep 12, 2022 · 4 comments

Comments

@HaraldBerlin
Copy link

How can I get a newer Python in Colab for vsketch? All my installation attempts failed. Thanks for any idea!

@HaraldBerlin
Copy link
Author

I updated to Python 3.8 using the following 3 lines:

!wget -O mini.sh https://repo.anaconda.com/miniconda/Miniconda3-py38_4.8.2-Linux-x86_64.sh
!chmod +x mini.sh
!bash ./mini.sh -b -f -p /usr/local

Installation section runs then without errors. I restart the runtime. Unfortunately then the "Imports" section throws:

ModuleNotFoundError: No module named 'prettymaps

If I now click this link again
https://colab.research.google.com/github/marceloprates/prettymaps/blob/master/notebooks/examples.ipynb
suddenly all example maps run as expected without starting them manually. Unfortunately I always get errors: Running an own code section, changing the existing examples and I cannot even run them anew. Always errors like

NameError: name 'plt' is not defined

This is no fun.

@sanbuphy
Copy link

sanbuphy commented Sep 17, 2022

I met the same problem and didn't know how to solve it. I try to use that in my computer but false. Because i can't intall the vsketch,it always shows "error: subprocess-exited-with-error"

@HaraldBerlin
Copy link
Author

Hello sanbuphy, a person called cperry-goog wrote me in an eMail:

"Users upgrading Python in Colab is not supported; we're working on a 3.8 upgrade."

So we hope that it will work soon. Thanks to the colab peopel!

@sanbuphy
Copy link

sanbuphy commented Sep 20, 2022

It was delightful that i find a Web App: https://chrieke-prettymapp-streamlit-prettymappapp-1k0qxh.streamlitapp.com/#prettymapp You can try this app, I think it's very cool.

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

2 participants