1
Wenn ich diesen BefehlModul nicht gefunden - PYTHON
import sys
sys.path
Es gibt
['', 'C:\\Users\\Keshav Reddy\\AppData\\Local\\Programs\\Python\\Python35-32\\python35.zip', 'C:\\Users\\Keshav Reddy\\AppData\\Local\\Programs\\Python\\Python35-32\\DLLs', 'C:\\Users\\Keshav Reddy\\AppData\\Local\\Programs\\Python\\Python35-32\\lib', 'C:\\Users\\Keshav Reddy\\AppData\\Local\\Programs\\Python\\Python35-32', 'C:\\Users\\Keshav Reddy\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages', 'C:\\Users\\Keshav Reddy\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\win32', 'C:\\Users\\Keshav Reddy\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\win32\\lib', 'C:\\Users\\Keshav Reddy\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\Pythonwin']
Als ich noch pip pywinauto zu installieren,
C:\Users\Keshav Reddy\pip install pywinauto
Es gibt,
C:\Users\Keshav Reddy\pip install pyautogui
Es gibt,
Requirement already satisfied (use --upgrade to upgrade): pyautogui in c:\users\keshav reddy\appdata\local\programs\python\python35-32
Requirement already satisfied (use --upgrade to upgrade): pymsgbox in c:\users\keshav reddy\appdata\local\programs\python\python35-32\lib\site-packages (from pyautogui)
Requirement already satisfied (use --upgrade to upgrade): PyTweening>=1.0.1 in c:\users\keshav reddy\appdata\local\programs\python\python35-32\lib\site-packages (from pyautogui)
Requirement already satisfied (use --upgrade to upgrade): Pillow in c:\users\keshav reddy\appdata\local\programs\python\python35-32\lib\site-packages (from pyautogui)
Requirement already satisfied (use --upgrade to upgrade): pyscreeze in c:\users\keshav reddy\appdata\local\programs\python\python35-32\lib\site-packages (from pyautogui)
Aber wenn ich es importieren,
C:\Users\Keshav Reddy\python
Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:38:48) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyautogui
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'pyautogui'
nicht sicher, wo das Problem ist.
Der Grund, warum ich das obige vorgeschlagen habe, ist, dass, wenn Sie tatsächlich das Modul haben, aber Python es nicht sieht, Sie möglicherweise ein PATH Probleme haben, die Module mit Ihrem Python zu verbinden. – klitz1967
Es gab ein ähnliches Problem hier: http://askubuntu.com/questions/279866/python-module-not-found-after-manual-install) – klitz1967