问题:在配置运行阿里云的时候,uwsgi的配置文件本来在centos上运行良好,
当布置到阿里云上的时候,出现标题的错误。uwsgi no python application found
解决方法:
于是开始找django的环境,使用pip show可以看到django安装的location:
找到django与pytz的location
pip show django|grep -i location
pythonpath=/root/conda/envs/pyweb/lib/python3.6/site-packages
pip show pytz|grep -i location
pythonpath=/root/conda/envs/pyweb/lib/python3.6/site-packages
加入到uwsgi配置文件中,uwsgi就能正常启动了。