Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyDev code analysis missing

I have installed Eclipse 3.7.2 from APT in Ubuntu 12.04, and installed PyDev in Eclipse. First, it warns unused import and unused wild import, but it no longer displays them today. However, it can display errors like missing parenthesis.

I created a new user, and installed PyDev using that user, problem still happens. How can I enable them for warnings? I have not change the code analysis settings.

like image 662
Fish Monitor Avatar asked Jul 04 '12 09:07

Fish Monitor


People also ask

Why is PyDev not showing in Eclipse?

If you have Eclipse installed, but it does not have the PyDev plug-in installed for whatever reason, PyDev is missing from the list of Eclipse preferences. Follow the instructions in the PyDev plug-in manually. Select the latest version of Python 3 installed on your computer, and press .

How do I install PyDev?

Configure PyDevGo to Window → Preferences. In the Preferences window, expand PyDev and select Interpreter-Python. Click "New..." and type Python32 for the Interpreter name. For the Interpreter executable, browse to your copy of Python (C:\Program Files\Python32\python.exe), and press Open.


2 Answers

list all operations could solve it here, for others convenience, and make this question closed

  • remove the project and recreated it, and this time the project dir is the the PYTHONPATH

  • remove your python interpretor settings, and set it again in eclipse - window preference - pydev -interpreter Python, refresh the pydev index

  • Project -> Properties -> PyDev -PYTHONPATH, all is empty. I then "add source folder"

like image 83
pinkdawn Avatar answered Oct 21 '22 13:10

pinkdawn


I had the same problem. Went to project properties > pydev - PYTHONPATH, then setting the source folder did it for me !

like image 41
Nav Avatar answered Oct 21 '22 14:10

Nav