我安装了所有依赖项的opencv 。安装后,我尝试导入matplotlib作为一个简单的示例。
然后,当我尝试通过 pip 安装 matplotlib 时出现以下错误pip install matplotlib
:
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/kiwisolver.cpython-35m-x86_64-linux-gnu.so'
Consider using the `--user` option or check the permissions.
我该怎么做才能安装 matplotlib?