gypsum
gypsum copied to clipboard
Python 3.10 Errors
Testing on Ubuntu 22.04 with Python 3.10 and encountered these errors while getting it to run (if others have similar troubles):
In "navigation_message_parser.py", line 62
*bits
^
SyntaxError: invalid syntax
Change *bits
to tuple(bits)
ImportError: cannot import name 'docstring' from 'matplotlib' (/home/user/.local/lib/python3.10/site-packages/matplotlib/__init__.py)
python3 -m pip install --upgrade matplotlib
In world_model.py", line 9,
in <module>
from typing import Self
ImportError: cannot import name 'Self' from 'typing' (/usr/lib/python3.10/typing.py)
Change from typing import Self
to from typing_extensions import Self
ModuleNotFoundError: No module named 'web_dashboard'
Must be in the root gypsum folder when issuing the command. Then go to 127.0.0.1:8080
and keep refreshing the page.