ROOT in pycharm

Hi,

I’m a student at lab of nuclear physics an I’m trying to use ROOT in pycharm. Unfortunately It’s always says:

Traceback (most recent call last):
File “/home/david/PycharmProjects/pythonProject/main.py”, line 1, in
import ROOT
ModuleNotFoundError: No module named ‘ROOT’

I tried to add the package but it didn’t exist.
Although, I can use in root in python on terminal.

Thanks in advance,
David___
Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Hi David,
I am not a PyCharm user myself but there are many related posts on the forum, maybe one of them can help you: https://root-forum.cern.ch/search?q=pycharm

Cheers,
Enrico

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.