Friday, 4 October 2019

uWsgi wont get detected if its not a system wide install

totally DUH !! moment --

uWsgi wont get detected if its not a system wide install and has been installed in the Virtual Env - in my case the CONDA / MINICONDA Venv .






dhankar@dhankar-VPCEB44EN:/etc/nginx/sites-available$ uwsgi --version
The program 'uwsgi' can be found in the following packages:
 * uwsgi-core
 * uwsgi-plugin-alarm-curl
 * uwsgi-plugin-alarm-xmpp
 * uwsgi-plugin-curl-cron
 * uwsgi-plugin-emperor-pg
 * uwsgi-plugin-gccgo
 * uwsgi-plugin-geoip
 * uwsgi-plugin-glusterfs
 * uwsgi-plugin-graylog2
 * uwsgi-plugin-jvm-openjdk-8
 * uwsgi-plugin-ldap
 * uwsgi-plugin-lua5.1
 * uwsgi-plugin-lua5.2
 * uwsgi-plugin-luajit
 * uwsgi-plugin-mono
 * uwsgi-plugin-php
 * uwsgi-plugin-psgi
 * uwsgi-plugin-python
 * uwsgi-plugin-python3
 * uwsgi-plugin-rack-ruby2.3
 * uwsgi-plugin-rados
 * uwsgi-plugin-router-access
 * uwsgi-plugin-sqlite3
 * uwsgi-plugin-v8
 * uwsgi-plugin-xslt
Try: sudo apt install <selected package>
dhankar@dhankar-VPCEB44EN:/etc/nginx/sites-available$ whereis uwsgi
uwsgi:
dhankar@dhankar-VPCEB44EN:/etc/nginx/sites-available$ conda activate dc_info_venv
(dc_info_venv) dhankar@dhankar-VPCEB44EN:/etc/nginx/sites-available$ whereis uwsgi
uwsgi: /home/dhankar/anaconda2/envs/dc_info_venv/bin/uwsgi
(dc_info_venv) dhankar@dhankar-VPCEB44EN:/etc/nginx/sites-available$ uwsgi --version
2.0.17.1

No comments:

Post a Comment