Adding python modules to pydev in eclipse results in import error?

前端 未结 11 2105
难免孤独
难免孤独 2020-12-14 03:01

I have a problem getting PyDev on eclipse to recognize already installed modules. Here is my detailed approach. The machine is a Mac (Snow Leopard).

In terminal the

11条回答
  •  旧巷少年郎
    2020-12-14 03:40

    Suppose your eternal module is in /.

    Launch Eclipse and go to the project option. Select "PyDev-PYTHONPATH" and on the right you will see a tabbed window. Select External Libraries there. Click on Add Source Folder and select your library from the above path.

提交回复
热议问题