I would like to use a pyROOT module in my software under the pycharm IDE. My problem is that the IDE doesn't recognize any of root modules. Can you tell me what should I do to fix this issue?
Asked
Active
Viewed 1,106 times
0
-
Can you please give us a bit more information, such as a stacktrace? – SleepyCal May 10 '14 at 16:34
-
do you have pyRoot installed? – Padraic Cunningham May 10 '14 at 16:37
-
What do you mean by "recognize"? Does your python code not work because of missing ROOT classes or do only things like tab-completion not work? If the latter: check http://stackoverflow.com/q/5049842/2319400 – sebastian May 10 '14 at 16:40
-
@sebastian I mean tab-completion. – user1877600 May 10 '14 at 16:42
-
@PadraicCunningham yes of course. I can use it by the python interpreter. – user1877600 May 10 '14 at 16:43
1 Answers
0
As discussed here, you can probably fix this by doing;
"If you select the correct project and go to File > Settings, under the Project Settings you can see the Project Interpreter which tells you which interpreter is being used."
Once you've selected to the correct interpreter, you'll also need to install PYRoot as explained here.
You can install rootpy bindings using pip, explained here and here.
-
PyROOT won't be found on pip. rootpy is something different - it's another layer on top of pyROOT. – sebastian May 10 '14 at 16:39
-