我无法使用 pip 命令。每次我尝试时都会遇到以下错误:
NameError: name 'pip' is not defined
Run Code Online (Sandbox Code Playgroud)
我正在使用 CMD 和 Python 3.8。我几乎可以肯定那C:\python\scripts是我的道路。然而 pip 命令仍然无法满足我的能力。我读过几篇关于其他遇到此问题的人的文章和主题,但这些解决方案仍然无法帮助我。
从 CMD 复制粘贴:
C:\Windows\System32>py
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> pip
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'pip' is not defined
Run Code Online (Sandbox Code Playgroud)