Link to home
Start Free TrialLog in
Avatar of Pau Lo
Pau Lo

asked on

building python packages vcvarsall

I am trying to build and install;

https://pypi.python.org/pypi/pycrypto

on a windows 7 machine. I downloaded the tar.gz, unzipped it (this is python 2.7) and ran the command c:\python27\python.exe setup.py build

but it is giving errors about unable to find vcvarsall.bat?
Are there pre-requirements for installing and building python packages on windows 7 machines?
ASKER CERTIFIED SOLUTION
Avatar of Walter Ritzel
Walter Ritzel
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Searching a little more, it seems a less manual way to fix this:
http://stackoverflow.com/questions/19689652/unable-to-find-vcvarsall-bat-using-python-2-7

Regards,
Walter.
Avatar of Pau Lo
Pau Lo

ASKER

can you download the express version, or does python require the full paid version of VS?
Avatar of Pau Lo

ASKER

The 2nd solution lost me a bit, is setenv a python specific command? Or linked to visual studio?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
In fact, you dont need visual studio itself. If you can download the .NET distribution (just the framework dlls, etc), should be enough.