简体   繁体   中英

Error on installing matplotlib on Pyzo (Python)

I have got problem with installing matplotlib and numpy library on my mac book. I tried to install those library but I got that message error and I don't know how to resolve it. My shell

I already tried to uninstall and reinstall pyzo and miniconda but I still have the same problem.

Ahh, so I see the problem. It's not a python problem, it's more like a permissions error. It's like when you put a read-only mode on a file.

One way around this is to use Sudo. I am going to put 2 ways in the command in case one error out, so you might see some errors, but don't worry.

sudo pip install matplotlib && sudo -E pip install matplotlib

But really, just get pycharm, then you won't have to put up with this because of the VENV.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM