Closed DaneWeber closed 8 years ago
@Fluffums Unfortunately I cannot reproduce this issue at this time, neither on Windows, Mac, or Linux. There are a lot of differences between @adrian17's jkernel and my version. Have you tried the following command: python -m jkernel.jkernel If this gives you the same error message, there must be something with the anaconda installation. Do you have both jkernels installed @adrian17 and my version? May be they disrupt each other (or just mine ;-)
a related question, and possible resolution, could this be renamed qjkernel? Can we do this manually?
starting jupyter notebook from the Lib/site-packages/jkernel folder does show "J" as a notebook. But kernel dies with "error finding jkernel.jkernel spec"
@Fluffums @Pascal-J Finally I can reproduce this issue. To me it looks it has something to do with the python search path (sys.path).
If you cd to: ...\Anaconda3\Lib\site-packages\jkernel or: ...\Anaconda3\Lib\site-packages\ and run: python -m jkernel.jkernel you will get the error: Error while finding spec for 'jkernel.jkernel' (<class 'AttributeError'>: module 'jkernel' has no attribute 'path')
Try the same from your home directory: C:\Users\Martin (for example) It should work now.
Starting: jupyter notebook from C:\ will also not do. You will get a: 404 : Not Found in your browser (not jkernel related). It seems that the startup directory has some (strange) effects, when starting jupyter notebook.
@Pascal-J Sure, you may rename the jkernel stuff to qjkernel (or what ever you wish ;-) as long as you rename all the related stuff consistently.
Naming suggestion: how about "Jlang"?
Just running jupyter notebook
from C:\Users\danew
still produced the error. I'll try going through fresh install steps on a clean Windows machine to see if I'm consistent.
I also just installed this on a fresh Linux machine and the kernel is dying for another reason...
@Fluffums That's weird! I run this stuff on Mac, Windows, Linux, and everything works right out of the box. For me, it's a bit like fishing in troubled waters ;-)
My OS-Environment: Windows: Windows 10 32/64-bit English MacOSX: 10.11.4 Linux: Ubuntu 14.04 64-bit
Latest Version of Anaconda3, with all the updates, but no additional packages from outside the Anaconda distribution.
I'm thinking about renaming jkernel to Jlang ...
FYI Martin's suggestion of starting the notebook from my home folder resolved this error for me (I'm on a Mac).
@martin-saurer - Wow. I finally got around to trying this again, and I got it working. I ran into a similar bug as before, but figured out it was due to a typo in the J install path in qjide.cfg. If I run into new issues using your JLang kernel in Jupyter, I'll open a new issue. Thank you for doing this!
I get the following error when attempting to start the jkernel:
C:\Users\danew\Anaconda3\Lib\site-packages\jkernel\qjide.cfg
contains the following line:JInsFol = 'C:\\Users\\danew\\Google Drive\\Code\\j64-804'