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

2024-05-15 19:11:37 发布

您现在位置: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

[此处省略了几千行以使其适合]

^{pr2}$

Tags: frompyimagebuildnetworkxlibpackagesscikit
1条回答
网友
1楼 · 发布于 2024-05-15 19:11:37

罪魁祸首是:

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

scikit-image试图作为依赖项安装的^{} library的安装包似乎有问题。在安装scikit-image之前,请尝试手动安装networkx。如果问题仍然存在,我想你应该向networkx bugtracker汇报。但是,如果它能正常工作,那么我建议向scikit-image团队报告——可能他们引用了不正确的构建或其他东西作为它们的依赖项。在

相关问题 更多 >