我正在尝试在我的 Mac 上为 Python 2.7 安装 YAML 模块(PyYAML3.10)。我收到以下错误消息:
$ python setup.py install
running install
running build
running build_py
running build_ext
running install_lib
creating /Library/Python/2.7/site-packages/yaml
error: could not create '/Library/Python/2.7/site-packages/yaml': Permission denied
谁能帮我解决这个问题?
谢谢!