我已经为类(class)安装了 Git Bash、python 3.6 和 Anaconda,这要求我在 Jupyter 中使用 Unix 命令,例如 !ls、!cat、!head 等。 但是,对于这些命令中的每一个,我得到(例如):
'ls' is not recognized as an internal or external command, operable program or batch file.
我使用的是 Windows 10。我该怎么做才能继续学习这门类(class)? 谢谢!
最佳答案
请不要使用类(class)中提到的 !ls。 在 jupyter 笔记本中使用 %ls,它工作正常。 希望对您有所帮助。
关于Python - Jupyter 无法识别 Unix 命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45599187/