PythonInstall

Installing the NetBeans Python IDE

There are several ways you can install the NetBeans Python IDE. Latest information appears to be at Set up NetBeans IDE 7.4 to use Python

1. NetBeans 7.*

Support for python in NetBeans 7 is left to community - which currently means it's almost zero.

But if you, like me, still favor NetBeans over any other IDE and mainly use it to edit python files, but can live with the current bugs (I have issues with debugging and autocomplete!) you can enable python adding this plugin repository:

http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz this will basically turn your NetBeans into the dev version (7.1 at the time of writing)

Personally, I fully moved to the Dev version and have found it quite stable.

Once you are on the dev channel, you can follow the instructions for NetBeans >= 6.7

Currently, you will see a LOT of these exceptions: " UnsupportedOperationException: This IndexReader cannot make any changes to the index (it was opened with readOnly = true)". By my experience and without looking at the code, this usually makes autocompletion do not work, but besides that all is fine.

You might want to configure your netbeans not to show the error dialog - only display a little red icon in the toolbar, or working might become impossible: in NETBEANSDIR/etc/netbeans.conf, add "-J-Dnetbeans.exception.report.min.level=99999" to the "netbeans_default_options" switches.

PS. beware of ending up with a mixed-bag-version, because updates could leave you with a not-working NetBeans.

If after an update your netbeans refuses to start lamenting some broken dependencies you should go to your netbeans installation folder (not your userapp one) and delete recently downloaded packages to revert to a working state.

2. Using the Update Center modules for NetBeans 6.7, 6.8 or 6.9

This option is suitable if you intend to use NetBeans for other kinds of development and other languages besides Python. You can use the Python support with NetBeans 6.7-6.9 by installing it from the Update Center:

  1. After installing and starting up NetBeans, Go to Tools | Plugins
  2. Under Available Plugins, type "Python" in the Search button on the top right
  3. Check the checkboxes left of the 3 plugins that were found, click Install and follow the wizard

3. Using the bleeding edge development builds of Python IDE

Download and unzip a build from the continuous build: http://deadlock.netbeans.org/hudson/job/python/

4. Using the entire NetBeans distribution with Python support (bleeding edge development builds)

  1. Download and install the daily development build of the main NetBeans distribution
  2. Download and unzip a Python IDE build from the continuous build: http://deadlock.netbeans.org/hudson/job/python/ (as in the previous scenario)
  3. Copy the python directory from the unzipped Python IDE build to the main NetBeans IDE build, and use the main NetBeans build.

5. Building from sources

See instructions on this page.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo