【发布时间】:2021-06-15 01:16:00
【问题描述】:
我已按照本网站指南 (https://vgkits.org/blog/pip3-config-howto/) 安装 pip3,但是当我进入需要配置 Pip3 安装的步骤时,cmd 终端显示无效语法。
C:\Windows\System32>python
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> pip3 install --user pybin
File "<stdin>", line 1
pip3 install --user pybin
^
SyntaxError: invalid syntax
【问题讨论】:
-
你不应该在你的 python shell 中运行这个命令。在 python 之外运行它。