点安装问题

时间:2019-12-11 13:38:23

标签: python pip

我进行了搜索,没有发现类似的问题。我正在尝试在Windows 10计算机上安装pip,但是我可以运行get-pip.py并成功安装,并检查PATH变量以确保它们匹配,并且在我每次运行pip命令时仍会收到语法无效的错误。另外,如果我只运行普通点子,则说明未定义点子。希望有人可以帮助 以下是我收到的终端输出:

=================== RESTART: C:\Users\dge\Desktop\get-pip.py ===================
Collecting pip
Using cached https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl
Collecting wheel
Using cached https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
Installing collected packages: pip, wheel
Found existing installation: pip 19.2.3
Uninstalling pip-19.2.3:
Successfully uninstalled pip-19.2.3
Successfully installed pip-19.3.1 wheel-0.33.6

然后在打开新终端时得到以下信息:

>>>pip install pynput
SyntaxError: invalid syntax

0 个答案:

没有答案