python - 为什么我不能配置我的 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
解决方案
您在 Python shell 中运行此命令,您应该改为在正常的命令提示符窗口中运行它。
因为你在 Windows 上,使用 Win + R 打开运行窗口,然后输入 cmd 打开终端窗口。
推荐阅读
- vulkan - 命令缓冲区内存要求高吗?
- node.js - 为什么无限循环会阻止 Promise 解决?
- python - 文本小部件未使用删除功能清除
- java - HtmlUnit - 非法选择器错误
- java - 从 JsonSchema 生成 Java POJO 模型(最好使用 JAXB)
- ios - 注册后无法使用 iOS Cognito UserPool SDK 更改用户属性
- python - 在 unix 中查找文件的真实路径
- java - 数组元素的 minIndex
- node.js - 想要检索特定分区键结构的结果?
- python - 如何删除绘图和导航工具栏之间的边界线?(带 wx 的 matplotlib)