-
-
Notifications
You must be signed in to change notification settings - Fork 120
-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Coconut w/IPython (in a Python3 virtualenv) as described in the tutorial doesn't work #163
Comments
@x10an14 Yes, the dependency is on Jupyter not IPython. By itself IPython no longer provides support for alternate kernels such as Coconut--that support was moved to Jupyter. The problem should be resolved if you |
@evhub Hi! And thanks for the prompt reply! I did attempt the command after installing Jupyter via PIP, but I got a very similar (if not the same as the one below) error message. I'm currently at work, where I've only got access to Windows, but here's an attempt using Windows, an attempt which includes installing Jupyter in the same fashion as IPython:
Another gist showing the full attempt (including install and pip freeze); Here. |
If I could be so bold as to hazard a guess, it looks to me like it's presumed that Jupyter is available through the 'machine' PATH, when this is all installed in a virtualenvironment, and an "non-activated" one at that. |
@x10an14 Ah! Yup, I think you're exactly correct. From the
|
@x10an14 There's not much I can do to really fix this error, since |
@evhub Ahh, allright. Well, then I'd recommend editing the documentation to reflect this limitation when using Coconut in a virtualenv =) Good job, I'm very impressed with this project, and look forward to getting familiar with it! |
Hmmm... Even after installing Jupyter on the 'machine PATH', I can't get the console to open successfully (on Windows). I get further, but I still don't get an interactive console opened, which supports Coconut:
Continuation of previous link in above comment can be found here: I have no experience with Jupyter, only used IPython before, so I feel that I've got to ask:
Obviously I did manage to install it on the 'machine PATH' (as I've been referring to it), since I got further than the last reported attempt, but I'm starting to feel pretty stumped here. Should I perhaps go ask Jupyter if they can help me? (I followed the instructions here to install Jupyter through PIP, putitng the resulting executable on the machine PATH). |
@x10an14 I think your problem is that you aren't activating your virtualenv, since not only jupyter, but also coconut itself, needs to be accessible on the command line for
which is Coconut testing to make sure it can call itself on the command-line. The following worked for me on windows:
And thanks! Feel free to stop by Coconut's Gitter if you have any other questions you want to ask. |
@x10an14 I've been experimenting with this more, and I think I've found an actual bug now as well--it seems that Coconut is working nicely with Jupyter console 4.1.1, but breaking with Jupyter console 5.0.0. I'm keeping this open to try to investigate that breakage, and make sure that in the future For now, if you still can't get the Jupyter console to work, try:
|
@evhub Thanks so much for your indulging my newbish questions, and your time and efforts! I didn't get your steps listed here to work, but I'll make an extra effort to check if I somehow messed up (I tried your steps on Linux). If I can't, I'll get on Gitter as requested! =) Thanks again for all your help and patience! |
@evhub Thanks for your continued help at your previously linked Gitter channel!
Edit 1: Step 4 can also read |
Tutorial link; Here.
Full attempt; Here.
Relevant error-messages and commands invoking them:
PIP packages installed:
It is (as far as I could tell while skimming over, excited to try coconut) that jupyter needs to be installed, for the successful invocation of an IPython console with Coconut invoked with the following command:
Is this the case? If so, I would suggest perhaps editing the tutorial/documentation to reflect this.
Please let me know if there's anything else I've misunderstood, or any other information I can supply to clarify what's going wrong.
(As the 2nd link at the top shows, it works to execute coconut code from inside an ipython console, but that seems a bit cumbersome, no? At least if what you're (I'm) after is an interactive console).
The text was updated successfully, but these errors were encountered: