赞
踩
在使用pip安装transformers时,报如下错误:
pip install transformers
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyYAML-3.12-py3.6.egg-info/PKG-INFO'
Consider using the `--user` option or check the permissions.
在安装语句后面添加--user即可:
pip install transformer --user
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。