prettymaps icon indicating copy to clipboard operation
prettymaps copied to clipboard

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

Open HaraldBerlin opened this issue 2 years ago • 4 comments

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

HaraldBerlin avatar Sep 12 '22 10:09 HaraldBerlin

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.

HaraldBerlin avatar Sep 13 '22 06:09 HaraldBerlin

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"

sanbuphy avatar Sep 17 '22 00:09 sanbuphy

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!

HaraldBerlin avatar Sep 18 '22 14:09 HaraldBerlin

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.

sanbuphy avatar Sep 20 '22 02:09 sanbuphy