I wrote this program that controls your computer to collect data from a website in the PyCharm IDE with python 3.7. In my program I imported different libraries like pyautogui.
import pyautogui, time, re, os
def process():
# The rest of the code
Auto is the project name I have all the files in. I want to run the program from my terminal without having to run it from PyCharm but I'm getting these errors in it:
laptop:auto user$ python ./test.py
Traceback (most recent call last):
File "./test.py", line 1, in <module>
import pyautogui, time, re, os
ImportError: No module named pyautogui
I downloaded Pyautogui onto my laptop using pip but I don't know how to make it so that the terminal can use the library. Any suggestions on what I should do to solve this problem?