"ImportError: No module named pkg_resources" on adagios install under debian wheezy

50 views
Skip to first unread message

arthur sherman

unread,
May 25, 2015, 4:43:57 PM5/25/15
to ada...@googlegroups.com
after installing adagios 1.6 on debian 7 wheezy, browsing to localhost/adagios gives "internal server error"
the apache error log shows the following:
mod_wsgi (pid=4331): Target WSGI script '/opt/adagios/adagios/apache/adagios.wsgi' cannot be loaded as Python module.
mod_wsgi (pid=4331): Exception occurred processing WSGI script '/opt/adagios/adagios/apache/adagios.wsgi'.
Traceback (most recent call last):
   File "/opt/adagios/adagios/apache/adagios.wsgi", line 11, in <module>
     exec open(adagios_path + "/../wsgi.py", "r")
   File "/opt/adagios/adagios/apache/../wsgi.py", line 20, in <module>
     from pkg_resources import require
 ImportError: No module named pkg_resources

i saw some thread on github that may be related to this, but i didn't see a conclusion.
any ideas?

tnx,
ams


Nicola Rauso

unread,
Feb 26, 2016, 5:39:14 AM2/26/16
to adagios
I think you have to install python setupstools on your machine then restart httpd.
Reply all
Reply to author
Forward
0 new messages