有没有人面对此问题,该问题显示了包装中的错误而不是PIP?

发布于 2025-01-25 14:24:21 字数 264 浏览 2 评论 0原文

我正在尝试使用pip3 install jupyter命令安装jupyter笔记本,但它失败了,因此我通过使用brew用作啤酒安装jupyter安装了jupyter,我可以从本地服务器运行jupyternotebbok,但我无法在vs code中运行jupyter。如果有人可以帮助,我正在粘贴屏幕截图图像?

图像

I am trying to install jupyter notebook using pip3 install jupyter command but it failed so I installed jupyter by using brew as brew install jupyter and I can run jupyternotebbok from the local server but I can't run the jupyter in vs code. I am pasting the screenshot images if anyone may help?

the image

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

伪心 2025-02-01 14:24:21

打破此错误:

psutil/_psutil_osx.c:35:10: note: did not find header 'ps/IOPowerSources.h' in framework 'IOkit' (loaded from '/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks')

该过程正在尝试构建 psutil 是一种依赖性和失败是属于 iokit 的缺失标头文件。

可能的解决方案:

  1. 更新/修复IOKIT的安装,然后再次尝试构建。
  2. 手动从PYPI手动安装预制的psutil轮,以避免构建步骤并满足依赖性。

Breaking this error down:

psutil/_psutil_osx.c:35:10: note: did not find header 'ps/IOPowerSources.h' in framework 'IOkit' (loaded from '/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks')

The process is trying to build psutil as a dependency and failing because there is a missing header file belonging to IOkit.

Possible solutions:

  1. Update/Fix the install of IOkit, and try the build again.
  2. Manually install a prebuilt wheel of psutil from pypi to avoid the build step and satisfy the dependency.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文