Jan-07-2021, 12:16 AM
Hey guys I'm trying to get some basic modules to import into python 3.7. I've done the pip3 installs for keyboard and also pyautogui but when I try to run my program in Visual Studio I get a File No module named 'keyboard'
Stack trace:
> File "C:\Users\Colter\source\repos\PythonApplication6\PythonApplication6\PythonApplication6.py", line 1, in <module>
> import keyboard
Loaded '__main__'
Loaded 'runpy'
I've already installed all of these modules successfully in the console. I'm running Windows 10.
Really just pulling my hair out at this point. I'd like to use Python for a project I have going but I cant even get past the first line import.
I'd like to write the program with Python, the language I'm most familiar with but cant even get past the import. Starting to really pull my hair out. You'd think this would be easy with Python but clearly it's a nightmare. Would rather not write the program in C# if I can help it.
Stack trace:
> File "C:\Users\Colter\source\repos\PythonApplication6\PythonApplication6\PythonApplication6.py", line 1, in <module>
> import keyboard
Loaded '__main__'
Loaded 'runpy'
I've already installed all of these modules successfully in the console. I'm running Windows 10.
Really just pulling my hair out at this point. I'd like to use Python for a project I have going but I cant even get past the first line import.
I'd like to write the program with Python, the language I'm most familiar with but cant even get past the import. Starting to really pull my hair out. You'd think this would be easy with Python but clearly it's a nightmare. Would rather not write the program in C# if I can help it.