[uWSGI] uwsgi 2.0.15 doesnt import paths from easy-install.pth

Etienne Robillard tkadm30 at yandex.com
Sat Nov 11 23:29:27 UTC 2017

I found the problem. I had multiple python interpreters installed on my 
production site. Setting the variable PYTHONHOME=/usr corrected the issue.

Sorry for the noise.


Le 2017-11-11 à 17:12, Etienne Robillard a écrit :
> Hi Roberto,
> In production mode I have an issue to import python2.7 modules 
> installed inplace with setuptools.
> I noticed that all packages listed in easy-install.pth are potentially 
> affected.
> The workaround I found is to remove the egg(s) from the dist-packages 
> directory and reinstall the package(s) with pip, however this is a 
> true PITA...
> Can someone please investigate this issue ? I don't experience this 
> problem in development mode however.
> TIA,
> Etienne

Etienne Robillard
tkadm30 at yandex.com

More information about the uWSGI mailing list