在M上安装Vpython和Matplotlib时收到错误消息

2024-10-03 23:29:17 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试使用安装vpython和matplotlib

pip install vpython  

但是我得到了

error: could not create '/library/python/2.7/site-
packages/vpnotebook':permission denied

以及

pip install matplotlib

但我得到的是

IOError: [Errno 13] Permission denied: '/Library/Python/2.7/site-
packages/singledispatch_helpers.pyc'

两个错误都说“权限被拒绝”

我该怎么解决这个问题?你知道吗

更新:我刚刚通过下载anaconda解决了这个问题。感谢@Paul H


Tags: installpipmatplotlibpackagescreatelibrarysitenot