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

228
Vistas
Django project using python 2.7 even though interpretor points to python version 3.5

My project interpretor points to python version 3.5.2:

(/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5)

However when I go to the python shell in the project terminal (i'm using pycharm btw), it loads python 2.7. Any idea why?

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

0

You need to activate the same virtual environment PyCharm is using when you develop your project.

So, lets say you have a configuration like this:

PyCharm's project configuration

Then you open the terminal and do:

$ cd ~/Documents/dev/
$ source ./pavorai-env-pycharm/bin/activate
$ NOW RUN YOUR DJANGO PROJECT

You should be using the same environment PyCharm is using. Please do note that directory you are using WILL BE different than the one I am showing in this example.

about 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