Hallo zusammen
Ich entwickle gerade eine WebApp mit Python Flask. Dafür habe ich immer eine lokale MySQL (XAMPP) DB gebraucht. Produktiv wird das ganze über Azure mit einer MSSQL laufen. Ich habe mich da versucht eine Verbindung herzustellen mit PYMSSQL (Entwicklungsumgebung: Windows 10). Dabei bekomme ich den
Dabei habe ich diese Anleitung verfolgt: https://azure.microsoft.com/en-us/documentation/articles/sql-database-develop-python-simple-windows/
Das pymssql Modul ist Mithilfe von PIP installiert sowie FreeTDS.
Was mache ich falsch? Muss ich die FreeTDS DLL's dorthin kopieren?
Besten Dank für die Hilfe
n0NamE
Ich entwickle gerade eine WebApp mit Python Flask. Dafür habe ich immer eine lokale MySQL (XAMPP) DB gebraucht. Produktiv wird das ganze über Azure mit einer MSSQL laufen. Ich habe mich da versucht eine Verbindung herzustellen mit PYMSSQL (Entwicklungsumgebung: Windows 10). Dabei bekomme ich den
Code:
(venv) C:\Users\blubb\Documents\PythonProgram\bst>python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 2, in <module>
from app import create_app, db
File "C:\Users\blubb\Documents\PythonProgram\bst\app\__init__.py", line 7, in <module>
from config import config
File "C:\Users\blubb\Documents\PythonProgram\bst\config.py", line 2, in <module>
import pymssql
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
Dabei habe ich diese Anleitung verfolgt: https://azure.microsoft.com/en-us/documentation/articles/sql-database-develop-python-simple-windows/
Das pymssql Modul ist Mithilfe von PIP installiert sowie FreeTDS.
Was mache ich falsch? Muss ich die FreeTDS DLL's dorthin kopieren?
Besten Dank für die Hilfe
n0NamE