Forums

Mandrill not properly being installed

So I'm using mandrill to send emails and I attempted to install mandrill in bash by using pip install --user mandrill. Said that it installed properly but when I try to go on my website it gives me a "Unhandled exception" error and in the error logs it gives me this:

2015-09-29 03:57:08,996 :Traceback (most recent call last):
2015-09-29 03:57:08,997 :  File "/bin/user_wsgi_wrapper.py", line 134, in __call__
2015-09-29 03:57:08,997 :    self.error_log_file.logger.exception("Error running WSGI application")
2015-09-29 03:57:08,997 :  File "/usr/lib/python2.7/logging/__init__.py", line 1185, in exception
2015-09-29 03:57:08,997 :    self.error(msg, *args, **kwargs)
2015-09-29 03:57:08,997 :  File "/usr/lib/python2.7/logging/__init__.py", line 1178, in error
2015-09-29 03:57:08,997 :    self._log(ERROR, msg, args, **kwargs)
2015-09-29 03:57:08,998 :  File "/usr/lib/python2.7/logging/__init__.py", line 1270, in _log
2015-09-29 03:57:08,998 :    record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
2015-09-29 03:57:08,998 :  File "/usr/lib/python2.7/logging/__init__.py", line 1244, in makeRecord
2015-09-29 03:57:08,998 :    rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
2015-09-29 03:57:08,998 :  File "/usr/lib/python2.7/logging/__init__.py", line 284, in __init__
2015-09-29 03:57:08,998 :    self.threadName = threading.current_thread().name
2015-09-29 03:57:08,998 :  File "/usr/lib/python2.7/threading.py", line 1160, in currentThread
2015-09-29 03:57:08,999 :    return _active[_get_ident()]
2015-09-29 03:57:08,999 :  File "/bin/user_wsgi_wrapper.py", line 126, in __call__
2015-09-29 03:57:08,999 :    app_iterator = self.app(environ, start_response)
2015-09-29 03:57:08,999 :  File "/bin/user_wsgi_wrapper.py", line 140, in import_error_application
2015-09-29 03:57:08,999 :    raise e
2015-09-29 03:57:08,999 :ImportError: No module named mandrill

anyone know how to fix this issue?

Have you reloaded the web app since you installed mandrill? If so, what happens if you try import mandrill from a Python 2.7 console?