Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More guidance re: how to create student notebooks #44

Open
pattyf opened this issue Jan 23, 2017 · 2 comments
Open

More guidance re: how to create student notebooks #44

pattyf opened this issue Jan 23, 2017 · 2 comments
Labels

Comments

@pattyf
Copy link
Collaborator

pattyf commented Jan 23, 2017

Hi @choldgraf , following your example notebook create_student_notebooks.ipynb I tried to create a student version of a notebook with an answer key on datahub.berkeley.edu but was unsuccessful. It cleared the output but didn't remove the code between ### SOLUTION BEGIN and ### SOLUTION END. I think my problem stems from this line import connectortools as ct. Neither nbgrader nor connectortools are installed on datahub.berkeley.edu. So my hack-around was to (1) !pip install nbgrader (not sure if that was wise) and (2) cut and paste the content of grading.py into a cell & run it. That created some errors that I attempted to fix. I got the code to run but the output wasn't as I expected. Any tips on how to run your connectortools in jupyter hub appreciated.
thanks, Patty

@anfals anfals closed this as completed Jan 23, 2017
@anfals anfals reopened this Jan 23, 2017
@choldgraf
Copy link
Collaborator

Hey @pattyf - I think a solution will be for me to create some interact links and make sure the demos work there as well. I'll put some time into this soon

@choldgraf
Copy link
Collaborator

hey all - the connectortools module is now updated and it should work if you click on the interact link that's provided on the connectortools README page. One caveat is that you'll need to install nbgrader in order to get this to work. You should be able to do this with pip install, and I've added a quick helper cell in the index.ipynb notebook to do this on a machine. In the future I think we may add it to the cluster automatically (see #46 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants