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?
#1
I must be doing this wrong:

I'm in ubuntu 18.04.2

I'm figuring out to setup uwsgi according to this:

https://uwsgi-docs.readthedocs.io/en/lat...nginx.html

And it's working so far but it's running python 2.7.15; I want it to run 3.6 (which is already installed on my machine) instead.

When I run virtualenv to make a new environment to run uwsgi in, and I go into the virtualenv the default "python --version" is still python 2.7.15. (Outside of the virtualenv python --version is 3.6)

There's gotta be a way to change that to 3.something right?

Btw I haven't even tried to integrate it with nginx yet, so this is just raw uwsgi.

thanks.
Reply


Messages In This Thread
Can I make virtualenv (and/or uwsgi) use python 3.6 instead of 2.7? - by david503 - Nov-06-2019, 05:26 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,586 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,442 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