当前位置:   article > 正文

pip install paddlenlp出现问题解决方案_安装paddlenlp could not install packages due to an o

安装paddlenlp could not install packages due to an oserror: [errno 9] bad fi
  1. 报错信息1如下
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
  • 1

解决办法

pip install paddlenlp --ignore-installed
  • 1

2.报错信息2如下

 ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'd:\\anocoda\\Lib\\site-packages\\markupsafe\\_speedups.cp37-win_amd64.pyd'
Consider using the `--user` option or check the permissions.
  • 1
  • 2

解决办法

pip install --user -i paddlenlp --ignore-installed
  • 1
pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/爱喝兽奶帝天荒/article/detail/914714
推荐阅读
相关标签
  

闽ICP备14008679号