gpt4 book ai didi

python - rootpy安装问题: Is ROOT installed with PyROOT enabled?

转载 作者:太空宇宙 更新时间:2023-11-03 14:45:31 26 4
gpt4 key购买 nike

我在安装rootpy时遇到了一个大问题。当我尝试这个命令时:

sudo pip install rootpy

我收到此错误消息:

ROOT cannot be imported. Is ROOT installed with PyROOT enabled? Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-OIZeCG/rootpy/

我已经有 ROOT 版本 5.34/30、python 2.7 和 python 3.5。

我确认列表中包含 python:

root-config --features

最佳答案

您应该安装libroot-bindings-python-dev包与

sudo apt-get install libroot-bindings-python-dev

在安装rootpy模块之前。

关于python - rootpy安装问题: Is ROOT installed with PyROOT enabled?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46262604/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com