little problem with Pyroot and Eclipse

From: Sirio <ziriuz84_at_gmail.com>
Date: Fri, 20 Jun 2008 10:23:52 +0200


Hi all! I'm trying to use PyROOT (I have ROOT 5.18 and python 2.5) with Eclipse+Pydev. I set in PYTHONPATH inside eclipse /usr/local/root/lib and /usr/local/root/pyroot, but when i run my program I have this error:

Traceback (most recent call last):
  File
"/home/sirio/eclipse/workspace/SimulatedAnnealing/src/leggiscrivi.py", line 17, in <module>

    from ROOT import gROOT, TCanvas, TF1   File "/usr/local/root/pyroot/ROOT.py", line 88, in <module>     import libPyROOT as _root
ImportError: libCore.so: cannot open shared object file: No such file or directory

If I run the same program directly with python interpreter it doesn't give any error and run normally without problems (I configured my pc for this in .bash_profile).
How can i solve this problem? I know that I can edit with Vim and run my programs with python, but sometimes Eclipse is so comfortable ;) Sirio

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s: a-- C++ UL+++ P+ L++ E W+++ N++ o++ K- w--
O M V+ PS+++ PE-- Y++ PGP+ t+ 5+ X+ R+ tv b++ DI++ D+
G++ e h! r++ y++
------END GEEK CODE BLOCK------
Received on Fri Jun 20 2008 - 10:24:08 CEST

This archive was generated by hypermail 2.2.0 : Fri Jun 20 2008 - 23:50:02 CEST