martin-saurer / jkernel

Jupyter Notebook / J Integration
GNU General Public License v3.0
44 stars 15 forks source link

Ensure that jkernel.jkernel is recognized as a python module #5

Closed ph7 closed 8 years ago

ph7 commented 8 years ago

After following the install instructions, on my machine jkernel.jkernel would not be recognized as a module

python -m jkernel.jkernel
python: No module named jkernel

After a simple:

touch <anaconda-installation-folder>/lib/python2.7/site-packages/jkernel/__init__.py

I got it to work

python -m jkernel.jkernel
NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.
...

Hopefully checking in init.py can save some time to somebody else

BTW thanks so much for building & sharing this, It is wonderful to author rich notebooks with J!

martin-saurer commented 8 years ago

@ph7 Many thanks for this! I never tested it on Anaconda/Python2.7. I'm currently using Anaconda/Python3.5 only. But it's good to know that it works with 2.7 too.