2016-07-07 1 views
1

지난 5 시간 정도되었습니다. 내가 무리를 다시했지만, 본질적으로 파이썬 3.4.1을 실행하는 Windows 8.1 컴퓨터에 파이썬 모듈 h5py를 설치하려고합니다. 다음과 같이Python 모듈을 설치할 때 Visual C++ 10.0 문제가 발생합니다. cl.exe는 종료 상태 2 (h5py)로 실패했습니다.

스택은 다음과 같습니다 또한

Collecting h5py 
Using cached h5py-2.6.0.tar.gz 
Requirement already satisfied (use --upgrade to upgrade): numpy>=1.6.1 in c:\python34\lib\site-packages (from h5py) 
Requirement already satisfied (use --upgrade to upgrade): six in c:\python34\lib\site-packages (from h5py) 
Building wheels for collected packages: h5py 
    Running setup.py bdist_wheel for h5py: started 
    Running setup.py bdist_wheel for h5py: finished with status 'error' 
    Complete output from command C:\Python34\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\CHARLE~1\\AppData\\Local\\Temp\\pip-build-bw8g_xls\\h5py\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d C:\Users\CHARLE~1\AppData\Local\Temp\tmpbpg7zmwapip-wheel- --python-tag cp34: 
    running bdist_wheel 
    running build 
    running build_py 
    creating build 
    creating build\lib.win32-3.4 
    creating build\lib.win32-3.4\h5py 
    copying h5py\highlevel.py -> build\lib.win32-3.4\h5py 
    copying h5py\ipy_completer.py -> build\lib.win32-3.4\h5py 
    copying h5py\version.py -> build\lib.win32-3.4\h5py 
    copying h5py\__init__.py -> build\lib.win32-3.4\h5py 
    creating build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\attrs.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\base.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\dataset.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\datatype.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\dims.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\files.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\filters.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\group.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\selections.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\selections2.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\__init__.py -> build\lib.win32-3.4\h5py\_hl 
    creating build\lib.win32-3.4\h5py\tests 
    copying h5py\tests\common.py -> build\lib.win32-3.4\h5py\tests 
    copying h5py\tests\__init__.py -> build\lib.win32-3.4\h5py\tests 
    creating build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\common.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_attrs.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_attrs_data.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_base.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_dataset.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_datatype.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_dimension_scales.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_file.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_group.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_h5.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_h5f.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_h5p.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_h5t.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_objects.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_selections.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_slicing.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\__init__.py -> build\lib.win32-3.4\h5py\tests\old 
    creating build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_attribute_create.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_dataset_getitem.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_dataset_swmr.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_datatype.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_dims_dimensionproxy.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_file.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_threads.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\__init__.py -> build\lib.win32-3.4\h5py\tests\hl 
    running build_ext 
    Autodetection skipped [[WinError 126] The specified module could not be found] 
    ******************************************************************************** 
         Summary of the h5py configuration 

     Path to HDF5: None 
     HDF5 Version: '1.8.4' 
     MPI Enabled: False 
    Rebuild Required: False 

    ******************************************************************************** 
    Executing api_gen rebuild of defs 
    Executing cythonize() 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\defs.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\_errors.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\_objects.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\_proxy.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5fd.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5z.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5i.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5r.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\utils.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\_conv.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5t.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5s.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5p.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5d.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5a.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5f.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5g.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5l.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5o.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5ds.pyx because it changed. 
    Compiling c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5ac.pyx because it changed. 
    [ 1/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\_conv.pyx 
    [ 2/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\_errors.pyx 
    [ 3/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\_objects.pyx 
    [ 4/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\_proxy.pyx 
    [ 5/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\defs.pyx 
    [ 6/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5.pyx 
    [ 7/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5a.pyx 
    [ 8/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5ac.pyx 
    [ 9/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5d.pyx 
    [10/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5ds.pyx 
    [11/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5f.pyx 
    [12/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5fd.pyx 
    [13/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5g.pyx 
    [14/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5i.pyx 
    [15/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5l.pyx 
    [16/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5o.pyx 
    [17/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5p.pyx 
    [18/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5r.pyx 
    [19/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5s.pyx 
    [20/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5t.pyx 
    [21/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\h5z.pyx 
    [22/22] Cythonizing c:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\utils.pyx 
    building 'h5py.defs' extension 
    creating build\temp.win32-3.4 
    creating build\temp.win32-3.4\Release 
    creating build\temp.win32-3.4\Release\users 
    creating build\temp.win32-3.4\Release\users\charle~1 
    creating build\temp.win32-3.4\Release\users\charle~1\appdata 
    creating build\temp.win32-3.4\Release\users\charle~1\appdata\local 
    creating build\temp.win32-3.4\Release\users\charle~1\appdata\local\temp 
    creating build\temp.win32-3.4\Release\users\charle~1\appdata\local\temp\pip-build-bw8g_xls 
    creating build\temp.win32-3.4\Release\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py 
    creating build\temp.win32-3.4\Release\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py 
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DH5_USE_16_API -D_HDF5USEDLL_ -Ic:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\lzf -Ic:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\windows -IC:\Python34\lib\site-packages\numpy\core\include -IC:\Python34\include -IC:\Python34\include /Tcc:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\defs.c /Fobuild\temp.win32-3.4\Release\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\defs.obj 
    defs.c 
    c:\python34\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(12) : Warning Msg: Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION 
    c:\users\charles kronk\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\api_compat.h(27) : fatal error C1083: Cannot open include file: 'hdf5.h': No such file or directory 
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\BIN\\cl.exe' failed with exit status 2 

    ---------------------------------------- 
    Running setup.py clean for h5py 
Failed to build h5py 
Installing collected packages: h5py 
    Running setup.py install for h5py: started 
    Running setup.py install for h5py: finished with status 'error' 
    Complete output from command C:\Python34\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\CHARLE~1\\AppData\\Local\\Temp\\pip-build-bw8g_xls\\h5py\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\CHARLE~1\AppData\Local\Temp\pip-fis5451x-record\install-record.txt --single-version-externally-managed --compile: 
    running install 
    running build 
    running build_py 
    creating build 
    creating build\lib.win32-3.4 
    creating build\lib.win32-3.4\h5py 
    copying h5py\highlevel.py -> build\lib.win32-3.4\h5py 
    copying h5py\ipy_completer.py -> build\lib.win32-3.4\h5py 
    copying h5py\version.py -> build\lib.win32-3.4\h5py 
    copying h5py\__init__.py -> build\lib.win32-3.4\h5py 
    creating build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\attrs.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\base.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\dataset.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\datatype.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\dims.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\files.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\filters.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\group.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\selections.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\selections2.py -> build\lib.win32-3.4\h5py\_hl 
    copying h5py\_hl\__init__.py -> build\lib.win32-3.4\h5py\_hl 
    creating build\lib.win32-3.4\h5py\tests 
    copying h5py\tests\common.py -> build\lib.win32-3.4\h5py\tests 
    copying h5py\tests\__init__.py -> build\lib.win32-3.4\h5py\tests 
    creating build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\common.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_attrs.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_attrs_data.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_base.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_dataset.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_datatype.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_dimension_scales.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_file.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_group.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_h5.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_h5f.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_h5p.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_h5t.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_objects.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_selections.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\test_slicing.py -> build\lib.win32-3.4\h5py\tests\old 
    copying h5py\tests\old\__init__.py -> build\lib.win32-3.4\h5py\tests\old 
    creating build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_attribute_create.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_dataset_getitem.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_dataset_swmr.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_datatype.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_dims_dimensionproxy.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_file.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\test_threads.py -> build\lib.win32-3.4\h5py\tests\hl 
    copying h5py\tests\hl\__init__.py -> build\lib.win32-3.4\h5py\tests\hl 
    running build_ext 
    Autodetection skipped [[WinError 126] The specified module could not be found] 
    ******************************************************************************** 
          Summary of the h5py configuration 

     Path to HDF5: None 
     HDF5 Version: '1.8.4' 
     MPI Enabled: False 
    Rebuild Required: False 

    ******************************************************************************** 
    Executing cythonize() 
    building 'h5py.defs' extension 
    creating build\temp.win32-3.4 
    creating build\temp.win32-3.4\Release 
    creating build\temp.win32-3.4\Release\users 
    creating build\temp.win32-3.4\Release\users\charle~1 
    creating build\temp.win32-3.4\Release\users\charle~1\appdata 
    creating build\temp.win32-3.4\Release\users\charle~1\appdata\local 
    creating build\temp.win32-3.4\Release\users\charle~1\appdata\local\temp 
    creating build\temp.win32-3.4\Release\users\charle~1\appdata\local\temp\pip-build-bw8g_xls 
    creating build\temp.win32-3.4\Release\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py 
    creating build\temp.win32-3.4\Release\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py 
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DH5_USE_16_API -D_HDF5USEDLL_ -Ic:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\lzf -Ic:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\windows -IC:\Python34\lib\site-packages\numpy\core\include -IC:\Python34\include -IC:\Python34\include /Tcc:\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\defs.c /Fobuild\temp.win32-3.4\Release\users\charle~1\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\defs.obj 
    defs.c 
    c:\python34\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(12) : Warning Msg: Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION 
    c:\users\charles kronk\appdata\local\temp\pip-build-bw8g_xls\h5py\h5py\api_compat.h(27) : fatal error C1083: Cannot open include file: 'hdf5.h': No such file or directory 
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\BIN\\cl.exe' failed with exit status 2 

    ---------------------------------------- 

, 명령 줄에 인쇄 오류 : 지금까지 시도했습니다

←[31m Failed building wheel for h5py←[0m 
←[31mCommand "C:\Python34\python.exe -u -c "import setuptools, tokenize;__file__ 
='C:\\Users\\CHARLE~1\\AppData\\Local\\Temp\\pip-build-bw8g_xls\\h5py\\setup.py' 
;exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', ' 
\n'), __file__, 'exec'))" install --record C:\Users\CHARLE~1\AppData\Local\Temp\ 
pip-fis5451x-record\install-record.txt --single-version-externally-managed --com 
pile" failed with error code 1 in C:\Users\CHARLE~1\AppData\Local\Temp\pip-build 
-bw8g_xls\h5py\←[0m 

것들 :

  • 제거 Microsoft Visual Studio 10.0을 다시 설치하십시오.
  • Windows SDK 7.1 설치.
  • MySQL Connector C 6.0.2를 설치하고 mklinking을 Program Files (x86)에 설치하십시오.
  • pip와 easy_install을 실행 중입니다. 같은 오류가 두 번 발생합니다.
  • 다른 모듈 설치. 지금까지 오류를 반복 할 수 없습니다.
  • pip wheel h5py 같은 스택에서 실패합니다.
  • 나는 vcvarsall.bat을 확인하고는 올바른 구성 (CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64)

답변

0

확인이 보인다! 그래서 나는 그것을했다. 나는 모든 파이썬 버전을 제거하고 모든 파이썬 관련 파일, 폴더 등 (포함 PATH 변수와 패키지를) 삭제

  1. :

    는 방법은 다음과 같습니다.

  2. 모든 Microsoft Visual Studio C++ 2010 재배포 가능 파일, Windows 7 용 Microsoft Windows SDK 및 .NET Framework 4 프로그램을 제거했습니다. (이 파일을주의 깊게 읽으십시오.) 올바른 파일을 실행하면 문제가 해결됩니다. 다른 Microsoft 프로그램을 실행하고 몇 가지 레지스트리 오류가 발생했습니다 ...).
  3. Microsoft Windows SDK for Windows 7 and .NET Framework 4을 다시 설치하십시오.
  4. Microsoft Visual C++ 2010 Redistributable Package (x64)을 다시 설치하십시오.
  5. Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1을 다시 설치하십시오.
  6. Python 3.4.0 (C:\Python34)을 다시 설치하십시오.
  7. C:\Python34C:\Python34\Scripts을 PATH 시스템 변수에 추가하십시오.
  8. 이 웹 사이트에서 H5py를 다운로드하십시오. here (특히 h5py-2.6.0-cp34-cp34m-win_amd64.whl).
  9. 실행 pip3 install h5py-2.6.0-cp34-cp34m-win_amd64.whl. 이것은 다음을 생성합니다 : 내가 만드는 나의 프로그램을 실행

Processing c:\python34\h5py-2.6.0-cp34-cp34m-win_amd64.whl Collecting numpy>=1.6.1 (from h5py==2.6.0) Downloading numpy-1.11.1-cp34-none-win_amd64.whl (7.4MB) 100% |################################| 7.4MB 46kB/s Collecting six (from h5py==2.6.0) Using cached six-1.10.0-py2.py3-none-any.whl Installing collected packages: numpy, six, h5py Successfully installed h5py-2.6.0 numpy-1.11.1 six-1.10.0

다음 확인 가져 오기가 제대로 작동하고는했다! 나는 이것이 이것을 시도하는 사람들을 돕기를 희망하며, 단지 단계 (2)와 조심해야한다.

0

Windows 10 컴퓨터에서 명령 프롬프트에서 설치하는 데 동일한 문제가있었습니다.이 오류를 생략하려면 :

  1. 내가 수동으로 웹 사이트에서 응용 프로그램을 다운로드
  2. 내 C로 추출 :
  3. /'응용 프로그램 설치를 원하는 경로 "길을 열어 명령 프롬프트로 다시 갔다 어디에서 방금 응용 프로그램 압축을 풉니 다
  4. 거기에서 다운로드 한 패키지의 설치 파일을 실행하십시오.

저에게 효과적입니다.

건배