Vcvarsall.bat error through pip install python-docx

At startup pip install python-docx, an error message appears error: Unable to find vcvarsall.bat.

These are basically two solutions:

1) Install VS2008

2) SET VS90COMNTOOLS = C: \ Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ Tools

As I did, the error persists. Does anyone have another solution?

0
source share
2 answers

You should use Visual Studio 2010 since Python 3.3 was built with it and therefore satisfies all the necessary dependencies.

1) Install VS10

2) SET VS100COMNTOOLS = C: \ Program Files \ Microsoft Visual Studio 10.0 \ Common7 \ Tools (is it assumed that the path is the same?)

+2

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


All Articles