What should I do to add a module to python on windows? Well, there are a lot of options, either “easy_install”, or “setup.py install”, or from the distribution kit to install, if you have carefully prepared one for you. As a rule, the installation does not cause difficulties.
However, there are such modules that you want to pre-scamp. And here begins to tear the roof. In general, I am lazy to compile something, for this implies installing a studio, some libraries and so on, but the last time I searched for a win64 distrib for m2crypto for so long was that I decided to compile.
I found the instruction
, installed all the required good and got "Unable to find vcvarsall.bat". Honestly, I really want to unscrew the hands of the student who wrote the code responsible for running this batch file. I registered the path to the batch file in% path%, it starts from the console by name, but the assembly cannot find it - how can it be?
Tired of beating my head against the keyboard, I googled a little more, and the miracle happened. I did not find how to fix the bug with the studio batch file, but I found the distribution I needed on this page
. Many thanks to Christoph Gohlke, who was not lazy and compiled a huge number of modules for x86 and x64.
I can also say thank you, if anyone this link is useful.