New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while attempting to install PyCrypto on Python 3.6 x64 #218

Open
mosynaq opened this Issue Jan 22, 2017 · 11 comments

Comments

Projects
None yet
10 participants
@mosynaq

mosynaq commented Jan 22, 2017

I am trying to install PyCrypto on Python 36 x64 on windows 10. After issuing the command pip install pycrypto, I receive the following: the error is here. I have Visual Studio 2015 with Update 3 installed.

@e00E

This comment has been minimized.

Show comment
Hide comment
@e00E

e00E Jan 23, 2017

Same issue as #216 and I can confirm too.

e00E commented Jan 23, 2017

Same issue as #216 and I can confirm too.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Jan 30, 2017

Same here

ghost commented Jan 30, 2017

Same here

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Feb 3, 2017

FYI this project is officially dead. You should switch to pycryptodome.

ghost commented Feb 3, 2017

FYI this project is officially dead. You should switch to pycryptodome.

@Kristinita

This comment has been minimized.

Show comment
Hide comment
@Kristinita

Kristinita commented Feb 17, 2017

+1

@nueverest

This comment has been minimized.

Show comment
Hide comment
@Mrrobot003

This comment has been minimized.

Show comment
Hide comment
@Mrrobot003

Mrrobot003 Apr 2, 2018

I have the same error got any ideas to fix?

Mrrobot003 commented Apr 2, 2018

I have the same error got any ideas to fix?

@wtfiwtz

This comment has been minimized.

Show comment
Hide comment
@wtfiwtz

wtfiwtz Apr 2, 2018

@Mrrobot003 I needed to do this (after installing MS VS Community Edition):

cd C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build
vcvarsall amd64
cd \
set CL=-FI"%VCINSTALLDIR%\tools\msvc\14.13.26128\include\stdint.h"

pip install pycrypto

See saltstack/salt#39614

wtfiwtz commented Apr 2, 2018

@Mrrobot003 I needed to do this (after installing MS VS Community Edition):

cd C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build
vcvarsall amd64
cd \
set CL=-FI"%VCINSTALLDIR%\tools\msvc\14.13.26128\include\stdint.h"

pip install pycrypto

See saltstack/salt#39614

@lesterpotter

This comment has been minimized.

Show comment
Hide comment
@lesterpotter

lesterpotter Apr 6, 2018

For me, the set of commands was:

cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build"
vcvarsall amd64
cd \
set CL=-FI"%VCINSTALLDIR%\tools\msvc\14.13.26128\include\stdint.h"

pip install pycrypto

lesterpotter commented Apr 6, 2018

For me, the set of commands was:

cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build"
vcvarsall amd64
cd \
set CL=-FI"%VCINSTALLDIR%\tools\msvc\14.13.26128\include\stdint.h"

pip install pycrypto
@durgapm

This comment has been minimized.

Show comment
Hide comment
@durgapm

durgapm May 9, 2018

for Python 3.6 32 bit following set of commands worked:

cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build"
vcvarsall.bat x86_amd64
cd \
set CL=-FI"%VCINSTALLDIR%\tools\msvc\14.14.26428\include\stdint.h"
pip install pycrypto

durgapm commented May 9, 2018

for Python 3.6 32 bit following set of commands worked:

cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build"
vcvarsall.bat x86_amd64
cd \
set CL=-FI"%VCINSTALLDIR%\tools\msvc\14.14.26428\include\stdint.h"
pip install pycrypto

@teejayen

This comment has been minimized.

Show comment
Hide comment
@teejayen

teejayen Jul 8, 2018

Looks like Visual Studio Build Tools have been updated to 14.14.26428. The following worked for me:

cd C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build
vcvarsall amd64

cd \
set CL=-FI"%VCINSTALLDIR%\tools\msvc\14.14.26428\include\stdint.h"

pip install pycrypto

teejayen commented Jul 8, 2018

Looks like Visual Studio Build Tools have been updated to 14.14.26428. The following worked for me:

cd C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build
vcvarsall amd64

cd \
set CL=-FI"%VCINSTALLDIR%\tools\msvc\14.14.26428\include\stdint.h"

pip install pycrypto
@zmpeterson86

This comment has been minimized.

Show comment
Hide comment
@zmpeterson86

zmpeterson86 Jul 10, 2018

None of these proposed fixes works, I still get the same error

zmpeterson86 commented Jul 10, 2018

None of these proposed fixes works, I still get the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment