gypsum icon indicating copy to clipboard operation
gypsum copied to clipboard

Python 3.10 Errors

Open cpoore1 opened this issue 8 months ago • 0 comments

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.

cpoore1 avatar Jun 14 '24 02:06 cpoore1