0

I want to install the PySqlite2 module in my python library. I opened command prompt and went to the download directory. This contains the Pysqlite-2.6.3 package extracted. I entered python setup.py install. It starts copying all the files untill it gives: Errror: Unable to find vcvarsall.bat. I can't seem to figure to out. My systems runs a 32bit version of windows 7.

sundar nataraj
  • 8,524
  • 2
  • 34
  • 46
WirAre
  • 59
  • 1
  • 2
  • 6
  • 1
    Google is one of the best tools. Try searching the error https://www.google.co.in/search?q=Errror%3A+Unable+to+find+vcvarsall.bat&oq=Errror%3A+Unable+to+find+vcvarsall.bat&aqs=chrome..69i57j69i58.246j0j7&sourceid=chrome&es_sm=91&ie=UTF-8 – nish May 09 '14 at 11:41

1 Answers1

0

While running setup.py for package installations Python 2.7 searches for an installed Visual Studio 2008. You can trick Python to use a newer Visual Studio by setting the correct path in VS90COMNTOOLS environment variable before calling setup.py.

Find more here.

Community
  • 1
  • 1
Stephan Rodemeier
  • 717
  • 10
  • 24