Trying to run 'hello world" py file, So I installed Eclipse and I cant seem to get the py file I select to run. jdk 7 crashed with a SIGBUS error.
2 Answers
In Eclipse goto Help->install new software(popup window will open)->add(popup window will open)->Name(enter 'Pydev' in 'name' box)->Location(enter http://pydev.org/updates) click 'ok'.
In the below box 'select all' -> 'next', accept the terms and conditions and finish.
Eclipse will Install software and ask for certificate confirmation, select and 'OK'
Restart Eclipse and create a project, eclipse will 'auto config' Auto Config
That's it.
You are ready to go.!
(I do not have enough reputation to post images, so pasted Links instead)
- 202
Further you need to go to Eclipse, make is recognise the Python Interpreter. i.e Eclipse- Preferences- find Pydev, expand it---and find Python interpreter, click on it. In the right pane, under Python Interpreters --click New, Give a name for your interpreter, then browse to give the directory containing the Python.exe (Windows: Program Files- Python--Python.exe), then confirm for the libraries , then apply. Then click Window menu in Eclipse, Open Perspectives,--other..--select Pydev and ok. Then you now create a new Pydev project(File menu), then a new pyDev module as ypur .py script