Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

333
Vistas
Python interpretor returns error for FASTAPI - **extra: Any,

I'm having trouble executing fastapi under WSL. I'm using:

  • WSL2
  • Ubuntu 16.04.7 LTS
  • Python 3.5.2 (using Visual Studio Code interpretor)
  • fastapi - 0.73.0
  • uvicorn - 0.8.6

I'm getting an error when I execute the uvicorn command -

**extra: Any,

  • see attached image.

I'm stuck on this for a while so any ideas would be strongly appreciated.

I tried updating python interpretor to newer version (3.9) but for some reason I did not succeed - see pls the second attached screenshot.

enter image description here

enter image description here

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

FastAPI requires python 3.6 and won't work with Python 3.5 as you've found out.

The ubuntu version you're using does not have a new enough Python version by default. You can either install a more recent Python version in Windows, upgrade your Ubuntu version or use the deadsnakes ppa to get access to newer versions of Python on older Ubuntu versions (or the other way around if you need old Python versions on more recent versions of Ubuntu).

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda