# Yoda2root error

**URL:** <https://root-forum.cern.ch/t/yoda2root-error/63094>\
**Category:** Newbie\
**Created:** [March 8, 2025, 3:20am UTC](https://root-forum.cern.ch/t/yoda2root-error/63094 "2025-03-08T03:20:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luis\_Cruz](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/luis_cruz/32/38577_2.png) [@Luis\_Cruz](https://root-forum.cern.ch/u/Luis_Cruz)\
**Post date:** [March 8, 2025, 3:20am UTC](https://root-forum.cern.ch/t/yoda2root-error/63094/1 "2025-03-08T03:20:16Z")

</div>

\_ROOT Version: 6.34.02  
_Platform:_ Ubuntu  
_Compiler:_ g++

* * *

Hi, my problem is the following:

I’ve got a data file in .yoda format called Rivet.yoda which I got from a Rivet analysis. When I try to change its format using the Yoda converter called yoda2root I get the error:

> yoda2root Rivet.yoda Rivet.root  
> Could not load ROOT Python module, exiting…

I do not know what the ROOT Python module is… Any help is welcomed. Thanks.

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [March 8, 2025, 8:52am UTC](https://root-forum.cern.ch/t/yoda2root-error/63094/2 "2025-03-08T08:52:50Z")

</div>

Hi Luis,

I think what the system is demanding is the ROOT python module, the one you can import with `import ROOT` in your Python code.

Do you have ROOT installed and correctly set up on your system?

Best,  
D

---

<div class="post-metadata">

**Author:** ![Luis\_Cruz](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/luis_cruz/32/38577_2.png) [@Luis\_Cruz](https://root-forum.cern.ch/u/Luis_Cruz)\
**Post date:** [March 8, 2025, 7:04pm UTC](https://root-forum.cern.ch/t/yoda2root-error/63094/3 "2025-03-08T19:04:51Z")

</div>

I solved it, I sourced the

> thisroot.sh

file into my enviroment. Thanks.
