I have written a program in Python which was done on windows. And in the windows test environment worked fine. Now I am setting up a linux server to internally host the program. I have installed all the dependencies etc from a generated requirements file but when I run it I come on a problem,
ImportError: No Module Named 'pysqlite2'.
I have extensively googled this issue and have not found a solution. Can anyone tell me how to fix this problem from code below? I cannot upload an image due to reputation isnt high enough. Any help would be greatly appreciated. If any other information is needed just comment and I will upload.
File "/home/ryan/python_p/venv/lib/python3.4/site-packages/sqlalchemy/dialects/sqlite/pysqlite.py", line 334, in dbapi
from pysqlite2 import dbapi2 as sqlite
ImportError: No Module named 'pysqlite2'
As far as I understand it sqlite either is not compatible or has compatibility issues?
Another issue that I think is directly related is when inside the virtual environment and I try pip3.4 install pysqlite i get
SyntaxError: Missing Parenthesis in call to 'Print
Its suggests install Sphinx which I did but did not cure.
I think these two issues are directly related and by curing ine should be able to cure the other.