Summary: Netbeans 6.9.1, Mac OS 10.5.8 (Intel), Python 2.6 and 2.7 (attempted).
Attempted to utilize Python 2.7 (also tried 2.6) as an updated platform to 2.5.1. Distributions are both Mac .dmg's obtained from the official site.
Installed Python 2.x on machine prior to attempting to integrate into NBs IDE.
1.Tools > Python Platforms
2a. Pointed to /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app as indicated by the dialog box. (expected to be able to go further to /Contents/MacOS/Python as in the 2.5.1 example, but could not go further).
--> Result, 'Invlaid Python type.' (yep, that's how it's spelled.)
3. Attempted altering current platform name (2.5.1) and path to point to both the .../Python.app and .../Python.app/Contents/... as above in both cmd and console cmd inputs.
-->Result: When attempting to start a new project with the new reference to 2.7, received warning in Python Platform dropdown box "must use valid..." etc etc.
Have filtered through both the documentation and previous bugs and can't seem to get a handle on this one, so I can make neither a sound diagnosis of the problem nor provide a suggestion.
Message fixed in plugin built during build *201501050001*
changeset: fe25f4486f70 in contrib
user: Lou Dasaro <email@example.com>
log:#189704 - Fixed error message. More work remains to address issue.
I am unable to duplicate this error for Python 2.x in the latest development version. @Serhii, is this still a problem on the Mac using NetBeans IDE Dev (Build 201505170001 or later)?
Also, I still can't configure Python 3.x. To be assigned to the "Python 3 folks".
Upon further review, this bug has been fixed, changeset #7e8e41f35dc9, except that paths/to/platforms containing spaces will fail, but that is a different issue covered by Bug#155384