ubuntu16.04、、pip3、、python3.6在在pyhon虚拟环境下安装虚拟环境下安装
mahotas软件包遇到的问题软件包遇到的问题
在安装mahotas软件包时使用命令:
pip3 install mahotas
但是终端中报了一大段错,看的我头皮发麻:
Building wheel for mahotas (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/yuzhe/.virtualenvs/py36env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-
p7s5sv8d/mahotas/setup.py'"'"'; __file__='"'"'/tmp/pip-install-p7s5sv8d/mahotas/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)
(__file__);code=f.read().replace('"'"''"'"', '"'"''"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-becse5_h
cwd: /tmp/pip-install-p7s5sv8d/mahotas/
Complete output (130 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/mahotas
copying mahotas/freeimage.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/thresholding.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/edge.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/mahotas_version.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/zernike.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/features_cli.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/texture.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/distance.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/morph.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/bwperim.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/euler.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/surf.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/__init__.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/bbox.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/stretch.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/polygon.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/internal.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/moments.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/colors.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/segmentation.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/thin.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/lbp.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/center_of_mass.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/labeled.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/tas.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/_filters.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/resize.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/convolve.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/interpolate.py -> build/lib.linux-x86_64-3.6/mahotas
copying mahotas/histogram.py -> build/lib.linux-x86_64-3.6/mahotas
creating build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_histogram.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_internal.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_find.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_freeimage.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_dilate_erode.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_moments.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_watershed.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_template_match.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_thin.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_citation.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_gvoronoi.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_euler.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/utils.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_label.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_convolve.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_colors.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_edge.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_io.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_morph.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_features_shape.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_bwperim.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_median_filter.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/__init__.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_interpolate.py -> build/lib.linux-x86_64-3.6/mahotas/tests
copying mahotas/tests/test_center_of_mass.py -> build/lib.linux-x86_64-3.6/mahotas/tests