-
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
Can't start Python interactive viewer for Jupyter cell #3794
Comments
Some more info:
|
@rchiodo @pauloneves
|
The error persists.
Checked this way:
Some paths were printed. I removed 2. Other two were
There's none. The little code above now doesn't print anything. |
The linked bugs say that VSCode complains that Jupyter is not installed. I've also got this error and installed jupyter with If I start VSCode outside the conda virtual env, it complains again that Jupyter is not installed. I installed Jupyter outside any env, restart VSCode and it still complains. I had a similar problem with |
I think the root cause is this: http://(i7 or 127.0.0.1):8888/?token=6d81d530b1ffe2413845b87d86a3372c4d9b63f50ad6a2d8 We match on a regex that expects something like this: http://127.0.0.1:8888/?token=6d81d530b1ffe2413845b87d86a3372c4d9b63f50ad6a2d8 Not sure why you have a different output than others, but we'll have to search for different strings for the startup to work. |
I've already changed this configuration. Now it starts with a standard
127.0.0.1 ip. The problem persists. Later today I'll post the new log.
Paulo Eduardo Neves
Em qua, 14 de nov de 2018 23:19, Rich Chiodo <[email protected]
escreveu:
… I think the root cause is this:
http://(i7 or
127.0.0.1):8888/?token=6d81d530b1ffe2413845b87d86a3372c4d9b63f50ad6a2d8
We match on a regex that expects something like this:
http://127.0.0.1:8888/?token=6d81d530b1ffe2413845b87d86a3372c4d9b63f50ad6a2d8
Not sure why you have a different output than others, but we'll have to
search for different strings for the startup to work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/Microsoft/vscode-python/issues/3332#issuecomment-438880180>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AANfnBV0-neJ1amNHOn998rF8KvHXE4nks5uvME1gaJpZM4Yczf->
.
|
Actually the regex doesn't match 127.0.0.1 either. It assumes localhost: This is the regex. |
In addition to handling the IP case we need to handle the OR case. User can also change the display URL manually: |
I changed the url to localhost and everything worked!!! Thanks! |
@pauloneves. With this PR: microsoft/vscode-python#3386 |
Environment data
Actual behavior
Try to execute cell in imported python notebook. Python interactive doesn't start and freezes.
Expected behavior
The selected cell should have been executed in the Python Interactive pane.
Steps to reproduce:
Open VSCode from an activated conda env in a dos shell
Right click a .ipynb file and select "Import Jupyter Notebook"
In the first code cell of the imported file file there is a Run Cell option.:
Click Run Cell and in the status bar appears a message that the Jupyter Server is starting:
The editing pane is vertically split and a new tab named "Python Interactive" appears with a blue bar moving horizontally
Nothing happens, Code isn't executed. blue bar keeps rolling. Status bar stays with "starting..." message.
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)In the log below, there is an error (I don't have any Anaconda in C:)
There is the complete log.
The text was updated successfully, but these errors were encountered: