9👍
✅
Had the same problem here.
Got it resolved by adding /usr/share/pyshared
to the Libraries tab in window->preferences->pydev->Interpreter – Python.
There were a lot of /usr/lib/python*
paths with the compiled libraries (the C stuff with python bindings) where included already, but not /usr/share
… parts with the source.
10👍
Try to go to Window -> Preferences -> Pydev-> Interpreter -> Python Interpreter -> Forced Builtins
tab.
Then add a PIL
entry and apply.
I’ve had the same unresolved import
error when tried to import from this particular package (other packages worked fine), and found this information which finally helped me.
- Django allauth not sending links with https
- Django request.POST does not contain the name of the button that submitted the form
- How does django convert string to modules?
- Is it possible to disable django related_name for a specific field?
Source:stackexchange.com