无法找到已安装的PyAutoGui版本

时间:2017-08-28 02:17:47

标签: python macos pyautogui installation-package

我不得不重新安装Anaconda并更新到Python 3.6。因为PyAutoGUI不是标准包,所以我想重新安装。

因为我有Mac,所以我按照以下步骤操作: 1)首先我安装了pyobjc-framework-Quartz, 2)然后我安装了pyobjc-core 3)然后我安装了pyobjc 4)最后,我安装了pyautogui。

这是我在终端窗口中得到的内容:

  

BTs-MacBook-Pro:文件admin $ pip install pyobjc-framework-Quartz

     

要求已经满足:/Users/admin/anaconda/lib/python3.6/site-packages中的pyobjc-framework-Quartz

     

要求已经满足:/Users/admin/anaconda/lib/python3.6/site-packages中的pyobjc-core> = 3.2.1(来自pyobjc-framework-Quartz)

     

要求已经满足:pyobjc-framework-Cocoa> = 3.2.1 in /Users/admin/anaconda/lib/python3.6/site-packages(来自pyobjc-framework-Quartz)

     

BTs-MacBook-Pro:文件admin $ pip install pyobjc-core

     

要求已经满足:/Users/admin/anaconda/lib/python3.6/site-packages中的pyobjc-core

     

BTs-MacBook-Pro:文件admin $ pip install pyobjc

     

要求已经满足:/Users/admin/anaconda/lib/python3.6/site-packages/PyObjC中的pyobjc

     

要求已经满足:/Users/admin/anaconda/lib/python3.6/site-packages(来自pyobjc)中的pyobjc-core == 3.2.1

     

...

     

/Users/admin/anaconda/lib/python3.6/site-packages(来自pyobjc)

     

BTs-MacBook-Pro:文件admin $ pip install pyautogui

     

要求已经满足:/Users/admin/anaconda/lib/python3.6/site-packages中的pyautogui

     

要求已经满足:枕头在/Users/admin/anaconda/lib/python3.6/site-packages(来自pyautogui)

     

要求已经满足:/Users/admin/anaconda/lib/python3.6/site-packages中的pymsgbox(来自pyautogui)

     

要求已经满足:/Users/admin/anaconda/lib/python3.6/site-packages中的PyTweening> = 1.0.1(来自pyautogui)

     

要求已经满足:pyscreeze in /Users/admin/anaconda/lib/python3.6/site-packages(来自pyautogui)   要求已经满足:/Users/admin/anaconda/lib/python3.6/site-packages中的olefile(来自Pillow-> pyautogui)

所以看起来一切都已正确安装。但是,当我尝试在iPythonConsole中导入PyAutoGUI时说

" ModuleNotFoundError:没有名为' pyautogui的模块'"

我从iPythonConsole检查了sys.path,得到了这个:

  

['',' /Users/admin/anaconda/lib/python3.6/site-packages/spyder/utils/site' ;,' / Users / admin / anaconda / lib / python3.6',' /Users/admin/anaconda/lib/python36.zip' ;,' /Users/admin/anaconda/lib/python3.6/ lib-dynload',' /Users/admin/anaconda/lib/python3.6/site-packages' ;,' /Users/admin/anaconda/lib/python3.6/site- packages / PyObjC',' /Users/admin/anaconda/lib/python3.6/site-packages/Sphinx-1.5.6-py3.6.egg' ;,' / Users / admin / anaconda / lib / python3.6 / site-packages / aeosa',' /Users/admin/anaconda/lib/python3.6/site-packages/setuptools-27.2.0-py3.6。 egg',' /Users/admin/anaconda/lib/python3.6/site-packages/IPython/extensions' ;,' /Users/admin/.ipython']

我怀疑我失踪是一种愚蠢的事情,但在尝试了最后几个小时后,我会喜欢一点帮助。我安装它已经有一段时间了。

谢谢!

0 个答案:

没有答案