作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我试过:
pip install pyautogui
#output:
File "<stdin>", line 1
pip install pyautogui
^
SyntaxError: invalid syntax
我试过了
C:\Python34\pip.exe install pyautogui
#output:
File "<stdin>", line 1
C:\Python34\pip.exe install pyautogui
^
SyntaxError: unexpected character after line continuation character
这些都不起作用。同样,我在 Windows 10 上,我有 python 3,而 python 是 64 位而不是 32 位。
最佳答案
您尝试使用的 pip
不是 python 包或 built-in function . pip
是 Python
的包管理系统。 python3
发行版应该已经预装了 pip
。
在命令行中使用pip
命令。运行 pip -h
会给你一个关于你可以使用哪些命令的快速描述。见下图:
如果您可以在命令行中复制上面的图像,则意味着您已经安装了 pip,可以继续运行 $ pip install pyautogui
。
如果你得到的是这样的:
-bash: pip: command not found
这意味着你需要install pip首先。
关于python-3.x - 如何在 Windows 10 的 python3 64 位上安装 PyAutoGui?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43692426/
我是一名优秀的程序员,十分优秀!