python - M2Crypto error Unable to find vcvarsall.bat -


i windows7 64-bit user working python 3.4.

i installed m2crypto library. followed steps mentioned in link installing m2crypto on windows: https://github.com/martinpaljak/m2crypto/blob/master/install

i have microsot visual studeio 2013 community edition installed. have visual c++ 2008, 2010, 2012 redistributable bith x86 , x64.

i have mingw , swigwin installed in c: directory.

when try install m2crypto using command python34/scripts:

pip install m2crypto 

i errors following:

c:\python34\scripts>pip install m2crypto collecting m2crypto using cached m2crypto-0.22.3.tar.gz installing collected packages: m2crypto running setup.py install m2crypto complete output command c:\python34\python.exe -c "import setuptools, t okenize;file='c:\users\e\appdata\local\temp\pip-build-sxa0uziu\m2cryp to\setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().repl ace('\r\n', '\n'), file, 'exec'))" install --record c:\users\e\appdata\local \temp\pip-ad2ukv1d-record\install-record.txt --single-version-externally-managed --compile:

then copies list of files. @ thie end this:

error: microsoft visual c++ 10.0 required (unable find vcvarsall.bat).

followed this:

command "c:\python34\python.exe -c "import setuptools, tokenize;file='c:\us ers\e\appdata\local\temp\pip-build-sxa0uziu\m2crypto\setup.py';exec(compi le(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), fil e, 'exec'))" install --record c:\users\e\appdata\local\temp\pip-ad2ukv1d-recor d\install-record.txt --single-version-externally-managed --compile" failed error code 1 in c:\users\e\appdata\local\temp\pip-build-sxa0uziu\m2crypto

please, me fix issue. not find resource describe steps properly.

you need run pip install command prompt both needed python programms , visual studio in search path. (path)

open visual c++ command prompt , note result of

echo %path% 

and add relevant visual c++ / visual studio directories python command prompt similar this

set path=c:\path\to\vs;%path%


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -