Error "Cannot find vcvarsall.bat" when trying to install qrcode-0.2.1

Please help me resolve this error.

C:\Python26\Lib\site-packages\pyqrcode\encoder>python setup.py install
running install
running bdist_egg
running egg_info
writing qrcode.egg-info\PKG-INFO
writing top-level names to qrcode.egg-info\top_level.txt
writing dependency_links to qrcode.egg-info\dependency_links.txt
package init file 'qrcode\__init__.py' not found (or not a regular file)
writing manifest file 'qrcode.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
running build_ext
building 'qrcode.Encoder' extension
error: Unable to find vcvarsall.bat

Thank,

Manu

+3
source share
2 answers

Distutils does not work very well with the MS compiler toolchain.

This file is required to set up an environment that helps distutils use the MS compiler toolchain.

There are several ways in which this was done to work.

Please see the following message that may help you.

† The link goes to archive.org, since the original page

+17

.

MinGW, :

setup.py install build ––compiler=mingw32
+4

Source: https://habr.com/ru/post/1768368/


All Articles