Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.3K
Views
servidor jupyter: no iniciado, sin kernel en código vs

Estoy tratando de usar jupyter notebooks desde el código vs e instalé la extensión de jupyter notebook y estoy usando (base) el entorno conda para la ejecución. mientras esto sucedio

 Error: Jupyter cannot be started. Error attempting to locate jupyter: at A.startServer (c:\Users\DELL\.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:1:784356) at async A.ensureServerAndNotebookImpl (c:\Users\DELL\.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:1:783811) at async A.ensureServerAndNotebook (c:\Users\DELL\.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:1:783612) at async A.submitCode (c:\Users\DELL\.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:1:780564) at async A.reexecuteCell (c:\Users\DELL\.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:75:879318)

estado del cuaderno jupyter

Cómo resolver este problema ?

over 4 years ago · Santiago Trujillo
11 answers
Answer question

0

Tuve exactamente el mismo problema cuando instalé Visual Studio Code e intenté ejecutar código Python desde un cuaderno jupyter en mi nuevo Ubuntu 18.04.

Cómo lo resolví:

1) Presione Command+Shift+P para abrir una nueva paleta de comandos

2) Escriba >Python: Select Intepreter to start jupyter notebook server

3) Abra el cuaderno de nuevo

Y funcionó bien. Espero que funcione para ti.

over 4 years ago · Santiago Trujillo Report

0

  1. Presiona Command+Shift+P en Mac, Ctrl+Shift+p en Windows

  2. Escriba Python: Select Interpreter to start Jupyterserver

  3. Le mostraría un menú desplegable de las versiones de python instaladas.

  4. Elegí python 3.7.5 y funcionó para mí, puede elegir la versión de python instalada en su máquina.

over 4 years ago · Santiago Trujillo Report

0

Enfrenté el mismo problema y esto resolvió mi problema https://www.reddit.com/r/vscode/comments/eq2bfv/vs_code_jupyter_server_no_kernel_python_not/ espero que esto ayude

over 4 years ago · Santiago Trujillo Report

0

Intenté lo siguiente:

  1. Presione Command + SHIFT + P
  2. Escriba Python: Select Interpreter to start Jupyterserver

Espero que esta respuesta haya sido útil.

over 4 years ago · Santiago Trujillo Report

0

Tengo varias versiones de Python instaladas. A mi me pasaba lo mismo y lo he arreglado de esta manera. Ctrl+Shift+p y seleccione Python: Seleccione Intérprete para iniciar el servidor Jupyter ingrese la descripción de la imagen aquí

Luego, seleccione la versión bajo Visual Studio Code ingrese la descripción de la imagen aquí

No pasará nada y luego presione de nuevo Ctrl+Shift+p y seleccione Python: Create new Blank Jupyter Notebook. Y funciona

Incluso configuré la versión de Python en 3.8 en la parte inferior y también funcionó con las nuevas funciones print(a:=4) a pesar de que la versión que elegí era 3.7.5. Sin embargo, tengo que almorzar VS Code de Anaconda Navigator.

ingrese la descripción de la imagen aquí

over 4 years ago · Santiago Trujillo Report

0

Asegurándose de que en VS Code settings.json

"python.condaPath": "C:\\Program Files\\miniconda3\\Scripts\\conda.exe"

está apuntando al directorio correcto. Me lo resolvió.

over 4 years ago · Santiago Trujillo Report

0

He visto todas las soluciones posibles pero no funcionan, finalmente solo actualizo jupyter , notebook y jupyterlab , como pip3 install -U jupyterlab , ¡y puedo elegir el kernel en VScode!

over 4 years ago · Santiago Trujillo Report

0

En mi caso, tenía el servidor funcionando en 3.7.6, pero también quería usar versiones >3.8.0. Después de varios intentos, que fracasaron, decidí:

  1. Desinstale 3.8.5 y elimine la carpeta en el directorio de instalación.
  2. Desinstale VSCode también.
  3. Reinicie la PC y vuelva a instalar Python y VSCode. Como resultado, el servidor Jupyter se inició automáticamente en función de la última versión de Python.

¡Espero que esto también ayude! ¡Salud!

over 4 years ago · Santiago Trujillo Report

0

solo arregla esto agregando

"python.terminal.activateEnvironment": falso,

a configuración.json

espera esta ayuda.

over 4 years ago · Santiago Trujillo Report

0

Instalé anaconda y seleccioné python kernal que venía con eso como mi intérprete (ctrl + shift + p) que resolvió mi problema.

over 4 years ago · Santiago Trujillo Report

0

acabo de tener el mismo problema y no ayudó a actualizar el intérprete dentro de vscode. Lo que ayudó fue: ¡Comprueba tus dependencias dentro de pip! Parece que surgieron nuevas dependencias con la última actualización de python, que no están instaladas. Para mí esto fue pigmentos:

jupyter-console 6.2.0 requiere pigmentos, que no está instalado.

Solución Linux paso a paso:

 xyz@xyz-pc-ubuntu:~$ pip3 check qtconsole 4.7.6 requires pygments, which is not installed. nbconvert 5.6.1 requires pygments, which is not installed. jupyter-console 6.2.0 requires pygments, which is not installed. ipython 7.18.1 requires pygments, which is not installed. xyz@xyz-pc-ubuntu:~$ pip3 install pygments Successfully installed pygments-2.7.2

Posteriormente, jupyter encontró automáticamente el intérprete de python actualizado.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!