The error is:
Traceback (most recent call last):
File "main.py", line 11, in
from getch import getch
ImportError: /opt/virtualenvs/python3/lib/python3.8/site-packages/getch.cpython-38-x86_64-linux-gnu.so: undefined symbol: Py_InitModule
I have tried for hours to find what is wrong, but I couldn't find anything.
I am getting this error when I run my game, and searching has yielded no results.
The error is:
Traceback (most recent call last):
File "main.py", line 11, in
from getch import getch
ImportError: /opt/virtualenvs/python3/lib/python3.8/site-packages/getch.cpython-38-x86_64-linux-gnu.so: undefined symbol: Py_InitModule
I have tried for hours to find what is wrong, but I couldn't find anything.
I have the same problem with mine but I say ¨import getch¨ instead of ¨from getch import getch¨ but same output.