Open nfoppiani opened 6 years ago
Hi, I am currently facing the exact same issue. Any luck with this? Thanks
Thanks for bumping up this issue again! Should have looked at it earlier. I suspect this is an issue on us not running tests with Python 3. If you have a way around to use Python 2, would you mind to test and see if it works?
If Python 3 is needed, then I suggest we start from building a singularity container for python3 and compiling larcv on it (so that we share exactly what's going on): https://github.com/DeepLearnPhysics/larcv2-singularity/blob/master/Singularity.ubuntu16.04-gpu-py3
Hi again and thanks for the quick response. I'm a total newbie but I think that somewhere in the code, the CObject API is called, which was deprecated as of Python 3.1 and substituted by the Capsules API (I built ROOT and ran larcv with Python3.5) Will try with Python2 and let you know. Thanks.
So I rebuilt ROOT with Python 2.7 (and sudo apt-get install python-tk
for matplotlib to work) and.....
I'm so happy :smile: Thank you!
So if I understand correctly it is just a matter of using Python2 and ROOT compiled with Python2, correct? I will try to see if I can make it working with these settings then
Yes, at least that did the trick for my system.
I am try to run the tutorial02 and I got the following error while running this piece of code:
Error:
I am using Python 3.6, ROOT 6.12 and I compiled larcv without opencv.