Dec-04-2018, 07:00 AM
(This post was last modified: Dec-04-2018, 07:00 AM by pythonpotato.)
(Dec-04-2018, 05:54 AM)Gribouillis Wrote:woooee Wrote:If there was a problem with the import you would get an error messageAnother possibility is that pythonpotato clicks on the file in the file manager and that this launches a console which disappears as soon as the script crashes.
@pythonpotato
Start a terminal or console separately, then typepython /path/to/the/script.py
in this console. You should see the error message, which is probably an ImportError as woooee said.
Hello, thank you for your reply, here is the following error code when I followed your instructions:
Traceback (most recent call last): File "E:\Python WorkSpace\venv\looping\looping.py", line 1, in <module> import pyautogui ModuleNotFoundError: No module named 'pyautogui'I already had pyautogui installed.. Which is why it worked inside the IDE just fine..
I'm at a loss with what to do now. Any help is appreciated!