【发布时间】:2018-01-18 00:12:28
【问题描述】:
我已经在我的 mac 上使用 pip install openexr 成功安装了 openexr,但同样的命令在 Ubuntu 上失败了:
OpenEXR.cpp:9:22: fatal error: ImathBox.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for openex
我尝试使用apt-get install openexr,它似乎安装时没有错误,但是当我尝试在python 中使用import OpenEXR 时,它不起作用。
有人知道为什么吗?
【问题讨论】:
标签: python ubuntu python-import apt-get openexr