Lỗi Python khi cài igakit
Có cao thủ Python nào chỉ mình khắc phục lỗi dưới đây không! Xin cảm ơn
C:Python34Scriptsdalcinl-igakit-6e43f43e47bd>python setup.py install
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension “igakit.igalib” sources
f2py options: []
adding ‘buildsrc.win32-3.4fortranobject.c’ to sources.
adding ‘buildsrc.win32-3.4’ to include_dirs.
adding ‘buildsrc.win32-3.4igakitigalib-f2pywrappers2.f90’ to sources.
build_src: building npy-pkg config files
running build_py
running build_ext
customize MSVCCompiler
customize MSVCCompiler using build_ext
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Found executable C:MinGWingfortran.exe
Found executable C:MinGWingfortran.exe
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building ‘igakit.igalib’ extension
compiling C sources
C:Program FilesMicrosoft Visual Studio 10.0VCBINcl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG /arch:SSE2 -Ibuildsrc.win32-3.4 -IC:Python34libsite-packages
umpycoreinclude -IC:Python34include -IC:Python34include /Tcbuildsrc.win32-3.4igakitigalibmodule.c /Fobuild emp.win32-3.4Releaseuildsrc.win32-3.4igakitigalibmodule.obj
Found executable C:Program FilesMicrosoft Visual Studio 10.0VCBINcl.exe
igalibmodule.c
c:python34includepyconfig.h(68) : fatal error C1083: Cannot open include file: ‘io.h’: No such file or directory
error: Command “C:Program FilesMicrosoft Visual Studio 10.0VCBINcl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG /arch:SSE2 -Ibuildsrc.win32-3.4 -IC:Python34libsite-packages
umpycoreinclude -IC:Python34include -IC:Python34include /Tcbuildsrc.win32-3.4igakitigalibmodule.c /Fobuild emp.win32-3.4Releaseuildsrc.win32-3.4igakitigalibmodule.obj” failed with exit status 2
Mình thấy ở đây: https://bitbucket.org/dalcinl/igakit hướng dẫn 1 trong 2 cách cài:
hoặc clone về rồi
Còn lệnh bạn chạy là
python setup.py install
có vẻ thiếu--user
Mình thử rồi . Lỗi cũng như vậy thôi bạn. Cảm ơn đã phản hồi