denisenkom / django-sqlserver

Django backend for MSSQL server using pytds or adodb backend (moved here from https://bitbucket.org/cramm/django-sqlserver)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to install pymssql in windows 10

nishanth6 opened this issue · comments

C:\Windows\system32>pip install pymssql

Collecting pymssql
  Using cached pymssql-2.1.3.tar.gz
Installing collected packages: pymssql
  Running setup.py install for pymssql ... error
    Complete output from command c:\users\vitriv-desktop\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\VITRIV~1\\AppData\\Local\\Temp\\pip-build-3eryhq60\\pymssql\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\VITRIV~1\AppData\Local\Temp\pip-g1vedqw8-record\install-record.txt --single-version-externally-managed --compile:
    setup.py: platform.system() => 'Windows'
    setup.py: platform.architecture() => ('32bit', 'WindowsPE')
    running install
    running build
    running build_ext
    building '_mssql' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

    ----------------------------------------
Command "c:\users\vitriv-desktop\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\VITRIV~1\\AppData\\Local\\Temp\\pip-build-3eryhq60\\pymssql\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\VITRIV~1\AppData\Local\Temp\pip-g1vedqw8-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\VITRIV~1\AppData\Local\Temp\pip-build-3eryhq60\pymssql\