Reputation: 127
I use this link for config Azure Sql Server (sql_server.pyodbc) for my website. I use Python 64 bit. pyodbc - used for 32 bit.
If I use sql_server.pyodbc, error is
Unknown command: 'syncdb'
Type 'manage.py help' for usage.
The Python REPL process has exited
How I can change pip pyodbc to 64 bit, or used anther pip?
Upvotes: 0
Views: 274
Reputation: 24138
There was a answered thread about How to install pyodbc 64bit
that can help solving the issue. Please refer to the thread How to install pyodbc 64-bit?.
You can find the 64bit pyodbc whl file in the unoffical
python module list at http://www.lfd.uci.edu/~gohlke/pythonlibs/ and try to use it.
If it not works, I suggest you can try to use the pymssql
package instead of the pyodbc
package for Azure SQL Database, please refer to the doc https://azure.microsoft.com/en-us/documentation/articles/sql-database-develop-python-simple-windows/.
Upvotes: 1
Reputation: 3328
Download sql_server source package, and run "python setup.py install"
Upvotes: 0