sudo pip install --upgrade tensorflow-gpu
Operation not permitted: '/tmp/pip-Sx_vMg-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'"
解决方法:
sudo pip install --upgrade tensorflow-gpu --ignore-installed
本文介绍了一种解决在升级TensorFlow-GPU过程中遇到的'Operation not permitted'错误的方法。通过使用'--ignore-installed'参数,可以避免安装过程中出现权限问题,成功更新TensorFlow-GPU。
sudo pip install --upgrade tensorflow-gpu
Operation not permitted: '/tmp/pip-Sx_vMg-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'"
解决方法:
sudo pip install --upgrade tensorflow-gpu --ignore-installed
转载于:https://www.cnblogs.com/xqnq2007/p/7372107.html
您可能感兴趣的与本文相关的镜像
TensorFlow-v2.15
TensorFlow 是由Google Brain 团队开发的开源机器学习框架,广泛应用于深度学习研究和生产环境。 它提供了一个灵活的平台,用于构建和训练各种机器学习模型
620
2293

被折叠的 条评论
为什么被折叠?