enthought / enthought/enstaller
Syntax error with egginst created file
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
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())
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the generated bin/jupyter-kernelspec script shown in the report, then trace egginst's script-generation path for jupyter_client-4.2.2-1.egg. Confirm the generated import is valid Python and reproduce the R-kernel installation in Canopy's Jupyter; done means the installed script contains the reported corrected import and runs without a syntax error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100