Disable
ENABLE_USER_SITE and then re-install the package, it would be installed in machine level directory, and then it would be accessible via php also (www-data user)
How to disable
ENABLE_USER_SITE
open:
/usr/lib/python2.7/site.py
and change ENABLE_USER_SITE = None
to ENABLE_USER_SITE = False
This url is also having good info about package import:
No comments:
Post a Comment