I using Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AM D64)] on win32. I install tdm64-gcc-5-1-0.exe. I setting from https://stackoverflow.com/a/27506457 , but I using "pip install scandir". ------------------------ C:\TDM-GCC-64\bin\x86_64-w64-mingw32-gcc.exe -shared -s build\temp.win-amd64 -3.4\Release\_scandir.o build\temp.win-amd64-3.4\Release\_scandir.def -LC:\py34\ libs -LC:\py34\PCbuild\amd64 -lpython34 -o build\lib.win-amd64-3.4\_scandir.pyd
C:\py34\libs/python34.lib: error adding symbols: File in wrong format collect2.exe: error: ld returned 1 exit status error: command 'C:\\TDM-GCC-64\\bin\\x86_64-w64-mingw32-gcc.exe' failed with exit status 1 ---------------------------------------- Command "C:\py34\python.exe -c "import setuptools, tokenize;__file__='C:\\Us ers\\B15D~1\\AppData\\Local\\Temp\\pip-build-vnnkz86l\\scandir\\setup.py';exec(c ompile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), _ _file__, 'exec'))" install --record C:\Users\B15D~1\AppData\Local\Temp\pip-hhbfw 636-record\install-record.txt --single-version-externally-managed --compile" fai led with error code 1 in C:\Users\B15D~1\AppData\Local\Temp\pip-build-vnnkz86l\s candir ------------------------ I apologize here. I am not good in English. Thank you. -- https://mail.python.org/mailman/listinfo/python-list