enthought / enstaller

Default Repo description from terraform module
Other
0 stars 0 forks source link

Syntax error with egginst created file #17

Open JCorson opened 8 years ago

JCorson commented 8 years ago

This bug has come up when users attempt to install an R kernel into Canopy's Jupyter. Line 8 should read from jupyter_client.kernelspecapp import KernelSpecApp.

-> cat bin/jupyter-kernelspec                                                                                                                                                      12:51 [▶▶▶▶▶▶▶▶▶▶]
#!/Users/jcorson/Library/Enthought/Canopy_64bit/User/bin/python
# This script was created by egginst when installing:
#
#   jupyter_client-4.2.2-1.egg
#
if __name__ == '__main__':
    import sys
    from jupyter_client.kernelspecapp import KernelSpecApp.launch_instance

    sys.exit(KernelSpecApp.launch_instance())