Re: [Tutor] Can not install pycrypto on Windows 64bit with cygwin(python27)

2012-09-23 Thread eryksun
On Sun, Sep 23, 2012 at 3:31 AM, Muse Gk wrote: > > C:\Users\gk\Downloads\pycrypto-2.6>python setup.py build --compiler=mingw32 > buil > d_ext -DMS-WIN64 It's "MS_WIN64", with an underscore, not "MS-WIN64" with a hyphen. This being defined enables another macro that replaces "Py_InitModule4" in

Re: [Tutor] Can not install pycrypto on Windows 64bit with cygwin(python27)

2012-09-23 Thread Muse Gk
Sorry, it is my mistake. I had installed python-2.7.3 32-bit on my Windows 7 64-bit machine. > c:/users/gk/downloads/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../. > ./x86_64-w64-mingw32/bin/ld.exe: skipping incompatible > C:\Python27\libs/libpytho > n27.a when searching for -lpython2

Re: [Tutor] Can not install pycrypto on Windows 64bit with cygwin(python27)

2012-09-22 Thread eryksun
On Sat, Sep 22, 2012 at 11:25 AM, Muse Gk wrote: > > c:/users/gk/downloads/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../. > ./x86_64-w64-mingw32/bin/ld.exe: skipping incompatible > C:\Python27\libs/libpytho > n27.a when searching for -lpython27 FYI, -lpython27 is for linking to the p

Re: [Tutor] Can not install pycrypto on Windows 64bit with cygwin(python27)

2012-09-22 Thread Muse Gk
eryksun (), I really appreciate what you had done for me. I still can not make through those errors. Or I can say there is no way install pycrypto with MinGW or Cygwin. >Also, according to http://bugs.python.org/issue4709, you might need >MS_WIN64 to be manually defined. Try installing like this

Re: [Tutor] Can not install pycrypto on Windows 64bit with cygwin(python27)

2012-09-22 Thread eryksun
On Sat, Sep 22, 2012 at 12:25 AM, Muse Gk wrote: > > I had tried MinGW-w64 today, however, another more errors happen which > just like this ( > http://stackoverflow.com/questions/6034390/compiling-with-cython-and-mingw-produces-gcc-error-unrecognized-command-line-o > ). Another no solution error.

Re: [Tutor] Can not install pycrypto on Windows 64bit with cygwin(python27)

2012-09-21 Thread Muse Gk
eryksun (), thanks for your help. I had tried MinGW-w64 today, however, another more errors happen which just like this ( http://stackoverflow.com/questions/6034390/compiling-with-cython-and-mingw-produces-gcc-error-unrecognized-command-line-o ). Another no solution error. First, I tried to remov

Re: [Tutor] Can not install pycrypto on Windows 64bit with cygwin(python27)

2012-09-21 Thread eryksun
On Fri, Sep 21, 2012 at 12:26 PM, Muse Gk wrote: > > I have the very similar problem like this guy except I want to install > pycrypto ( https://www.dlitz.net/software/pycrypto/ ). > http://stackoverflow.com/questions/12005109/python-cannot-build-pycpuid Try MinGW-w64 running under Windows instea

[Tutor] Can not install pycrypto on Windows 64bit with cygwin(python27)

2012-09-21 Thread Muse Gk
Friends, I have the very similar problem like this guy except I want to install pycrypto ( https://www.dlitz.net/software/pycrypto/ ). http://stackoverflow.com/questions/12005109/python-cannot-build-pycpuid We had done enough researches on Google, still can not get a solution. Could some friend