-
Notifications
You must be signed in to change notification settings - Fork 293
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
Test jupyter kernel completions in web #10166
Comments
Your version of jupyter may not support that command line. Try running You do need the [W 2022-05-31 09:22:57.678 LabApp] 'allow_origin' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. |
It looks like you don't have full jupyter installed. Or your environment is not the same as the one you used before. It's not finding notebook either, nevermind the option required. How did you install it? What version of python is this? |
LGTM. For the completions, I had to first run the cell, and then I got completions, but I was working in an untitled notebook. For the environment, I set up a new venv environment, activated it, and then installed a bunch of libraries. On Windows, I ran the following commands in a new folder specifically for this issue: python -m venv .venv
.\.venv\Scripts\activate
python -m pip install jupyterlab notebook voila pandas I then ran the step 3 jupyter command as-is. |
Yes the completions here only work after running a cell. They require an active kernel. |
@rchiodo I just followed the steps @rzhao271 provided and I still get the same error. So here are the exact steps
And I get the error from yesterday Let me try to swap with somebody for a test plan item... |
Maybe your version of python is 2.7. It's no longer supported but is the default on Mac I think. |
When I do |
What about this? |
Maybe |
which I wonder what I did wrong in the installation... |
Oh maybe it was installing jupyterlab. That doesn't have jupyter notebook as part of it. Usually I install just plain 'jupyter' and that pulls in a whole bunch of stuff. |
Ok I have fixed jupyter-notebook, so now that works
However running |
Okay super weird. Wait, you're using .pyenv? That's not likely the matching/correct jupyter. Certainly not the same one you showed before. |
Yes, I started using .pyenv out of desperation because I could not get things to work. |
We finally figured it out. For some reason on Isidor's machine, it needs this |
Thanks for all the help here, appreciate it. |
Testing the jupyter web extension providing completions when typing in a notebook.
Refs: #9977
Complexity: 3
Authors: @rchiodo
Create Issue
Requirements
Pre test steps
jupyter notebook --no-browser --NotebookApp.allow_origin=*
Test kernel completions
df.
should list the columsn of the dataframe.The text was updated successfully, but these errors were encountered: