Python in NetBeans IDE 8.0

Update 10 December 2014: Please go to this blog entry to follow the steps and for all further discussion on NetBeans IDE and Python:

https://blogs.oracle.com/geertjan/entry/python_in_netbeans_ide_81

Comments:

Thanks ! Seems to be similar (and compatible) to Python support that was present in older versions of Netbeans.

Posted by postmortem on April 11, 2014 at 11:09 AM PDT #

Jython 2.5.1 is the only choice in Python platform dropdown box. I wonder how to get the Python 2.7.4 available in that dropdownbox?

thx.
ht

Posted by guest on April 11, 2014 at 03:00 PM PDT #

I love Netbeans every day more. Great tool.

Posted by guest on April 11, 2014 at 10:05 PM PDT #

I've got the Python 3.4 in the dropdownlist (already installed in my system). The problem is to change the culture of coding to 3.x.
ex: print "hello world!" //compatible with 2.x
print ("hello world!") //compatible with 3.x
thx.

Posted by Naoufel on April 12, 2014 at 02:49 PM PDT #

unfortunately the source -> format does just nothing.

But .. if the guys continue and if they support:
- python 3
- django

I will give it a try, for now I stay with eclipse+pydev

Posted by guest on April 14, 2014 at 12:42 PM PDT #

The auto suggestion feature (CTRL+Space) isnt working for me, any suggestion?

Posted by guest on April 14, 2014 at 02:19 PM PDT #

Funciona perfecto en NetBeans 7.4
Gracias

Posted by guest on April 15, 2014 at 07:35 AM PDT #

Back to NetBeans 6.5. Why now? Currently eclipse and pydev rules. I missed this, but now there is nothing to compare.

Posted by lemar on April 19, 2014 at 11:49 AM PDT #

pydev is far from great, pycharm is much better.
will the extension be 'main streamed' ? running code from "deadlock.netbeans.org" (dead-lock) is not attractive for may people, besides many dev-updates are coming in as well.

Posted by guest on April 24, 2014 at 07:57 AM PDT #

After installing this plugin and the "hello world" project sample, restarting or rebooting NB IDE results in a hung IDE. To fix this hang, one can kill the NB IDE and delete or move all PyDev projects into a sub-folder or remove the PyDev plugin altogether.

Also, since this plugin is from the developers repository will result in an update of the normal 8.0 Edition to the Developer Edition - not cool, I do not want the Developer's Edition, thank you.

This plugin behavior is the same for v7.X, so nothing has improved.

Posted by guest on April 26, 2014 at 11:38 AM PDT #

I followed all the instructions but am getting an error message
'java' is not recognized as an internal or external command,
operable program or batch file.
I have Java, Java FX, Java Web, Java EE, Java ME Embedded and Java Card so have I missed something or is there a forum where I can post this sort of query better please?

Posted by guest on May 15, 2014 at 10:54 PM PDT #

Dear Mr Wielenga,
Thank you for this posting. I am currently learning java and python at the same time. Of course using Netbeans 8 all of the two is accomplished easily. I do not need separate IDE for that. Again.. thank you very much..

Posted by guest on June 02, 2014 at 06:21 PM PDT #

Hi ,

Tried to add the plugin on windows 7 64bit . at update time get error :
*************************************************************
Unable to connect to the Python because of Timeout while opening connection to http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz

Check your proxy settings or try again later. The server may be unavailable at the moment. You may also want to make sure that your firewall is not blocking network traffic.
**************************************************
It worked for me on Windows 7 32bit netbeans 7.4 .

Thanks

Alon

Posted by Alon Eldi on June 25, 2014 at 11:57 PM PDT #

Hi
Found the solution for the problem in the following link

http://stackoverflow.com/questions/9833105/netbeans-cannot-reload-the-plugins-catalog-because-of-connection-error

should add the following to netbeans.conf (under etc directory):
-J-Djava.net.preferIPv4Stack=true

and start netbeans as administrator (can also help)

Regards

Alon

Posted by Alon Eldi on June 26, 2014 at 12:22 AM PDT #

It is 503 error for site that you post in top of ypur post. I mean
deadlock.netbeans.org hudson ...
Your site is unavailable.

Posted by guest on July 02, 2014 at 01:34 AM PDT #

Type this in terminal to avoid problem on linux:
export JVM_ARGS="-Djava.net.preferIPv4Stack=true"

Posted by guest on July 03, 2014 at 03:38 AM PDT #

Looks like it's working now:

http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz

I've been able to install the Python plugins.

Posted by guest on July 03, 2014 at 07:10 AM PDT #

I am using NB 8.0 and I have jre8 in my JAVA_HOME path and am getting an error of \Java\jre8\lib') was unexpected at this time.

Posted by guest1 on July 18, 2014 at 04:36 PM PDT #

Thanks a lot!

Posted by guest on July 23, 2014 at 02:59 AM PDT #

How can I contribute to the project?, Where can I get the source code?
Sopport for Django would be grate and i am interested to help.

Posted by Sergio Valde on July 25, 2014 at 09:51 AM PDT #

Anyone interested in extending/enhancing the Python tools in NetBeans, just drop me an e-mail at geertjan dot wielenga at oracle dot com and we'll work on it together.

Posted by Geertjan on July 25, 2014 at 09:55 AM PDT #

Thanks so much! I was getting tired of Eclipse. If I moved a folder or renamed it, Eclipse would freak out. I also had to keep switching between interpreters for Windows 7, Os x and Ubuntu. FINALLY! Python in Netbeans. That was all I wanted for Christmas.

Posted by dyln on August 01, 2014 at 06:05 AM PDT #

awesome. netbeans is such a beast,
however i think the documentation for netbeans api is bit lacking.
can you tell me good learning material for it

Posted by saikat guha on August 15, 2014 at 11:07 AM PDT #

Sounds like you don't know about https://leanpub.com/nbp4beginners and https://platform.netbeans.org/tutorials. Least lacking in documentation of all APIs I know of.

Posted by Geertjan on August 15, 2014 at 11:09 AM PDT #

thank you so much for taking time to respond :). btw the book seems good

Posted by saikat guha on August 15, 2014 at 11:58 AM PDT #

Thank you. Just what I was looking for

Posted by icRaven on August 15, 2014 at 02:33 PM PDT #

hello mr Geertjan i would like to help in extending the python tools for netbeans. please mail me at sktguha@gmail.com if you are interested.

Posted by saikat guha on August 16, 2014 at 12:27 PM PDT #

hello mr Geertjan. i would like to help in extending the python tools for netbeans. please email if interested at sktguha@gmail.com. my github account is www.github.com/sktguha

Posted by saikat guha on August 17, 2014 at 07:48 AM PDT #

Hi.

I installed Netbeans and also Python IDE 2.7 for that following the explained installation rule.
I would like to run the following code:

____________________________
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np

fig = plt.figure()
ax = Axes3D(fig)
for c, z in zip(['r', 'g', 'b', 'y'], [30, 20, 10, 0]):
xs = np.arange(20)
ys = np.random.rand(20)
ax.bar(xs, ys, zs=z, zdir='y', color=c, alpha=0.8)

ax.set_xlabel('X')
ax.set_ylabel('Y')
ax.set_zlabel('Z')

plt.show()
___________________________

After running the code, I am getting the following error massage:

ImportError: No module named mpl_toolkits.mplot3d

Moreover, for almost all programs I have tested, I got this import error message.

I am wondering if you would mind helping me, at the simplest form, to resolve the problem.

Posted by guest on August 21, 2014 at 02:45 AM PDT #

Thanks a lot!!

Have been using this plugin for a long time, the only problem is that whenever you try to put more parameters in "print" like this:

print('foo', flush=True)

It gives an error, it does not expect 2 or more parameters, but as python 3+ you can put more than one parameter

Posted by guest on August 27, 2014 at 05:25 PM PDT #

Thanks! Worked for 8.0 on Ubuntu 12.04!

Posted by Alex on August 31, 2014 at 08:24 PM PDT #

Anyone interested in extending the Python support for NetBeans IDE? Drop me an e-mail at geertjan dot wielenga at oracle dot com.

Posted by Geertjan on August 31, 2014 at 10:23 PM PDT #

Thanks. Useful for someone like me who is learning Python.

Posted by guest on September 01, 2014 at 09:30 AM PDT #

I very like NetBeans. I use it for lot of projects. But on my python project i use python 3.x and it's not working: https://netbeans.org/bugzilla/show_bug.cgi?id=186520 yet

Posted by guest on September 17, 2014 at 03:11 AM PDT #

Hy,

I would like to know if there is any way to share folders between different projects?
I'm working with Odoo and all overiding modules are located in a specific place but the root framework still unique. So I should have been able to share this folder between multiple projects which is not the case.
Any workaround for this?

regards

Posted by Florent THOMAS on October 20, 2014 at 02:27 AM PDT #

The URL https://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz is not working on Netbeans 8.0.1

Details are as:
Product Version: NetBeans IDE 8.0.1 (Build 201408251540)
Updates: NetBeans IDE is updated to version NetBeans 8.0.1 Patch 1.1
Java: 1.7.0_51; Java HotSpot(TM) Client VM 24.51-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb

Posted by guest on November 25, 2014 at 01:04 AM PST #

deadlock.netbeans.org is down at the moment, will be up in a few hours.

Posted by Geertjan on November 25, 2014 at 01:07 AM PST #

Quote (Alon Eldi on June 25, 2014 at 11:57 PM PDT):
"Tried to add the plugin on windows 7 64bit . at update time get error :
*************************************************************
Unable to connect to the Python because of Timeout while opening connection to http://deadlock.netbeans...."
.
.
.
Quote (guest on July 03, 2014 at 07:10 AM PDT):
"Looks like it's working now:

http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz

I've been able to install the Python plugins."

The difference of course being the broken link is https, not http.
Looks like NB doesn't like https, and I see none of the stock out-of-box portals are that.

Posted by gawduck on November 25, 2014 at 01:46 AM PST #

Installing this actually broke my Netbeans 8. I received a bunch of errors, which I didn't get a screenshot of and now Netbeans won't even start. Is there a way to reverse this without completely reinstalling Netbeans (i.e., some files to remove)?

I'm running Windows 7 Enterprise.

Thanks.

Posted by guest on November 26, 2014 at 07:59 AM PST #

