Python Forum
Can I make virtualenv (and/or uwsgi) use python 3.6 instead of 2.7?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I make virtualenv (and/or uwsgi) use python 3.6 instead of 2.7?
#7
(Nov-09-2019, 11:02 AM)Larz60+ Wrote: did you activate the virtual environment?
from command line (Linux), command is:
. ./venv/bin/activate
check with
Python -V

You know what's really odd- suddenly I can't reproduce the results I pasted in my last question. I mean either when I'm in the venv or not. That makes no sense.

The only thing I can think of is that I had logged out of my session (as in the entire ubuntu session, not just CLI login). Would that change anything?

Anyway now I get:

Python version: 3.6.8 (default, Oct 7 2019, 12:59:55) [GCC 8.3.0]

I have this sinking feeling 2.7 will come back somehow...

Thanks
Reply


Messages In This Thread
RE: Can I make virtualenv (and/or uwsgi) use python 3.6 instead of 2.7? - by david503 - Nov-10-2019, 02:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  What do I put in the "module" argument in a uwsgi.ini file? david503 0 2,546 Nov-10-2019, 04:00 AM
Last Post: david503
  How to point a subdomain to run applications using virtualenv on ec2 (AWS) JohnnyCoffee 0 1,417 Oct-02-2019, 12:43 AM
Last Post: JohnnyCoffee

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020