Forums

No module named .....

Here is my error message

2017-04-14 20:20:54,631 :Exception on /workingwithsqlserver [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.4/dist-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/theburntcity/mysite/flask_app.py", line 34, in workingwithsqlserver
from core import presentation
File "/home/theburntcity/mysite/core.py", line 1, in <module>
import pymssql
ImportError: No module named 'pymssql'

I have looked at what modules are installed pymssql is one of them.

So what am I missing?

do you have pymssql installed to python3.4? and are you using a virtualenv?

I have installed pymssql and I have setup my virtaulenv.

the traceback shows that you are not using your virtualenv. have you set it up on the virtualenv tab and restarted your webapp?