我的Mac上使用pip install openexr
我已成功安裝的OpenEXR,但相同的命令在Ubuntu上失敗:在python安裝的OpenEXR不起作用
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
時,它不起作用。
有誰知道爲什麼?