Windows 컴퓨터에 pycrypto를 설치하려고합니다. 나는 mingw를 설치했고 distutils가 그것을 사용하고있다. 나는이 발견,하지만 난 핍 해결 그것으로 설치하는 방법을 잘 모르겠습니다 :Windows 가상화 도구에 pycrypto를 설치할 수 없습니다.
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
편집 : 여기에 오류가 나는 점점 오전 것입니다. http://ac-archive.sourceforge.net/largefile/largefiles_win32.print.html
어딘가에 두 개를 섞어 쓰는 것처럼 32 대 64 비트 문제 일 수 있습니까? – martineau
그게 처음에 생각한거야. 그래서 내 컴퓨터 전체를 지워 버리고 32 비트 항목 만 골라서 시작했다. – Greg
과 관련있을 수 있습니다. https://github.com/pagespeed/ngx_pagespeed/issues/166 –