python - PyDev run configuration: ImportError: No module named -


i using liclipse on osx , trying run django application using eclipse run configuration (this manages virtualenv?). app not of creation works in production assume environment needs corrected. app structured as:

pydev project folder --manage.py --requirements.txt --django-app-folder -----config-folder --------__ini__.py --------settings.py --------evniroments.py --------urls.py --------wsgi.py -----app-folder --------__ini__.py --------lots of other stuff 

when try run application fails import module: enter image description here

this appears common, @ least there several other questions comparable , many dated ones such as: eclipse + pydev importerror , importerror: cannot import name... not answer question of how configure eclipse run correctly pydev?

i have followed docs @ pydev , guidance in referenced links such removing interpreter settings pydev , adding , "check if interpreters synchronized environment".

here pythonpath run config using: enter image description here

and interpreter settings under pydev preferences - have tried both egg , folder each on own: enter image description here

there strange in pythonpath: have django_filters_xxx.egg entry , django_filters_xxx.egg/filters entry, seems odd... .egg folder or zip in case?

does work in command line? if works in command line, can try adding:

import sys print('\n'.join(sorted(sys.path))) 

on command line , comparing 1 in pydev check if there's wrong there.

another common issue shadowing import module same name in project.


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -