Materials-Consortia / optimade-tutorial-exercises

Tutorial exercises for the OPTIMADE API
https://optimade.org
MIT License
15 stars 7 forks source link

Numpy not loading on Binder #6

Closed JPBergsma closed 2 years ago

JPBergsma commented 2 years ago

It seems that Binder no longer loads numpy for exercise7-oqmd-optimade-tutorial.ipynb I'll try to figure out why this happens this weekend. In the meantime people should use Colab or run the Jupyter notebook locally.

tachyontraveler commented 2 years ago

Binder requires that any extra python libraries to installed need to be in a requirements.txt file, as I have included in the original tutorial repo: https://github.com/tachyontraveler/oqmd-optimade-tutorial

JPBergsma commented 2 years ago

I had put the requirements.txt file at the same nesting level as the jupyter notebook file. Now that I placed it at the top most level it does seem to work. Although it is still strange that in the past it did work without the requirements file.

ml-evs commented 2 years ago

Looks like Binder updated this week (now uses JupyterLab interface by default), so maybe something else has changed under the hood that broke this.