You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I'm trying out these fine pieces of code, however I have some trouble getting it to run.
I'm not very familiar with Python.
When i try with python3 there are lots of code not compatible with python3. Here is one of many examples. python3 ./render.py --title="Ceci n'est pas Paris" --osmid=-411354 # Contern, LU
=>
File ".../ocitysmap/ocitysmap/indexlib/commons.py", line 102, in <module>
class IndexItem:
ValueError: 'label' in __slots__ conflicts with class variable
And when I try with python2 i get an error. python2 ./render.py --title="Ceci n'est pas Paris" --osmid=-411354 # Contern, LU
=>
File ".../ocitysmap/ocitysmap/__init__.py", line 79, in <module>
import cairo
ImportError: No module named cairo
I've run all installation instructions in INSTALL.md
So, which python version should I use to run this? :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello! I'm trying out these fine pieces of code, however I have some trouble getting it to run.
I'm not very familiar with Python.
When i try with python3 there are lots of code not compatible with python3. Here is one of many examples.
python3 ./render.py --title="Ceci n'est pas Paris" --osmid=-411354 # Contern, LU
=>
And when I try with python2 i get an error.
python2 ./render.py --title="Ceci n'est pas Paris" --osmid=-411354 # Contern, LU
=>
I've run all installation instructions in INSTALL.md
So, which python version should I use to run this? :)
(PS. I'm running on Ubuntu 22.04.3)
Beta Was this translation helpful? Give feedback.
All reactions