Showing posts with label troubleshooting. Show all posts
Showing posts with label troubleshooting. Show all posts
Troubleshooting pymssql installation on Ubuntu
Ozzie
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!
6:39 PM
mssql
,
python
,
troubleshooting
Subscribe to:
Posts
(
Atom
)
