Troubleshooting pymssql installation on Ubuntu
Installing pymssql on Ubuntu 13.10 was not an easy task. Trying to install directly from the .egg file gave an UCS2-UCS4 incompatibility error. So I installed it from source.
After installing the FreeTDS packages, the process was as follows:
- Get source from https://github.com/pymssql/pymssql
- Error: _mssql.c:8:22: fatal error: pyconfig.h: No such file or directory
- Install Python development libraries: sudo apt-get install python-dev
- Error: _mssql.c:314:22: fatal error: sqlfront.h: No such file or directory
- Install freeTDS development libraries: sudo apt-get install freetds-dev
- Install pymssql from the unzipped source directory: sudo python setup.py install
Success!
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment