python其他的记录

 

\pyautogui\__init__.py", line 1031, in _failSafeCheck pyautogui.FailSafeException: PyAutoGUI fail-safe triggered from mouse moving to upper-left corner. To disable this fail-safe, set pyautogui.FAILSAFE to False.

 

 

 

 

 

安装python,先去官网下载第三方库PyAutoGUI-0.9.39这个压缩包,

找到文件夹里;cmd里 python setup.py install,如果你的python安装目录Python3.7.1\Lib\site-packages,没有需要的包,就会自动下载下边的东西:

'''

C:\Users\jiaqidong.steven\Desktop\PyAutoGUI-0.9.39\dist\PyAutoGUI-0.9.39>python

setup.py install

D:\MyWorkSoftwareFolder\Python3.7.1\lib\distutils\dist.py:274: UserWarning: Unkn

own distribution option: 'long_description_content_type'

  warnings.warn(msg)

running install

Checking .pth file support in D:\MyWorkSoftwareFolder\Python3.7.1\Lib\site-packa

ges\

D:\MyWorkSoftwareFolder\Python3.7.1\pythonw.exe -E -c pass

TEST PASSED: D:\MyWorkSoftwareFolder\Python3.7.1\Lib\site-packages\ appears to s

upport .pth files

running bdist_egg

running egg_info

writing PyAutoGUI.egg-info\PKG-INFO

writing dependency_links to PyAutoGUI.egg-info\dependency_links.txt

writing requirements to PyAutoGUI.egg-info\requires.txt

writing top-level names to PyAutoGUI.egg-info\top_level.txt

reading manifest file 'PyAutoGUI.egg-info\SOURCES.txt'

reading manifest template 'MANIFEST.in'

writing manifest file 'PyAutoGUI.egg-info\SOURCES.txt'

installing library code to build\bdist.win32\egg

running install_lib

running build_py

creating build

creating build\lib

creating build\lib\pyautogui

copying pyautogui\screenshotUtil.py -> build\lib\pyautogui

copying pyautogui\test1.py -> build\lib\pyautogui

copying pyautogui\tweens.py -> build\lib\pyautogui

copying pyautogui\_pyautogui_java.py -> build\lib\pyautogui

copying pyautogui\_pyautogui_osx.py -> build\lib\pyautogui

copying pyautogui\_pyautogui_win.py -> build\lib\pyautogui

copying pyautogui\_pyautogui_x11.py -> build\lib\pyautogui

copying pyautogui\_window_win.py -> build\lib\pyautogui

copying pyautogui\__init__.py -> build\lib\pyautogui

copying pyautogui\__main__.py -> build\lib\pyautogui

creating build\bdist.win32

creating build\bdist.win32\egg

creating build\bdist.win32\egg\pyautogui

copying build\lib\pyautogui\screenshotUtil.py -> build\bdist.win32\egg\pyautogui

 

copying build\lib\pyautogui\test1.py -> build\bdist.win32\egg\pyautogui

copying build\lib\pyautogui\tweens.py -> build\bdist.win32\egg\pyautogui

copying build\lib\pyautogui\_pyautogui_java.py -> build\bdist.win32\egg\pyautogu

i

copying build\lib\pyautogui\_pyautogui_osx.py -> build\bdist.win32\egg\pyautogui

 

copying build\lib\pyautogui\_pyautogui_win.py -> build\bdist.win32\egg\pyautogui

 

copying build\lib\pyautogui\_pyautogui_x11.py -> build\bdist.win32\egg\pyautogui

 

copying build\lib\pyautogui\_window_win.py -> build\bdist.win32\egg\pyautogui

copying build\lib\pyautogui\__init__.py -> build\bdist.win32\egg\pyautogui

copying build\lib\pyautogui\__main__.py -> build\bdist.win32\egg\pyautogui

byte-compiling build\bdist.win32\egg\pyautogui\screenshotUtil.py to screenshotUt

il.cpython-37.pyc

byte-compiling build\bdist.win32\egg\pyautogui\test1.py to test1.cpython-37.pyc

byte-compiling build\bdist.win32\egg\pyautogui\tweens.py to tweens.cpython-37.py

c

byte-compiling build\bdist.win32\egg\pyautogui\_pyautogui_java.py to _pyautogui_

java.cpython-37.pyc

byte-compiling build\bdist.win32\egg\pyautogui\_pyautogui_osx.py to _pyautogui_o

sx.cpython-37.pyc

byte-compiling build\bdist.win32\egg\pyautogui\_pyautogui_win.py to _pyautogui_w

in.cpython-37.pyc

byte-compiling build\bdist.win32\egg\pyautogui\_pyautogui_x11.py to _pyautogui_x

11.cpython-37.pyc

byte-compiling build\bdist.win32\egg\pyautogui\_window_win.py to _window_win.cpy

thon-37.pyc

byte-compiling build\bdist.win32\egg\pyautogui\__init__.py to __init__.cpython-3

7.pyc

byte-compiling build\bdist.win32\egg\pyautogui\__main__.py to __main__.cpython-3

7.pyc

creating build\bdist.win32\egg\EGG-INFO

copying PyAutoGUI.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO

copying PyAutoGUI.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO

copying PyAutoGUI.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INF

O

copying PyAutoGUI.egg-info\requires.txt -> build\bdist.win32\egg\EGG-INFO

copying PyAutoGUI.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO

zip_safe flag not set; analyzing archive contents...

creating dist

creating 'dist\PyAutoGUI-0.9.39-py3.7.egg' and adding 'build\bdist.win32\egg' to

 it

removing 'build\bdist.win32\egg' (and everything under it)

Processing PyAutoGUI-0.9.39-py3.7.egg

Copying PyAutoGUI-0.9.39-py3.7.egg to d:\myworksoftwarefolder\python3.7.1\lib\si

te-packages

Adding PyAutoGUI 0.9.39 to easy-install.pth file

 

Installed d:\myworksoftwarefolder\python3.7.1\lib\site-packages\pyautogui-0.9.39

-py3.7.egg

Processing dependencies for PyAutoGUI==0.9.39

Searching for pyscreeze

Reading https://pypi.python.org/simple/pyscreeze/

Downloading https://files.pythonhosted.org/packages/1c/80/ba95b654c92264675a8e67

646d0f80066e0285c2a3ccd466126035c3fbbf/PyScreeze-0.1.18.tar.gz#sha256=11737e196a

5dc35b723e0b34784559c052c10af8518f37e9cf70c86b5936fb00

Best match: PyScreeze 0.1.18

Processing PyScreeze-0.1.18.tar.gz

Writing C:\Users\JIAQID~1.STE\AppData\Local\Temp\easy_install-fpxd8d9c\PyScreeze

-0.1.18\setup.cfg

Running PyScreeze-0.1.18\setup.py -q bdist_egg --dist-dir C:\Users\JIAQID~1.STE\

AppData\Local\Temp\easy_install-fpxd8d9c\PyScreeze-0.1.18\egg-dist-tmp-t5ot5fac

warning: no files found matching '*.py' under directory 'pyautogui'

zip_safe flag not set; analyzing archive contents...

Copying pyscreeze-0.1.18-py3.7.egg to d:\myworksoftwarefolder\python3.7.1\lib\si

te-packages

Adding pyscreeze 0.1.18 to easy-install.pth file

 

Installed d:\myworksoftwarefolder\python3.7.1\lib\site-packages\pyscreeze-0.1.18

-py3.7.egg

Searching for Pillow

Reading https://pypi.python.org/simple/Pillow/

D:\MyWorkSoftwareFolder\Python3.7.1\lib\site-packages\setuptools\pep425tags.py:8

9: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be in

correct

  warn=(impl == 'cp')):

D:\MyWorkSoftwareFolder\Python3.7.1\lib\site-packages\setuptools\pep425tags.py:9

3: RuntimeWarning: Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may

be incorrect

  warn=(impl == 'cp')):

Downloading https://files.pythonhosted.org/packages/aa/49/e9de895c7baab95f9b3ab6

c8df272edcabba3c92046b008cfa4650fe6eea/Pillow-5.3.0-cp37-cp37m-win32.whl#sha256=

b92f521cdc4e4a3041cc343625b699f20b0b5f976793fb45681aac1efda565f8

Best match: Pillow 5.3.0

Processing Pillow-5.3.0-cp37-cp37m-win32.whl

Installing Pillow-5.3.0-cp37-cp37m-win32.whl to d:\myworksoftwarefolder\python3.

7.1\lib\site-packages

Adding Pillow 5.3.0 to easy-install.pth file

 

Installed d:\myworksoftwarefolder\python3.7.1\lib\site-packages\pillow-5.3.0-py3

.7-win32.egg

Searching for PyTweening>=1.0.1

Reading https://pypi.python.org/simple/PyTweening/

Downloading https://files.pythonhosted.org/packages/b9/f8/c32a58d6e4dff8aa5c27e9

07194d69f3b57e525c2e4af96f39c6e9c854d2/PyTweening-1.0.3.zip#sha256=4b608a570f4dc

cf2201e898f643c2a12372eb1d71a3dbc7e778771b603ca248b

Best match: PyTweening 1.0.3

Processing PyTweening-1.0.3.zip

Writing C:\Users\JIAQID~1.STE\AppData\Local\Temp\easy_install-2lpfdies\PyTweenin

g-1.0.3\setup.cfg

Running PyTweening-1.0.3\setup.py -q bdist_egg --dist-dir C:\Users\JIAQID~1.STE\

AppData\Local\Temp\easy_install-2lpfdies\PyTweening-1.0.3\egg-dist-tmp-ogegr1xz

zip_safe flag not set; analyzing archive contents...

Copying pytweening-1.0.3-py3.7.egg to d:\myworksoftwarefolder\python3.7.1\lib\si

te-packages

Adding pytweening 1.0.3 to easy-install.pth file

 

Installed d:\myworksoftwarefolder\python3.7.1\lib\site-packages\pytweening-1.0.3

-py3.7.egg

Searching for pymsgbox

Reading https://pypi.python.org/simple/pymsgbox/

Downloading https://files.pythonhosted.org/packages/b6/65/86379ede1db26c40e7972d

7a41c69cdf12cc6a0f143749aabf67ab8a41a1/PyMsgBox-1.0.6.zip#sha256=3888116a60812d0

1d44529c402014bf0896d2a9262617cb18faa9a7b3800ad4e

Best match: PyMsgBox 1.0.6

Processing PyMsgBox-1.0.6.zip

Writing C:\Users\JIAQID~1.STE\AppData\Local\Temp\easy_install-jgds7ghy\PyMsgBox-

1.0.6\setup.cfg

Running PyMsgBox-1.0.6\setup.py -q bdist_egg --dist-dir C:\Users\JIAQID~1.STE\Ap

pData\Local\Temp\easy_install-jgds7ghy\PyMsgBox-1.0.6\egg-dist-tmp-4bky9tdk

zip_safe flag not set; analyzing archive contents...

Copying pymsgbox-1.0.6-py3.7.egg to d:\myworksoftwarefolder\python3.7.1\lib\site

-packages

Adding pymsgbox 1.0.6 to easy-install.pth file

 

Installed d:\myworksoftwarefolder\python3.7.1\lib\site-packages\pymsgbox-1.0.6-p

y3.7.egg

Finished processing dependencies for PyAutoGUI==0.9.39

 

C:\Users\\Desktop\PyAutoGUI-0.9.39\dist\PyAutoGUI-0.9.39>

...

你可能感兴趣的:(脚本语言)