I tried to install matplotlib by command line:
sudo env 'PATH=$PATH:/home/lukasz/.local/bin' pip install matplotlibpip install --upgrade setuptools
But this error occured:
sudo env 'python setup.py egg_info" failed with error code 1
I was following steps from pip install returns "python setup.py egg_info" failed with error code 1 but i had error with command
pip install --upgrade setuptools
: PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/__pycache__/easy_install.cpython-35.pyc
.
What can I do next?