Skip to content
I am getting this error when I run my game, and searching has yielded no results.
Profile icon
AIDANAINSLEY

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.

You are viewing a single comment. View All
Answered by InvisibleOne [earned 5 cycles]
View Answer
Profile icon
AIDANAINSLEY

@InvisibleOne
THANKS SOO MUCH!! The first part you suggested works.