以下のようになります。解決方法があったらお願いします。
(cv) MacBookAir-13:~ user1 $ python
Python 3.6.1 (default, Apr 4 2017, 09:40:21)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/Users/user1/.virtualenvs/cv/lib/python3.6/site-packages/cv2.so, 2): Library not loaded: libhdf5.10.dylib
Referenced from: /usr/local/lib/libopencv_hdf.3.2.dylib
Reason: image not found
>>> import matplotlib.pyplot as plt
・・・・・・・
File "/Users/user-1/anaconda/lib/python3.5/site-packages/matplotlib/backends/backend_macosx.py", line 19, in <module>
from matplotlib.backends import _macosx
RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are using (Ana)Conda please install python.app and replace the use of 'python' with 'pythonw'. See 'Working with Matplotlib on OSX' in the Matplotlib FAQ for more information.
全エラーメッセージは以下を参照。
https://www.evernote.com/l/AFPX-bG5aDFOf7ao-nJ8n4PQ8RvnbRM5pRs
ラズベリーパイ3にOpenCVを導入して、サンプルプログラムを実行するとエラーになります。
エラーメッセージ:
Traceback (most recent call last):
File "5_6.py", line 4, in <module>
import cv2.cv as cv # 旧OpenCVライブラリ
ImportError: No module named cv
どうしたらよいでしょうか?