简体   繁体   English

'C:\Users\name' 在 Jupyter 笔记本中未被识别为内部或外部命令、可运行程序或批处理文件

[英]'C:\Users\name' is not recognized as an internal or external command, operable program or batch file in Jupyter notebook

when I tried to install sklearn_extra in Jupyter notebook当我尝试在 Jupyter 笔记本中安装 sklearn_extra 时

pip install scikit-learn-extra

I get this message as an output我收到此消息为 output

'C:\Users\name' is not recognized as an internal or external command, operable program or batch file 'C:\Users\name' 不是内部或外部命令、可运行程序或批处理文件

how can I solve this我该如何解决这个问题

Install a package in a Jupyter notebook as follows.在 Jupyter 笔记本中安装 package,如下所示。

# Install a pip package in the current Jupyter kernel
import sys
!{sys.executable} -m pip install scikit-learn-extra

Read here for more information.阅读此处了解更多信息。

I hope I answered on time, I had a similar problem and what fixed it was removing all the spacebars in your direcotry path as the command promt reads it as two different commands: Here i had to delete the spacebar in the name of the file from Diskretni signali to Diskretni_signali and then it worked我希望我能按时回答,我遇到了类似的问题,解决的问题是删除目录路径中的所有空格键,因为命令提示符将其读取为两个不同的命令:在这里我必须删除文件名中的空格键Diskretni signali 到 Diskretni_signali 然后它工作

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Jupyter Notebook:'head' 未被识别为内部或外部命令、可运行程序或批处理文件 - Jupyter Notebook : 'head' is not recognized as an internal or external command, operable program or batch file 'jupyter' 不是内部或外部命令、可运行程序或批处理文件 - 'jupyter' is not recognized as an internal or external command, operable program or batch file "'C:\\Users\\HP' 不是内部或外部命令、可运行程序或批处理文件" - 'C:\Users\HP' is not recognized as an internal or external command, operable program or batch file 'jupyter' 不是内部或外部命令,也不是可运行的程序或批处理文件。 也安装 jupyter 后 - 'jupyter' is not recognized as an internal or external command, operable program or batch file. after install jupyter also 'jupyter' 在 Windows 10 中未被识别为内部或外部命令、可运行的程序或批处理文件 - 'jupyter' is not recognized as an internal or external command, operable program or batch file in Windows 10 'pip3' 不是内部或外部命令,也不是可运行的程序或批处理文件 - 'pip3' is not recognized as an internal or external command, operable program or batch file 'pip'不被识别为内部或外部命令,可操作程序或批处理文件 - 'pip' is not recognized as an internal or external command, operable program or batch file 不是内部或外部命令、可运行的程序或批处理文件 - is not recognized as an internal or external command, operable program or batch file '{'不被识别为内部或外部命令,可操作程序或批处理文件 - '{' is not recognized as an internal or external command, operable program or batch file '。' 不被识别为内部或外部命令、可运行程序或批处理文件。 什么是 '。'? - '.' is not recognized as an internal or external command, operable program or batch file. What is '.'?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM