libtango.so.9 problem

Hi all,

When I run device server from terminal, it is started.
But when I compile it from PyCharm I'm getting this
Traceback (most recent call last):
  File "/home/***/DeviceServers/Clock.py", line 4, in <module>
    import PyTango
  File "/usr/local/lib/python2.7/dist-packages/PyTango.py", line 5, in <module>
    import tango
  File "/usr/local/lib/python2.7/dist-packages/tango/__init__.py", line 123, in <module>
    from . import _tango
ImportError: libtango.so.9: cannot open shared object file: No such file or directory
What does this mean?
I have file libtango.so.9 located in /home/***/tangocs/tango9.2.5a/lib, and this path is also defined as LD_LIBRARY_PATH.
Edited 6 years ago
Hi Jelena,

check how to specify LD_LIBRARY_PATH and/or PYTHONPATH when starting python applications from PyCharm.

Andy
 
Register or login to create to post a reply.