可以在Python中安装Seaborn和其他模块
似乎无法在命令提示符中安装以下模块或任何其他模块。关于为什么的任何提示? 在此处输入image Description
我会得到的错误是无效的语法。
Can't seem to be able to install the below module or any other in the command prompt. any tips on why? enter image description here
the error I would get is invalid syntax.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从给出的错误消息中看来,您正在尝试从Python解释器中调用
pip
,但这无法正常工作。pip
命令是一个独立程序;您需要从系统命令提示符中运行它。根据您正在运行的操作系统的不同,这将意味着打开终端窗口(对于Linux,MacOS或其他类似Unix)或Windows命令窗口(对于Windows)。无论哪种情况,您要输入的内容都请
注意,您将不是向此添加美元符号(
$
);也就是说,指示它是在系统控制台上输入的(对于运行Bourne-gain age shell的UNIX系统,$
是默认提示符)。From the error message given, it appears that you are attempting to invoke
pip
from within the Python interpreter, which won't work. Thepip
command is a stand-alone program; you need to run it from the system command prompt, instead.Depending on the OS you are running, this will mean opening either a terminal window (for Linux, MacOS, or some other Unix-like) or a Windows Command window (for Windows). In either case, what you would enter is
Note that you would not add the dollar sign (
$
) to this; that is in the instructions to indicate that it is entered at the system console (for Unix systems running the Bourne-Again Shell,$
is the default prompt).