Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Force eclipse to reload Python modules

I have started a Eclipse PyDev project, and found out that BeautifulSoup was missing.

I installed it using easy_install, and now the scripts runs fine from the command line. Eclipse, however, still thinks that BeautifulSoup isn't installed, displaying an annoying error message and not supplying any introspection or auto complete.

How can I force Eclipse to reload the system's python package list?

like image 627
Adam Matan Avatar asked Apr 27 '26 08:04

Adam Matan


1 Answers

You have to reconfigure the python interpreters. Normally the automatic configuration utility should discover everything by itself, but otherwise you can manually add/remove packages. Here's a screenshot of where the settings are located:

enter image description here

In the only occasion in which I can recall I needed to do that, all I did was to remove the python interpreter from the list and running the Auto Config procedure again, but it should also be possible to simply add a library (bottom half of the screenshot).

HTH!

like image 112
mac Avatar answered Apr 28 '26 20:04

mac