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

225
Views
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 answers
Answer question

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 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!