立即安装了Anaconda,因此安装了python 3.6 可以安装其他软件包,但是由于某种原因不能pyautogui。我已经安装了枕头。 由于工作场所,我必须使用这些“受信任的主机”和“代理”。
(base) C:\>pip install --proxy [snipped website] --trusted-host pypi.
python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org pyautogui
Collecting pyautogui
Downloading https://files.pythonhosted.org/packages/45/70/c5d340fadb06106135b7
fe9677fc6d275f3cd7f7e6f896316c4cfe6c022c/PyAutoGUI-0.9.37.tar.gz (47kB)
100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 51kB 379kB/s
Collecting pymsgbox (from pyautogui)
Downloading https://files.pythonhosted.org/packages/b6/65/86379ede1db26c40e797
2d7a41c69cdf12cc6a0f143749aabf67ab8a41a1/PyMsgBox-1.0.6.zip
Collecting PyTweening>=1.0.1 (from pyautogui)
Downloading https://files.pythonhosted.org/packages/b9/f8/c32a58d6e4dff8aa5c27
e907194d69f3b57e525c2e4af96f39c6e9c854d2/PyTweening-1.0.3.zip
Requirement already satisfied: Pillow in c:\users\krmeszar\appdata\local\continu
um\anaconda3\lib\site-packages (from pyautogui) (5.1.0)
Collecting pyscreeze (from pyautogui)
Downloading https://files.pythonhosted.org/packages/c9/6e/e175fda37d76d7846a6c
da8a4364dfd7c2d343139b0716c4f03194d14933/PyScreeze-0.1.17.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\[snipped name]\AppData\Local\Temp\pip-install-jmkbzjm3\pyscreeze\
setup.py", line 10, in <module>
with open("README.md", "r") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\[snipped name]
\AppData\Local\Temp\pip-install-jmkbzjm3\pyscreeze\
原本以为pyscreeze可能是个问题,但也无法安装。
(base) C:\>pip install --proxy [snipped website] --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org pyscreeze
Collecting pyscreeze
Downloading https://files.pythonhosted.org/packages/c9/6e/e175fda37d76d7846a6c
da8a4364dfd7c2d343139b0716c4f03194d14933/PyScreeze-0.1.17.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\[snipped name]\AppData\Local\Temp\pip-install-ymkt05sy\pyscreeze\
setup.py", line 10, in <module>
with open("README.md", "r") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\[snipped name]\AppData\Local\Temp\pip-install-ymkt05sy\pyscreeze\
有什么解决方案吗?
答案 0 :(得分:2)
新版本的pyscreeze(v0.1.17)无法安装。
作为解决方法,请尝试先安装pyscreeze的最后一个工作版本,然后再安装pyautogui:
val my_select = ... .select(col("b.start"), col("b.end"))
val remaining = difference_df.except(source1_df.select(my_select))
val remaining = difference_df.except(source2_df.select(my_select))
我已经为此问题https://github.com/asweigart/pyscreeze/issues/37
创建了新票证编辑: 新版本的pyscreeze似乎可以运行,实际上您可以再次安装pyautogui
pip install pyscreeze==0.1.14
pip install PyAutoGUI