Ask coding questions

← Back to all posts
Why isnt getch import working?
sleepyperson123

why isnt it working
why does the post have to be 5 words long

Voters
sleepyperson123
Comments
hotnewtop
InvisibleOne

FIrst off, the post has to be a certain amount of characters to avoid spam.
I'm not really sure what will cause that error because it's a c related error since getch is written in a c lang.
You can try adding getch with the package manager and then importing it again

InvisibleOne

If that still doesn't work try getkey it works very similar to getch.

Here's some code with getch:

And some with getkey

sleepyperson123