Python 在Windows上安装skimage二进制文件时出错
Python 在Windows上安装skimage二进制文件时出错,python,Python,>pip3安装T:\RNA\Baltimore\Jason\python\u binaries\scikit\u image-0.11.3-cp35-none-win\u amd64.whl 在安装过程中,数百条线路毫无错误地通过,但最终结果如下: Processing t:\rna\baltimore\jason\python_binaries\scikit_image-0.11.3-cp35-none-win_amd64.whl Requirement already satisfied (
>pip3安装T:\RNA\Baltimore\Jason\python\u binaries\scikit\u image-0.11.3-cp35-none-win\u 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`
罪魁祸首是:
error: can't copy 'examples\drawing\atlas.py': doesn't exist or not a regular file
由于
scikit映像
试图作为依赖项安装,因此安装包似乎有问题。在安装scikit映像之前,请尝试手动安装networkx
。如果问题仍然存在,我想你应该向他汇报。但是,如果它可以工作,那么我建议将其报告给scikit image
团队-可能他们引用了不正确的构建或其他内容作为其依赖项。请仔细检查日志:实际错误应该在这一行之上的某个位置。它通常是这样的:实际的错误消息。。。在脚本完成之前还有一些文本。。。关于脚本失败的消息,错误代码为
@Lav我试图拉日志,但奇怪的是,没有显示该日志的文件夹。我有一个\AppData\Local\Temp\3
,但之后的文件夹不存在…我指的是粘贴错误消息的同一个日志。如果在控制台输出中查找错误时遇到问题,请运行pip3 install blah-blah-blah.whl>pip3.log
将安装日志转储到文本文件中,然后随意浏览。顺便说一句,我建议将此问题报告给scikit image团队。不确定这是否是他们的问题,但如果单独安装networkx没有问题,那么他们可能引用了错误的构建或其他内容。