Check this post nbPython: Python development on NetBeans
nbPython by default uses Jython interpreter that is shipped in the NBM suit. Go to Tools-> Options-> nbPython
To change it simply, point to your native Python interpreter- usually /usr/bin/python (on Linux)


