首页 > 解决方案 > 为什么我不能配置我的 Pip3 安装

问题描述

我已经按照这个网站指南(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

标签: pythonpip

解决方案


您在 Python shell 中运行此命令,您应该改为在正常的命令提示符窗口中运行它。

因为你在 Windows 上,使用 Win + R 打开运行窗口,然后输入 cmd 打开终端窗口。


推荐阅读