Questions tagged [pydev]

PyDev is an Eclipse plugin for Python development.

PyDev - one of the best IDEs for Python development. Distributed as an Eclipse plugin.

Detailed information and download available at http://pydev.org/

Related Links:

2553 questions
40
votes
6 answers

Can Pylint error checking be customized?

I am using pydev where I have set up pylint. The problem is that even inside the comments, pylint reports warnings. I was looking to disable any sort of checking inside any line or a block comment. Also, I wish to follow camelCase naming convention…
Sumit Bisht
  • 1,507
  • 1
  • 16
  • 31
37
votes
7 answers

Django -- User.DoesNotExist does not exist?

I'm trying to get hold of Django. I use Pydev on Eclipse. I have written a simple signup page that I can't get to work. Eclipse complains that User.DoesNotExist is undefined. Most likely, I am missing something trivial. Here's the relevant portion…
shanyu
  • 9,536
  • 7
  • 60
  • 68
37
votes
3 answers

Python main call within class

I haven't done much python - coming from a C/Java background - so excuse me for asking such a simple question. I am using Pydev in Eclipse to write this simple program, and all I want it to do is to execute my main function: class Example(): if…
franka
  • 1,867
  • 3
  • 17
  • 31
36
votes
5 answers

Interactive console using Pydev in Eclipse?

I'm debugging my Python code in Eclipse using the Pydev plugin. I'm able to open a Pydev console and it gives me two options: "Console for currently active editor" and "Python console". However none of them is useful to inspect current variable…
ricafeal
  • 14,169
  • 4
  • 19
  • 10
35
votes
2 answers

pydev: find all references to a function

This has probably been asked before but I can't seem to find the answer. I've moved from windows to Linux and started using PyDev (Aptana) recently but what I cannot seem to find is how to find all references to a function.
DDecoene
  • 7,184
  • 7
  • 30
  • 43
35
votes
14 answers

How to solve import error for pandas?

I installed Anaconda with python 2.7.7. However, whenever I run "import pandas" I get the error: "ImportError: C extension: y not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext…
Alex F
  • 2,086
  • 4
  • 29
  • 67
35
votes
2 answers

Where is classical vertical scrollbar in PyDev?

I have just updated Eclipse (using with PyDev) and surprisingly found out that the classic vertical scrollbar is changed to some strange thing as marked on the figure (screenshot). Eclipse Standard/SDK Version: Kepler Service Release 2 Build id:…
lskrinjar
  • 5,483
  • 7
  • 29
  • 54
34
votes
10 answers

Aptana Error-pydev: Port not bound (found port -1)?

I just updated my Aptana Studio3. When I open my python file it says that it can not find map, range and filter and some other methods. but when I run my code, it'll run without any problem. my code completion doesn't work any more. The error for…
Hadi
  • 5,328
  • 11
  • 46
  • 67
34
votes
4 answers

How can I make the PyDev editor selectively ignore errors?

I'm using PyDev under Eclipse to write some Jython code. I've got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ISubInterface The problem is that PyDev will always…
Pridkett
  • 4,883
  • 4
  • 30
  • 47
33
votes
28 answers

PyDev not showing up in Eclipse

I just installed Eclipse Kepler (after an issue with a faulty update in Juno) and tried to install PyDev using the Install New Software option in Eclipse. Basically just following memory/online tutorials. After installing I can't see it in my…
Matt
  • 3,508
  • 6
  • 38
  • 66
31
votes
4 answers

Is there a quick way to decrease the indentation of multiple lines in Python?

I am a newbie to python programming. I find that decreasing the indentation of a block of codes in python is quite annoying. For example, given the following code snippet for i in range(density): if i < 5: x, y = rnd(0,shape[1]//2)*2,…
sma
  • 877
  • 2
  • 9
  • 24
31
votes
3 answers

Where is the Google App Engine SDK path on OSX?

I need to know for creating a Pydev Google App Engine Project in Eclipse.
Curyous
  • 8,716
  • 15
  • 58
  • 83
30
votes
5 answers

What is the [shortcut/other way] for go to definition in Eclipse+Pydev

I used to use WingIde, where in a shortcut(f4, default) which I used quite often was Goto definition, which will open the definition file, and take me to it. Is there a similar shortcut for eclipse+pydev?
agiliq
  • 7,518
  • 14
  • 54
  • 74
30
votes
2 answers

Setting up Eclipse Juno with PyDev and Virtualenv

I have managed to set up the python interpreter of my pydev installation to the one in my virtualenv folder following this steps: MyProject -> Properties -> PyDev - Interpreter/Grammar Click on "Click here to configure an interpreter not listed" In…
danielrvt
  • 10,177
  • 20
  • 80
  • 121
29
votes
18 answers

Pydev Perspective Not Showing After Install For Eclipse

After installing the latest version of Pydev on eclipse it is not showing under the list of available perspectives. Eclipse does however list pydev as being installed which seems weird to me. I would also like to add that I installed pydev through…
crazyCoder
  • 1,552
  • 3
  • 20
  • 25