RPI-DATA / course-intro-ml-app

Introduction to Machine Learning Applications
https://rpi-data.github.io/course-intro-ml-app/
14 stars 12 forks source link

Cannot run Jupyter Book commands from Git Bash #4

Closed garcis2 closed 5 years ago

garcis2 commented 5 years ago

Attempting to run the build shell file (which will ultimately build the markdown for the website and push it to the repository) yields the follow error when trying to run a Jupyter Book command:

sjgar@SEBASTIAN-PC MINGW64 /c/Users/sjgar/Documents/RPI/clubs and activities/Metallography/course-in-ml-app (master)
$ bash -x build.sh
+ book=course-intro-ml-app
+ cd ../
+ jupyter-book build book --overwrite
build.sh: line 3: jupyter-book: command not found

I've made sure that Anaconda 3 is included in the system's environment variables, as well as trying to pass the path of Anaconda 3, but it still does not work. Does anyone know what might be happening here?

garcis2 commented 5 years ago

Figure it out; was running an outdated version of numpy which is required to run the build command. Performing a clean install of numpy fixed the problem.