PyDev import in eclipse

℡╲_俬逩灬. 提交于 2019-12-23 22:55:01
问题 I just installed Eclipse Indigo, in Ubuntu 10.04 LTS, and installed Pydev with it. I did the following: (1) set python interpreters by pressing Auto config in Window > Preferences > PyDev > Editor > Interpreter-Python (2) set system Pythonpath through Window > Preferences > PyDev > Editor > Interpreter-Python (a) pressed New Folder and added /usr/lib/python2.6 I am trying to run an openrave code in eclipse and have all the required openrave libraries installed. "openravepy" is in the

Undefined Symbol in C++ When Loading a Python Shared Library

五迷三道 提交于 2019-12-12 10:30:02
问题 I have been trying to get a project of mine to run but I have run into trouble. After much debugging I have narrowed down the problem but have no idea how to proceed. Some background, I am using a python script inside C++ code. This is somewhat documented on Python, and I managed to get it running very well in my basic executable. #include and a -lpython2.6 and everything was grand. However, difficulty has arisen when running this python script from a shared library(.so). This shared library