Go to your userdirectory (http://wiki.netbeans.org/FaqWhatIsUserdir), the location of which you can also find in the Help | About dialog box, delete it, or change its name, and then a new one will be created. That returns the IDE to its defaults, i.e., factory settings. You should never need to reinstall NetBeans.

Posted by Geertjan on November 26, 2014 at 08:09 AM PST #

I lost my C/C++/Fortran setup after deleting my user directory, but I was able to run Netbeans again. So, I tried installing the Python plugin again and the same thing happened. Netbeans won't run after doing so. Too bad, I was looking forward to being able to use Netbeans to learn Python.

After the second deleting of my user directory, Netbeans does not restart like it did after the first deletion. The error list I mentioned previously did reappear, but I do not know how to attach it here. The first couple of lines are as follows:

"Warning - could not install some modules:
General Queries API - The module named org.openide.filesystems.compat8 wa needed and not found.
Editor Settings - None of the modules providing the capability org.netbeans.api.editor.settings.implementation could be installed.
etc."

Posted by guest on November 26, 2014 at 09:01 AM PST #

Which version of NetBeans are you using? I'd recommend making really sure you've removed the user directory, indeed, any customizations you have made will be removed when you do that. For me, the Python works fine in NetBeans 8, a lot more info is needed from you (and to my mail address geertjan dot wielenga at oracle dot com) to figure out the reason for the plugin failing.

Posted by Geertjan on November 26, 2014 at 10:32 AM PST #

I'm having the same issue, fresh install of NetBeans 8.0.1 with JDK7u71, on Win7 Ultimate 64... after checking the python module checkbox, clicking install, and accepting the license, it seems to be downloading and attempting to install the entire repository. It completes, saying that the install was successful, then restarts the IDE, at which point a mile-long list of all the (unrelated, stuff I never wanted!) failed plugins appear with the option to disable them and continue. This is where it breaks - all the failed plugins are basically everything in the repository, and all of NB's stock modules. netbeans64.exe is indeed running, but with nothing but the skeleton, there's nothing to see. Not sure why it wants to download half the internet just to install python module... of course I could be doing something silly. Would be extremely helpful to have Python support in NB for my current project, but not essential... patience is a virtue, I guess.

Posted by guest on November 27, 2014 at 05:00 AM PST #

This problem has arisen after updating to Patch 1.1 of NetBeans. No problem before that.

Posted by Dan Andersen on November 27, 2014 at 11:04 AM PST #

*update*
I've had time to work through this a bit, and can say that this is indeed broken, compared to when I had this plugin installed and working minutes after my first post on November 25, 2014 at 01:46 AM PST. I hadn't had a chance to try it, though it DID install fine, and the IDE was useable. Yesterday, I accepted the update shown on the update tab (I wanted to install plantUML and noticed the updater update), and that's when the IDE broke.
NOTE: deleting either the user folder, cache folder, or both DOES NOT fix the issue; the simplest fix is to kill the invisible netbeans64.exe and uninstall / re-install. something about the repo changed during that time it was up/down... now, on a clean install, as I mentioned in last post, it downloads MANY unrelated modules when only selecting just the python module, and fails on restart with hundreds of failure messages. This did not happen the first time I installed from this update center. Hope we can pinpoint what's going on.

Posted by guest on November 27, 2014 at 12:25 PM PST #

You don't have to install updates if you don't want them. Just say no.

Posted by Geertjan on November 27, 2014 at 12:27 PM PST #

lol... problem is, this issue happens now when you simplpy attempt to install any one single module from the aptly named "deadlock" center, regardless of whether you want updated anything. I specifically denied update, attempted to install ONLY python module, and as of yesterday, it downloads hundreds of .nbm's and then dies with the aforementioned errors. very curious, as it worked fine on Nov 25th.

Posted by gawduck on November 27, 2014 at 03:07 PM PST #

I just followed your instructions for adding the Python Plugin----after downloading the plugin it requested a restart of Netbeans. During restart there were (hundreds) of error of components not found or something-----now Netbeans will not run at all. My Netbeans installation has been damaged.

I was using Netbeans 8 with Windows 8 and Java 1.8

What do I do to recover the situation without losing all my Java work?

Posted by guest on November 27, 2014 at 08:57 PM PST #

This is what I got when I tried to start Netbeans.
Warning - could not install some modules: Dialogs API - The module named org.netbeans.api.progress.nb was needed and not found. Editor Settings - None of the modules providing the capability org.netbeans.api.editor.settings.implementation could be installed. Editor Library 2 - None of the modules providing the capability org.netbeans.modules.editor.actions could be installed. Editor Library 2 - The module named org.netbeans.modules.editor.document was needed and not found. Java Profiler (Common) - None of the modules providing the capability org.netbeans.lib.profiler.common.Profiler could be installed. XML Tools API - The module named org.netbeans.modules.editor.document was needed and not found. Editor Guarded Sections - The module named org.netbeans.modules.editor.document was needed and not found. Extensible Abstract Model (XAM) - None of the modules providing the capability org.netbeans.modules.xml.xam.spi.ModelAccessProvider could be installed. Extensible Abstract Model (XAM) - None of the modules providing the capability org.netbeans.modules.xml.xam.spi.DocumentModelAccessProvider could be installed. Ant-Based Project Support - The module named org.netbeans.modules.projectuiapi.base/1 was needed and not found. Ant-Based Project Support - The module named org.netbeans.modules.project.spi.intern was needed and not found. I/O APIs - Swing - The module named org.netbeans.api.io was needed and not found. External Execution API - The module named org.netbeans.api.progress.nb was needed and not found. External Execution API - The module named org.netbeans.modules.extexecution.base/2 was needed and not found. Java Source Queries - None of the modules providing the capability org.netbeans.modules.java.source.queries.spi.QueriesController could be installed. Datasystems API - The module named org.openide.filesystems.nb was needed and not found. Datasystems API - The module named org.netbeans.api.progress.nb was needed and not found. Datasystems API - The module named org.netbeans.api.templates was needed and not found. Navigate To Test - The module named org.netbeans.modules.gsf.testrunner/1 was needed and not found. JavaHelp Integration - The module named org.netbeans.api.progress.nb was needed and not found. Project UI API - The module named org.openide.filesystems.nb was needed and not found. Project UI API - The module named org.netbeans.api.progress.nb was needed and not found. Project UI API - The module named org.netbeans.modules.projectuiapi.base/1 was needed and not found. Editor Settings Storage - The module named org.openide.filesystems.nb was needed and not found. Notifications - None of the modules providing the capability org.openide.windows.WindowManager could be installed. Form Editor - None of the modules providing the capability org.netbeans.api.editor.guards.Java could be installed. Project UI - The module named org.netbeans.modules.projectuiapi.base/1 was needed and not found. Project UI - The module named org.netbeans.api.templates was needed and not found. Project UI - The module named org.openide.filesystems.nb was needed and not found. Project UI - The module named org.netbeans.api.progress.nb was needed and not found. Editor Indentation - The module named org.netbeans.modules.editor.document was needed and not found. Editor Library - The module named org.netbeans.api.progress.nb was needed and not found. Editor Library - The module named org.netbeans.modules.editor.document was needed and not found. Preprocessor Bridge - None of the modules providing the capability org.netbeans.modules.java.preprocessorbridge.spi.JavaSourceUtilImpl could be installed. Editor Actions - The module named org.netbeans.modules.editor.document was needed and not found. Database Core - None of the modules providing the capability org.openide.windows.IOProvider could be installed. Diff - The module named org.netbeans.api.progress.nb was needed and not found. Diff - The module named org.netbeans.modules.editor.document was needed and not found. Static Analysis Core - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. Static Analysis Core - None of the modules providing the capability org.openide.windows.WindowManager could be installed. Enhanced Web Browser Functionality - None of the modules providing the capability org.openide.windows.WindowManager could be installed. Hudson UI - The module named org.netbeans.modules.gsf.testrunner/1 was needed and not found. Java Source - The module named org.netbeans.modules.editor.indent.project/0-1 was needed and not found. JPDA Debugger - None of the modules providing the capability org.netbeans.spi.debugger.jpda.SourcePathProvider could be installed. JPDA Debugger - None of the modules providing the capability org.netbeans.spi.debugger.jpda.EditorContext could be installed. Java SE Profiles - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. Java SE Profiles - The module named org.netbeans.modules.code.analysis/0-1 was needed and not found. JPDA Debugger UI - None of the modules providing the capability org.netbeans.api.debugger.jpda.JPDADebuggerEngineImpl could be installed. JPDA Debugger UI - None of the modules providing the capability org.netbeans.spi.debugger.ui could be installed. Nashorn Execution - The module named org.netbeans.modules.java.api.common/0-1 was needed and not found. Eclipse Project Importer - The module named org.netbeans.modules.java.api.common/0-1 was needed and not found. Java - Navigation - The module named org.netbeans.modules.editor.breadcrumbs/0-1 was needed and not found. Java - Navigation - None of the modules providing the capability org.openide.windows.WindowManager could be installed. Java SE Projects - The module named org.netbeans.modules.java.api.common/0-1 was needed and not found. Java Web Start - The module named org.netbeans.modules.java.api.common/0-1 was needed and not found. JavaFX 2 Project - The module named org.netbeans.modules.java.api.common/0-1 was needed and not found. Freeform Ant Projects - The module named org.netbeans.modules.editor.indent.project/0-1 was needed and not found. Java Hints SPI - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. Javadoc - The module named org.netbeans.modules.editor.bracesmatching/0-1 was needed and not found. Javadoc - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. Java Refactoring - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. Java Hints UI - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. Java Hints UI - The module named org.netbeans.modules.code.analysis/0-1 was needed and not found. Legacy Java Hints SPI - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. Java Testrunner - The module named org.netbeans.modules.gsf.testrunner/1 was needed and not found. JUnit Tests - The module named org.netbeans.modules.gsf.testrunner/1 was needed and not found. Mercurial - None of the modules providing the capability org.netbeans.api.javahelp.Help could be installed. Git - None of the modules providing the capability org.netbeans.api.javahelp.Help could be installed. Versioning UI - The module named org.openide.filesystems.nb was needed and not found. Versioning UI - The module named org.netbeans.api.progress.nb was needed and not found. Versioning UI - The module named org.netbeans.modules.editor.document was needed and not found. Tags Based Editors Library - The module named org.netbeans.modules.editor.deprecated.pre65formatting/0-1 was needed and not found. Java Editor Library - The module named org.netbeans.modules.editor.deprecated.pre65formatting/0-1 was needed and not found. Editor Code Templates - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. Common Scripting Language API (new) - The module named org.netbeans.modules.editor.breadcrumbs/0-1 was needed and not found. Common Scripting Language API (new) - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. SQL Editor - The module named org.netbeans.modules.editor.bracesmatching/0-1 was needed and not found. CSS Editor - The module named org.netbeans.modules.editor.bracesmatching/0-1 was needed and not found. XML Text Editor - The module named org.netbeans.modules.editor.bracesmatching/0-1 was needed and not found. XML Text Editor - The module named org.netbeans.modules.editor.deprecated.pre65formatting/0-1 was needed and not found. XSL Support - None of the modules providing the capability org.openide.util.HttpServer$Impl could be installed. Java Editor - The module named org.netbeans.modules.editor.bracesmatching/0-1 was needed and not found. Java Editor - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. Java Hints - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. Java Declarative Hints - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. JavaFX 2 Editor - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. Java Persistence API Support - The module named org.netbeans.modules.j2ee.core.utilities/0-1 was needed and not found. JPA Verification - The module named org.netbeans.modules.j2ee.core.utilities/0-1 was needed and not found. JPA Verification - The module named org.netbeans.spi.editor.hints/0-1 was needed and not found. JPA Refactoring - The module named org.netbeans.modules.j2ee.core.utilities/0-1 was needed and not found. HTML Editor - The module named org.netbeans.modules.editor.bracesmatching/0-1 was needed and not found. CSS Visual Editor - None of the modules providing the capability org.openide.windows.IOProvider could be installed. JavaScript2 Editor - The module named org.netbeans.modules.editor.bracesmatching/0-1 was needed and not found. Editing Files - The module named org.netbeans.modules.editor.bracesmatching/0-1 was needed and not found. IDE Platform - The module named org.netbeans.modules.editor.macros/0-1 was needed and not found. Ant - None of the modules providing the capability BuildActions could be installed. GUI Builder - The module named org.netbeans.modules.form.binding/0-1 was needed and not found. GUI Builder - The module named org.netbeans.modules.form.nb/0-1 was needed and not found. GUI Builder - The module named org.netbeans.modules.form.refactoring/0-1 was needed and not found. JavaScript Debugging Support - None of the modules providing the capability org.netbeans.api.debugger.jpda.JPDADebuggerEngineImpl could be installed. JavaScript Debugging Support - None of the modules providing the capability org.netbeans.spi.debugger.ui could be installed. Spring Beans - The module named org.netbeans.modules.j2ee.core.utilities/0-1 was needed and not found. Java Visual Debugger - None of the modules providing the capability org.netbeans.modules.debugger.jpda.ui could be installed. Hibernate - The module named org.netbeans.modules.j2ee.core.utilities/0-1 was needed and not found. 278 further modules could not be installed due to the above problems.

Posted by guest on November 27, 2014 at 08:58 PM PST #

Another point---on the second attempt, I did say NO to the upates but it kills Netbeans anyway.

Posted by guest on November 27, 2014 at 09:02 PM PST #

Shall I just put all the NBM files that relate to Python into a Git repo where anyone can get them as needed?

Posted by Geertjan on November 27, 2014 at 10:07 PM PST #

If you're willing to isolate just the python module and the couple of dependancies in a seperate repo, that would be awesome, and much appreciated! Thanks for offering, I'll stay tuned...

Posted by gawduck on November 28, 2014 at 12:25 AM PST #

I had similar instability issues in the past, so I gave up on Python in Netbeans. @gj I'd appreciate if you could release the plugin separately :)

Posted by Dennis on November 28, 2014 at 04:06 AM PST #

Not perfect yet, but at least you can run and see syntax coloring, working on fixing the editor now:

https://github.com/GeertjanWielenga/Python4NetBeans/tree/master/PythonSuite/binaries

Right-click each of those NBMs, download them, install them in 8.0.1. Don't complain about anything yet, working on it now. The editor needs to be upgraded, etc etc. You're welcome to contribute to it too, of course.

Posted by Geertjan on November 28, 2014 at 04:09 AM PST #

Right now, in those NBMs, the assumption is you have jython-2.5.1 installed in the root of your C directory.

"C:\\jython2.5.1"

These and many other things are being worked on.

Posted by Geertjan on November 28, 2014 at 04:39 AM PST #

TY, can't wait to test it out.

Posted by guest on November 28, 2014 at 06:56 AM PST #

After installing this plugin, Netbeans 8.0.2 doesn't launch, like described above. Too bad... if it worked, this IDE would have no match.

Posted by developer on November 30, 2014 at 01:49 AM PST #

Pretty sure no one told you that this plugin works with 8.0.2. Certainly not me.

Posted by Geertjan on December 01, 2014 at 08:20 AM PST #

Hey, I've had the same problem about Netbeans not running after applying update. I can't even install Python manually. It stops loading at "Reading module storage...done".

Netbeans just stopped working one day, and I've been trying to fix it since the 1st. Can't continue development until this is fixed. I've tried to downgrade to Netbeans 7.4, but that same error log comes up during startup.

There's no workaround..
Any help is appreciated!

Posted by Karl on December 05, 2014 at 11:20 AM PST #

Drop me an e-mail at geertjan dot wielenga at oracle dot com and I'll help.

Posted by Geertjan on December 05, 2014 at 12:56 PM PST #

I am bit disappointed that such a BIG well known company offers a product with a plug in that does not work. At least Oracle could post something stating that the Python plugin does not work any longer with NetBeans 8 or whatever. Instead I get all kind of advice, which is ALL WRONG! Sad really… This experience negatively affects my opinion on trying any other Oracle products.

Warning - could not install some modules: Execution API - The module named org.openide.filesystems.nb was needed and not found. Execution API - The module named org.openide.filesystems.compat8 was needed and not found. Java Profiler (Common) - None of the modules providing the capability org.netbeans.lib.profiler.common.Profiler could be installed. Keyring API - The module named org.netbeans.api.progress.compat8 was needed and not found. External Execution API - The module named org.openide.filesystems.nb was needed and not found. External Execution API - The module named org.openide.filesystems.compat8 was needed and not found. External Execution API - The module named org.netbeans.api.progress.compat8 was needed and not found. MIME Lookup API - The module named org.openide.filesystems.nb was needed and not found. MIME Lookup API - The module named org.openide.filesystems.compat8 was needed and not found. Java Profiler (API & SPI) - The module named org.openide.filesystems.nb was needed and not found. Java Profiler (API & SPI) - The module named org.openide.filesystems.compat8 was needed and not found. Java Profiler (API & SPI) - The module named org.netbeans.api.progress.compat8 was needed and not found. Java Profiler (OQL) - The module named org.openide.filesystems.nb was needed and not found. Java Profiler (OQL) - The module named org.openide.filesystems.compat8 was needed and not found.

Posted by Hristian on December 06, 2014 at 07:41 AM PST #

The general issue it seems we all have is related to netbeans and updating modules or plugins, not only python plugin.
("Warning - could not install some modules" dialog window, then netbeans just stops)
If there is any fix or workaround please publish it somewhere.

At the moment it seems impossible to update or install anything on netbeans (at least for netbeans 8.0.2 + ubuntu 14).

Posted by emmanuel on December 06, 2014 at 08:11 AM PST #

There's no big well known company offering this plugin. Just me, quite little, on my own, trying to resurrect it. Will you help? Just go here to download the binaries and install them. Will make a movie about this all soon.

https://github.com/GeertjanWielenga/Python4NetBeans/tree/master/PythonSuite/binaries

Posted by Geertjan on December 06, 2014 at 01:51 PM PST #

Hello, Geertjan. Thank you for your answer and the short explanation of the situation. Sorry if I made you feel bad. :-) I just got a bit frustrated.

I would definitely like to help if I can knowledge wise. I took a look at the binaries in the repository you gave. And I do not know where to start with .nbm files, sorry.

You can right me on my email address, hristian dot carabulea at outlook dot com, if you like, and give me more hints on what could I do, and where I could learn about what I should do, etc.

Thank you, and I am looking forward hearing from you. :-)

Posted by Hristian on December 06, 2014 at 03:54 PM PST #

More information about this issue (with NB 8.0.2)

https://netbeans.org/bugzilla/show_bug.cgi?id=248986

Posted by knorke on December 09, 2014 at 07:01 AM PST #

Hristian,

Basically you are supposed to do the following. Download the *.nbm files. Then launch the Netbeans, go to Tools -> Plugins, then click Downloaded tab, then click "Add Plugins" button. The dialog will pop up, find your *.nbm files, and try to install them. This usually works fine for other plugins I downloaded in the past.
Unfortunately, with this Python plugin and my Netbeans 8.0.2, it looked like it ignored the nbm files that I choose, like nothing happened. Maybe Netbeans considered this plugin invalid, though it never showed any error message.
Let me know if you observe the same behavior.

Posted by Leonid on December 09, 2014 at 07:18 AM PST #

Hi all, thanks for your patience. I've been away at conference and am back now.
I'll put the NBM files, plus the JAR you need, in the Plugin Portal this week.
I'll then make a YouTube movie, on Mac OSX, Linux, and Windows, showing how to get set up with the NBMs. Will let you know when I've done this, by the end of this week.

Posted by Geertjan on December 09, 2014 at 07:26 AM PST #

It actually worked for me this time (first time I had a problem in my download - my fault). I am using Netbeans 8.0.2.

Posted by Leonid on December 09, 2014 at 07:37 AM PST #

i have installed python plugin with following link on netbeans 8.0.1 after installation netbeans not working, same thing happened with 7.3, 7.4and 8 on ubuntu 14.04 64 bit and java version "1.7.0_65"

https://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz

any suggestions.... thanks

Posted by guest on December 09, 2014 at 10:03 PM PST #

The suggestion is to read again what I wrote above: "Hi all, thanks for your patience. I've been away at conference and am back now. I'll put the NBM files, plus the JAR you need, in the Plugin Portal this week. I'll then make a YouTube movie, on Mac OSX, Linux, and Windows, showing how to get set up with the NBMs. Will let you know when I've done this, by the end of this week."

Posted by Geertjan on December 09, 2014 at 10:05 PM PST #

Go here: https://blogs.oracle.com/geertjan/entry/python_in_netbeans_ide_81

Posted by Geertjan on December 09, 2014 at 11:50 PM PST #

thanks Geertjan it working now with 8.0.2

Posted by girish kumar on December 10, 2014 at 12:15 AM PST #

Hi kumar girish. So, you followed the steps at https://blogs.oracle.com/geertjan/entry/python_in_netbeans_ide_81 ? I.e., you're using the plugin from the Plugin Portal? If so and it's working, i.e., the 10 step procedure described thefe works for you, could you go to that blog entry and leave a message there saying that that specific procedure works for you? That will help others a lot to know that the instructions have been tried by others and that they work.

Posted by Geertjan on December 10, 2014 at 12:18 AM PST #

No selections available for Python Platform. view only has one selection <Valid platform has to be selected> and the Python Platform Manager has no entries.

Using Netbeans 8.02 (full install) and followed Geertjan's Python installation instructions. Netbeans installed on a new Windows 7 PC.

Any ideas on resolving this issue.

Thank you for your help,
Frank

Posted by Frank on December 25, 2014 at 10:23 PM PST #

Maybe install Python?

Posted by Geertjan on December 26, 2014 at 01:34 AM PST #

Python Platform selections now in view after installing Python.
Thank You,
Frank

Posted by Frank on December 26, 2014 at 10:28 AM PST #

Same issue of <Valid platform has to be selected> .
Coplete description here http://stackoverflow.com/questions/28037159/netbeans-8-0-2-not-recognizing-python-plataform-how-to-solve-this-issue

Any ideas on resolving this issue.

Posted by guest on January 19, 2015 at 07:47 PM PST #

Just install Python on your system, restart NetBeans, and you'll be OK. Drop me a mail directly at geertjan dot wielenga at netbeans dot org if you continue having problems with this.

Posted by Geertjan on January 19, 2015 at 09:28 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« May 2015
SunMonTueWedThuFriSat
     
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
      
Today