![install matplotlib in arch linux install matplotlib in arch linux](https://cdn.educba.com/academy/wp-content/uploads/2019/11/install-python-on-linux.png)
$ sudo apt-get install python-matplotlib. Install the package from the Ubuntu repositories, i.e. apt-get) are totally oblivious to any changes made in this way, which tends to lead to a mess of broken dependencies for other system packages. This is NOT RECOMMENDED! The problem with installing system-wide Python modules in this way is that other package managers (e.g. Root is the owner of the directory, and the final r-x means that other users are only allowed to read and execute, not write to this directory (see here for more details). In this line: drwxrwsr-x 2 root staff 4096. This is really a discussion more suited to SuperUser, but the problem is that being an 'administrator' doesn't really mean what you think it does.
![install matplotlib in arch linux install matplotlib in arch linux](https://s1.manualzz.com/store/data/002984427_1-6cfdb1ca058684af4f60dfda5502e943-360x466.png)
I am working as the administrator on my machine and (I think) have all the rights to read/write files I am working as the administrator on my machine and (I think) have all the rights to read/write files: ll -aĭrwxrwsr-x 4 root staff 4096 Mar 9 11:04. The installation directory you specified (via -install-dir, -prefix, or the distutils default setting) was: Permission denied: '/usr/local/lib/python2.7/dist-packages/test-easy-install-24752.pth' The following error occurred while trying to add or remove files in the installation directory: pth file support in /usr/local/lib/python2.7/dist-packages/Įrror: can't create or remove files in install directory '
![install matplotlib in arch linux install matplotlib in arch linux](https://www.minitool.com/images/uploads/articles/2020/09/how-to-install-arch-linux/how-to-install-arch-linux-thumbnail.jpg)
The error occurs after the following command: python setup.py install I am following the steps found on the following website: I have already installed numpy successfully and I'm now trying to install matplotlib.