【发布时间】:2018-10-09 18:10:08
【问题描述】:
我安装了带有所有依赖项的 opencv。安装后我尝试导入 matplotlib 作为一个简单的例子。
当我尝试通过 pip 使用pip install matplotlib 安装 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?
【问题讨论】:
-
考虑使用
--user选项。
标签: python opencv matplotlib pip failed-installation