tdaff / remote_ikernel

All your Jupyter kernels, on all your machines, in one place.
https://pypi.org/project/remote_ikernel/
BSD 2-Clause "Simplified" License
16 stars 14 forks source link

When installed from pip, remote_ikernel points to developer's virtualenv #6

Closed tdaff closed 9 years ago

tdaff commented 9 years ago

Original report by Mike Boyle (Bitbucket: moble, GitHub: moble).


I installed from pip with pip install remote_ikernel, as suggested in the readme, and ran remote_ikernel manage. I got an error from bash saying that the command line didn't make sense. I tracked it down to the wheel .whl on pypi, which starts with the #! line

#!/home/tdd20/.local/Virtualenvs/rik/bin/python

Oddly enough, the .tar.gz on pypi does not have this; instead, it starts with /usr/bin/env python. I changed it to that on my installation, and it works correctly.

tdaff commented 9 years ago

Original comment by Tom Daff (Bitbucket: tdaff, GitHub: tdaff).


Thanks for the bug report, and for tracking down where the issue is!

It looks like building the wheel causes the shebag line to get altered [stackoverflow]. Since the code should install fine from source, I've just deleted the wheel from pypi.

tdaff commented 9 years ago

Original comment by Mike Boyle (Bitbucket: moble, GitHub: moble).


Thanks! Great piece of code by the way. I love this.