Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First time using Python, need some help with errors #3

Open
kktk opened this issue Apr 11, 2021 · 4 comments
Open

First time using Python, need some help with errors #3

kktk opened this issue Apr 11, 2021 · 4 comments

Comments

@kktk
Copy link

kktk commented Apr 11, 2021

Hi there.

Encountering some trouble with installing the modules. I installed anaconda and use it to install the 4 modules, but even though pyautogui is installed, the module doesn't run when executing the code:

(E7) C:\Users\kktk>pip install pyautogui
Requirement already satisfied: pyautogui in c:\users\kktk\anaconda3\envs\e7\lib\site-packages (0.9.52)
Requirement already satisfied: pymsgbox in c:\users\kktk\anaconda3\envs\e7\lib\site-packages (from pyautogui) (1.0.9)
Requirement already satisfied: pygetwindow>=0.0.5 in c:\users\kktk\anaconda3\envs\e7\lib\site-packages (from pyautogui) (0.0.9)
Requirement already satisfied: mouseinfo in c:\users\kktk\anaconda3\envs\e7\lib\site-packages (from pyautogui) (0.1.3)
Requirement already satisfied: PyTweening>=1.0.1 in c:\users\kktk\anaconda3\envs\e7\lib\site-packages (from pyautogui) (1.0.3)
Requirement already satisfied: pyscreeze>=0.1.21 in c:\users\kktk\anaconda3\envs\e7\lib\site-packages (from pyautogui) (0.1.26)
Requirement already satisfied: pyrect in c:\users\kktk\anaconda3\envs\e7\lib\site-packages (from pygetwindow>=0.0.5->pyautogui) (0.1.4)
Requirement already satisfied: Pillow>=6.2.1 in c:\users\kktk\anaconda3\envs\e7\lib\site-packages (from pyscreeze>=0.1.21->pyautogui) (8.2.0)
Requirement already satisfied: pyperclip in c:\users\kktk\anaconda3\envs\e7\lib\site-packages (from mouseinfo->pyautogui) (1.8.2)

(E7) C:\Users\kktk>"C:\Users\kktk\Desktop\E7-Auto-Shop-Refresh-main\Auto Refresh.py"
Traceback (most recent call last):
File "C:\Users\kktk\Desktop\E7-Auto-Shop-Refresh-main\Auto Refresh.py", line 9, in
from pyautogui import *
ModuleNotFoundError: No module named 'pyautogui'

@ewanh26
Copy link

ewanh26 commented Apr 11, 2021

ill look through ur code now

@ewanh26
Copy link

ewanh26 commented Apr 11, 2021

how come ur importing pyautogui twice? Import it once (delete line 9).

@ngtunganh123
Copy link

I got same problem as well, delete line 9 doesn't seem work

@EmaOlay
Copy link
Owner

EmaOlay commented Jan 27, 2022

Hey, been a while since I last saw this, I have no idea why it won't work but surely as ewanh26 above mentioned it's probably has to do with lines 9 or 10 try one or the other see if that fixes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants