import ROOT -> ImportError: No module named libPyROOT
Bug #512600 reported by
marco cammarata
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
root-system (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: root-system
On ubuntu 9.10, after having installed libroot-python-dev libroot-python5.18 and all the dependencies opening python and running "import ROOT" results in an error "ImportError: No module named libPyROOT".
I could solve the problem by "import sys; sys.path.
thanks,
marco
To post a comment you must log in.
+1 for fixing! A fix which would respect the convention of other Python packages would be to symlink the PyROOT .py and .so module files into /usr/lib/ pythonXX/ dist-packages -- I see that there are already symlinks into /usr/share/ pyshared, but that location is not directly placed in the system PYTHONPATH: most /usr/lib/ pythonXX/ dist-packages files are actually symlinks into /usr/share/pyshared