0

I use PyDev for python, and I have 2 files - one obvious python script, second - with extension .so. In my python script I want to use functions from .so file, so have line:

import test.so

But in PyDev editor this line is marked as error:

Unresolved import: test.so
Unresolved import: test

Could someone explain me why and how to fix this?

khris
  • 4,809
  • 21
  • 64
  • 94
  • Why not simply `import test`? –  Jun 26 '14 at 11:27
  • I tried this, the result is the same – khris Jun 26 '14 at 11:48
  • 1
    Have a look at http://stackoverflow.com/questions/4631377/unresolved-import-issues-with-pydev-and-eclipse –  Jun 26 '14 at 11:55
  • I have this problem too! With an so file (cv2.cpython-36m-x86_64-linux-gnu.so) that is not seen by eclipse or pydev using "import cv2" and listed as unresolved import. But python can find it, and all my scripts run fine. Have you had any luck finding a solution? – excyberlabber Jul 27 '17 at 07:43

0 Answers0