Я пытаюсь установить pycrypto на свою машину Windows. Я использую mingw, и distutils использует его. Ошибка вот что я получаю:Не удается установить pycrypto на windows virtualenv
In file included from C:\Python27\include/pyconfig.h:68:0,
from C:\Python27\include/Python.h:8,
from src/winrand.c:33:
c:\mingw\bin../lib/gcc/mingw32/4.7.2/../../../../include/io.h:301:1: error: unknown type name 'off64_t'
c:\mingw\bin../lib/gcc/mingw32/4.7.2/../../../../include/io.h:301:36: error: unknown type name 'off64_t'
c:\mingw\bin../lib/gcc/mingw32/4.7.2/../../../../include/io.h:302:1: error: unknown type name 'off64_t'
c:\mingw\bin../lib/gcc/mingw32/4.7.2/../../../../include/io.h:302:39: error: unknown type name 'off64_t'
src/winrand.c:38:0: warning: "_WIN32_WINNT" redefined [enabled by default]
In file included from c:\mingw\bin../lib/gcc/mingw32/4.7.2/../../../../include/_mingw.h:35:0,
from c:\mingw\bin../lib/gcc/mingw32/4.7.2/../../../../include/io.h:27,
from C:\Python27\include/pyconfig.h:68,
from C:\Python27\include/Python.h:8,
from src/winrand.c:33:
c:\mingw\bin../lib/gcc/mingw32/4.7.2/../../../../include/sdkddkver.h:154:0: note: this is the location of the previous definition
error: command 'gcc' failed with exit status 1
Edit: Я нашел это, но я не знаю, как исправить пункт установить с ним. http://ac-archive.sourceforge.net/largefile/largefiles_win32.print.html
Возможно, это проблема с 32-го и 64-разрядным версиями, так как вы смешиваете их где-то так или иначе? – martineau
Это то, о чем я подумал, поэтому я вытер весь компьютер и начал работу, и только взял 32-битные предметы. – Greg
может быть актуальным: https://github.com/pagespeed/ngx_pagespeed/issues/166 –