Python - Unix commands not recognized in Jupyter

Viewed 7388

I have installed Git Bash, python 3.6 and Anaconda for the course which requires me to use Unix commands within Jupyter, such as !ls, !cat, !head etc. However, for each of these commands I get (e.g.):

'ls' is not recognized as an internal or external command, operable program or batch file.

I am using Windows 10. What can I do to be able to proceed with the course? Thanks!

3 Answers

If you are running Jupyter Notebook in Windows run conda install posix.

It worked for me.

Related