Note that there are some explanatory texts on larger screens.

plurals
  1. POerror: Unable to find vcvarsall.bat when installing PyMSSQL-2.0.0b1... what am i missing?
    primarykey
    data
    text
    <p>Well i am trying to install PyMSSQL-2.0.0b1 and can not achieve this, get strange errors... i have tried some solutions found on Google and StackOverflow but still unable to compile...</p> <p>please what am i missing ?</p> <p>( so i have tried :</p> <pre><code>- to add --compiler=mingw32 after setup.py install build - to create a distutils.cfd file in Python27\lib\distutils\distutils.cfg with [build] compiler=mingw32 </code></pre> <p>and still not working )</p> <p>(also i'm on Windows 7, and i has need third party libs, must stick to 32 bits version and 2.7)</p> <p>here are some log with errors :</p> <pre><code>C:\Users\MyUserName\Desktop\downloaded\python\pymssql-2.0.0b1-dev-20111019&gt;setup.py install build running install running bdist_egg running egg_info writing pymssql.egg-info\PKG-INFO writing top-level names to pymssql.egg-info\top_level.txt writing dependency_links to pymssql.egg-info\dependency_links.txt reading manifest file 'pymssql.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pymssql.egg-info\SOURCES.txt' installing library code to build\bdist.win32\egg running install_lib running build_ext skipping '_mssql.c' Cython extension (up-to-date) building '_mssql' extension error: Unable to find vcvarsall.bat C:\Users\MyUserName\Desktop\downloaded\python\pymssql-2.0.0b1-dev-20111019&gt;setup. py install build --compiler=mingw32 running install running bdist_egg running egg_info writing pymssql.egg-info\PKG-INFO writing top-level names to pymssql.egg-info\top_level.txt writing dependency_links to pymssql.egg-info\dependency_links.txt reading manifest file 'pymssql.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pymssql.egg-info\SOURCES.txt' installing library code to build\bdist.win32\egg running install_lib running build_ext skipping '_mssql.c' Cython extension (up-to-date) building '_mssql' extension c:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Users\MyUserName\Desktop\laur ent.CTV\python\pymssql-2.0.0b1-dev-20111019\win32\freetds\include -IC:\Python27\ include -IC:\Python27\PC -c _mssql.c -o build\temp.win32-2.7\Release\_mssql.o -D MSDBLIB -Wl,-allow-multiple-definition -Wl,-subsystem,windows-mthreads -mwindows -Wl,--strip-all cc1.exe: erreur: unrecognized command line option '-mno-cygwin' error: command 'gcc' failed with exit status 1 C:\Users\MyUserName\Desktop\downloaded\python\pymssql-2.0.0b1-dev-20111019&gt;python Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win 32 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; ^Z C:\Users\MyUserName\Desktop\downloaded\python\pymssql-2.0.0b1-dev-20111019&gt;gcc --version gcc (GCC) 4.6.1 Copyright © 2011 Free Software Foundation, Inc. Ce logiciel est libre; voir les sources pour les conditions de copie. Il n'y a PAS GARANTIE; ni implicite pour le MARCHANDAGE ou pour un BUT PARTICULIER. </code></pre> <p>after creating disutils.cfg</p> <pre><code>C:\Users\MyUserName\Desktop\downloaded\python\pymssql-2.0.0b1-dev-20111019&gt;setup.py install build running install running bdist_egg running egg_info writing pymssql.egg-info\PKG-INFO writing top-level names to pymssql.egg-info\top_level.txt writing dependency_links to pymssql.egg-info\dependency_links.txt reading manifest file 'pymssql.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pymssql.egg-info\SOURCES.txt' installing library code to build\bdist.win32\egg running install_lib running build_ext skipping '_mssql.c' Cython extension (up-to-date) building '_mssql' extension c:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Users\MyUserName\Desktop\laur ent.CTV\python\pymssql-2.0.0b1-dev-20111019\win32\freetds\include -IC:\Python27\ include -IC:\Python27\PC -c _mssql.c -o build\temp.win32-2.7\Release\_mssql.o -D MSDBLIB -Wl,-allow-multiple-definition -Wl,-subsystem,windows-mthreads -mwindows -Wl,--strip-all cc1.exe: erreur: unrecognized command line option '-mno-cygwin' error: command 'gcc' failed with exit status 1 C:\Users\MyUserName\Desktop\downloaded\python\pymssql-2.0.0b1-dev-20111019&gt;type c:\Python27\lib\distutils\distutils.cfg [build] compiler=mingw32 </code></pre> <p>EDIT : looks like an open issue as related to <a href="http://bugs.python.org/issue12641" rel="nofollow">http://bugs.python.org/issue12641</a> and the '-mno-cygwin' part (btw if my understanding is ok)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload