I installed opencv with all dependencies. After the installation I tried to import matplotlib for a simple example.
Then I got the following error, when I tried to install matplotlib via pip with
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.
What can I do to install matplotlib?