当我尝试在 jupyter 笔记本中更新 numpy 时,我收到此警告:警告:忽略无效的分发 -rotobuf (c:\users og strix ppdata oaming\python\python310\site-packages) 此警告消息的含义以及如何避免此警告消息。我也找不到这条路。 rotobuf 是什么意思。
如何避免此类警告
我看到您正在尝试更新 numpy,但是您收到了一个错误,后面是 警告:忽略无效的分发 -rotobuf (c:\users og strix ppdata oaming\python\python310\site-packages)
在我看来,该软件包没有正确安装。首先请检查protobuf是否安装正确。
检查一下,
pip show protobuf
如果出现错误,请更新 protobuf,
pip install --upgrade protobuf
进行更新。不过,如果它不能解决您的问题,那么重新安装 protobuf 可能是个好主意
要卸载,
pip uninstall protobuf
。重新安装pip install protobuf
另外,你也可以看看这篇文章, https://www.reddit.com/r/StableDiffusion/comments/14ksyo4/sd_startup_warning_ignoring_invalid_distribution/?rdt=38231
https://discuss.python.org/t/pip-installing-off-path-should-i-do-something/21353 https://discuss.python.org/t/having-issues-pip-installing/13673/3
我希望这对您有所帮助,并希望您很快找到解决方案