Installing Python pymssql Module

From PeformIQ Upgrade
Revision as of 18:24, 23 February 2016 by PeterHarding (talk | contribs) (Created page with "=Problems= ==Cygwin== Looked like it installed OK. <pre> $ pip install pymssql Collecting pymssql Downloading pymssql-2.1.2.tar.gz (898kB) 100% |███████...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Problems

Cygwin

Looked like it installed OK.

$ pip install pymssql
Collecting pymssql
  Downloading pymssql-2.1.2.tar.gz (898kB)
    100% |████████████████████████████████| 901kB 134kB/s
Building wheels for collected packages: pymssql
  Running setup.py bdist_wheel for pymssql ... done
  Stored in directory: /home/aasdev/.cache/pip/wheels/08/df/03/0c92949cb5ecc9002cb965d135f1dec326cb7881f3e0bb80be
Successfully built pymssql
Installing collected packages: pymssql
Successfully installed pymssql-2.1.2

Windows

When I attempt to run a windows script which imports pymssql it fails:

Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:40:30) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymssql
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.
>>>