rootls not working after installing ROOT from homebrew #6111
Unanswered
QuantumSlack
asked this question in
Everyday usage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew config
Output of
brew doctor
Description of issue
Hi everyone,
I am using
ROOT version:- 6.34.08
Platform:- Apple M1 Sequoia 15.4.1
I installed ROOT from the Homebrew using
brew install root
. After sourcing the .sh file and restarting terminal, I was able to runroot
command on terminal. However,rootls
command is not working. It's showing the following error:-Traceback (most recent call last): File "/opt/homebrew/Cellar/root/6.34.08_1/bin/rootls", line 10, in <module> import cmdLineUtils File "/opt/homebrew/Cellar/root/6.34.08_1/lib/root/cmdLineUtils.py", line 80, in <module> import ROOT File "/opt/homebrew/Cellar/root/6.34.08_1/lib/root/ROOT/__init__.py", line 25, in <module> import cppyy File "/opt/homebrew/Cellar/root/6.34.08_1/lib/root/cppyy/__init__.py", line 81, in <module> from ._cpython_cppyy import * File "/opt/homebrew/Cellar/root/6.34.08_1/lib/root/cppyy/_cpython_cppyy.py", line 22, in <module> import libcppyy as _backend ImportError: dlopen(/opt/homebrew/Cellar/root/6.34.08_1/lib/root/libcppyy.so, 0x0002): symbol not found in flat namespace '_PyMapping_GetOptionalItemString'
As a sanity check, I checked the python version and the versions were compatible.
~ % root-config --python-version
3.13.3
~ % python --version
Python 3.13.3
I am not sure what's causing the issue.
Beta Was this translation helpful? Give feedback.
All reactions