When using uWsgi to build a django server, the Python version of anaconda is incorrect

when I install anaconda, on the server and run python, the prompt version number is 3.6.4
but when I use uwsgi, I report an error Internal Server Error
I read the prompt,-no python application found, check your startup logs for errors-

looked through log, and found that the python environment used is 2.7
how to adjust the configuration here? Use uwsgi when using anaconda

Thank you very much

Feb.28,2021

specify the full path when starting uwsgi, / usr/anaconda3/bin/uwsgi-- ini uwsgi.ini


solved the problem
previously used pip installation
idea has not been changed
use conda to install it, anaconda will set up other things.

Thank you for other answers

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be8ea7-3193b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be8ea7-3193b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?