Code: Select all
Error: Jupyter cannot be started. Error attempting to locate jupyter:
at A.startServer (c:\Users\[username]\.vscode\extensions\ms-python.python-2020.2.64397\out\client\extension.js:1:786120)
at async A.ensureServerAndNotebookImpl (c:\Users\[username]\.vscode\extensions\ms-python.python-2020.2.64397\out\client\extension.js:1:785575)
at async A.ensureServerAndNotebook (c:\Users\[username]\.vscode\extensions\ms-python.python-2020.2.64397\out\client\extension.js:1:785376)
at async A.submitCode (c:\Users\[username]\.vscode\extensions\ms-python.python-2020.2.64397\out\client\extension.js:1:782328)
at async A.reexecuteCell (c:\Users\[username]\.vscode\extensions\ms-python.python-2020.2.64397\out\client\extension.js:75:879318)
< /code>
Auch mit dem folgenden Fehler von VSCODE: < /p>
ⓘ konnte Kernel 'Python 3' nicht finden, mit dem das Notizbuch erstellt wurde. Re ... < /p>
ⓧ Jupyter Server stürzt ab. Keine Verbindung herstellen. Error code from jupyter: 1
(screenshot)
Below are some of the things I have tried:
[b]Check if the VSCode Extension in Correctly Installed[/b]
"Jupyter" extension is veraltet. Ich hatte das "Python" -Plugin von Microsoft installiert, das Jupiter-Notebook-Support enthielt.> python -m pip install --upgrade pip
> pip install jupyter
> pip install notebook
Code: Select all
> jupyter notebook //didn't work
jupyter : The term 'jupyter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ jupyter
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (jupyter:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
< /code>
Dies ergab einen Fehler, der nicht in der Lage war, Jupyter ausführbar zu finden.> python -m notebook
AS pro "https://stackoverflow.com/questions/603 ... nel-vs-cod" Ich probierte:
< Befehl+Umschalt+P zum Öffnen eines neuen Befehls pallete
Typ> Python: Wählen Sie den Jupyter Notebook -Server aus. /> Es gab diesen Kommentar zu PythonPath auf "https://stackoverflow.com/questions/199 ... t-director", aber das. Untersuchen Sie es weiter.>