无法安装mahotas

时间:2019-05-18 11:58:57

标签: mahotas

安装mahotas Python 3.5时出错。 可能是什么问题?

pip install mahotas

几分钟后,出现一条带有红色字母的长消息。

C:\Users\Universe>pip install mahotas
Collecting mahotas
  Using cached https://files.pythonhosted.org/packages/b2/f8/25a67f7433146e42272ca3dfb176ac4cd374f3f97e6a001baf9af0bfff1a/mahotas-1.4.5.tar.gz
Requirement already satisfied: numpy in c:\users\universe\appdata\local\programs\python\python37\lib\site-packages (from mahotas) (1.16.3)
Installing collected packages: mahotas
  Running setup.py install for mahotas ... error
    ERROR: Complete output from command 'c:\users\universe\appdata\local\programs\python\python37\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\Universe\\AppData\\Local\\Temp\\pip-install-5y6l4wf2\\mahotas\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Universe\AppData\Local\Temp\pip-record-ca1sytcd\install-record.txt' --single-version-externally-managed --compile:
    ERROR: running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    creating build\lib.win-amd64-3.7\mahotas
    copying mahotas\bbox.py -> build\lib.win-amd64-3.7\mahotas
    copying mahotas\bwperi 

以此类推

0 个答案:

没有答案