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

Use jupypter-pip to install notebook extension js automatically during setup.py #97

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jchuahtacc
Copy link

Automatically installs qgridjs to nbextensions using jupyter-pip. No need for separate nbinstall function call.

@TimShawver
Copy link
Contributor

I get the following error when I try to run pip install -e . on your branch:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/Users/tshawver/repo/qgrid-master/setup.py", line 60, in <module>
        cmdclass=cmdclass('qgrid/qgridjs'),
      File "/usr/local/lib/python2.7/site-packages/jupyterpip/__init__.py", line 50, in cmdclass
        from IPython.html.nbextensions import install_nbextension
    ImportError: No module named IPython.html.nbextensions

Any idea on how to fix it? Seems like jupyter-pip is looking in the old location for the nbextensions module.

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

Successfully merging this pull request may close these issues.

2 participants