Python環境下であるアプリケーションを実行しようとしましたところ、次のエラーが出ました。
********:~/SemanticSegmentation$ python3.5 main.py
Traceback (most recent call last):
File "main.py", line 7, in <module>
from PIL import Image
File "/usr/lib/python3/dist-packages/PIL/Image.py", line 60, in <module>
from . import _imaging as core
ImportError: cannot import name '_imaging'
これは調べたところ(https://teratail.com/questions/123146)、Pillowのインポートエラーらしいのですが、別のところでは(https://github.com/python-pillow/Pillow/issues/3088)「 _imaging.cpython-36m-x86_64-linux-gnu.so」配下の問題とされています。
そして、そのsoは、本環境下にあります。
./usr/lib/python3/dist-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so
さて、この問題はどうしたら解決できますでしょうか。
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/08/16 03:42
2018/08/16 03:48
2018/08/16 04:46
2018/08/16 04:51
2018/08/16 04:56
2018/08/16 04:57
2018/08/16 07:30
2018/08/16 11:47