在Windows上安装skimage二进制文件时出错

时间:2016-01-11 15:41:52

标签: python

>pip3 install T:\RNA\Baltimore\Jason\python_binaries\scikit_image-0.11.3-cp35-none-win_amd64.whl

在安装过程中有数百条线路没有错误,但它以此结束:

Processing t:\rna\baltimore\jason\python_binaries\scikit_image-0.11.3-cp35-none-win_amd64.whl
Requirement already satisfied (use --upgrade to upgrade): six>=1.3 in e:\users\hackr\python\python35\lib\site-packages (from scikit-image==0.11.3)
Requirement already satisfied (use --upgrade to upgrade): pillow>=1.7.8 in e:\users\hackr\python\python35\lib\site-packages (from scikit-image==0.11.3)
Collecting networkx>=1.8 (from scikit-image==0.11.3)
  Using cached networkx-1.10.tar.gz
Requirement already satisfied (use --upgrade to upgrade): matplotlib>=1.1.0 in e:\users\hackr\python\python35\lib\site-packages (from scikit-image==0.11.3)
Requirement already satisfied (use --upgrade to upgrade): decorator>=3.4.0 in e:\users\hackr\python\python35\lib\site-packages (from networkx>=1.8->scikit-image==0.11.3)
Requirement already satisfied (use --upgrade to upgrade): cycler in e:\users\hackr\python\python35\lib\site-packages (from matplotlib>=1.1.0->scikit-image==0.11.3)
Requirement already satisfied (use --upgrade to upgrade): pyparsing!=2.0.4,>=1.5.6 in e:\users\hackr\python\python35\lib\site-packages (from matplotlib>=1.1.0->scikit-image==0.11.3)
Requirement already satisfied (use --upgrade to upgrade): numpy>=1.6 in e:\users\hackr\python\python35\lib\site-packages (from matplotlib>=1.1.0->scikit-image==0.11.3)
Requirement already satisfied (use --upgrade to upgrade): pytz in e:\users\hackr\python\python35\lib\site-packages (from matplotlib>=1.1.0->scikit-image==0.11.3)
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in e:\users\hackr\python\python35\lib\site-packages (from matplotlib>=1.1.0->scikit-image==0.11.3)
Installing collected packages: networkx, scikit-image
  Running setup.py install for networkx
    Complete output from command e:\users\hackr\python\python35\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\hackr\\AppData\\Local\\Temp\\3\\pip-build-zqydf0yg\\networkx\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\hackr\AppData\Local\Temp\3\pip-6skb2q_j-record\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib
    creating build\lib\networkx
    copying networkx\convert.py -> build\lib\networkx
    copying networkx\convert_matrix.py -> build\lib\networkx
    copying networkx\exception.py -> build\lib\networkx
    copying networkx\relabel.py -> build\lib\networkx
    copying networkx\release.py -> build\lib\networkx
    copying networkx\version.py -> build\lib\networkx
    copying networkx\__init__.py -> build\lib\networkx
    creating build\lib\networkx\algorithms
    copying networkx\algorithms\block.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\boundary.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\clique.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\cluster.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\core.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\cycles.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\dag.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\distance_measures.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\distance_regular.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\dominance.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\dominating.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\euler.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\graphical.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\hierarchy.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\hybrid.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\isolate.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\link_prediction.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\matching.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\minors.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\mis.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\mst.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\richclub.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\simple_paths.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\smetric.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\swap.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\triads.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\vitality.py -> build\lib\networkx\algorithms
    copying networkx\algorithms\__init__.py -> build\lib\networkx\algorithms
    creating build\lib\networkx\algorithms\assortativity
    copying networkx\algorithms\assortativity\connectivity.py -> build\lib\networkx\algorithms\assortativity
    copying networkx\algorithms\assortativity\correlation.py -> build\lib\networkx\algorithms\assortativity
    copying networkx\algorithms\assortativity\mixing.py -> build\lib\networkx\algorithms\assortativity

[这里省略了数千行以使其适合]

    copying examples\algorithms\hartford_drug.edgelist -> e:\users\hackr\python\python35\share\doc\networkx-1.10\examples\algorithms
    copying examples\basic\properties.py -> e:\users\hackr\python\python35\share\doc\networkx-1.10\examples\basic
    copying examples\basic\read_write.py -> e:\users\hackr\python\python35\share\doc\networkx-1.10\examples\basic
    copying examples\3d_drawing\mayavi2_spring.py -> e:\users\hackr\python\python35\share\doc\networkx-1.10\examples\3d_drawing
    error: can't copy 'examples\drawing\atlas.py': doesn't exist or not a regular file

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


Command "e:\users\hackr\python\python35\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\hackr\\AppData\\Local\\Temp\\3\\pip-build-rk1n4got\\networkx\\setup.py';exec(compile(getattr(to
kenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\hackr\AppData\Local\Temp\3\pip-wi6hs7db-record\install-record.txt --single-version-externally
-managed --compile" failed with error code 1 in C:\Users\hackr\AppData\Local\Temp\3\pip-build-rk1n4got\networkx`

1 个答案:

答案 0 :(得分:2)

这是罪魁祸首:

error: can't copy 'examples\drawing\atlas.py': doesn't exist or not a regular file

scikit-image试图安装为依赖项的networkx library安装包似乎出现了问题。在安装networkx之前,请尝试手动安装scikit-image。如果问题仍然存在,那我应该向networkx bugtracker报告一些问题。如果它有效,那么我建议将其报告给scikit-image团队 - 也许他们引用了错误的构建或其他东西作为他们的依赖。