Typically, only python2.x is used on Solaris 10. If you use Python3, one is http://www.sunfreeware.com get the binary version available, but the site is not available for free download, so we need to compile it ourselves. The first is to download the source code on the Python website, I downloaded the pythob-3.4.3.tgz, which can be used for SPARC and x86 versions. Then the compiler is downloaded, because SUNCC compiler does not support Python, we need the GCC compiler, the binary version can be on Sage's website to gcc4.3.2 (http://wiki.sagemath.org/solaris-binaries), Or it can be downloaded to the http://pan.baidu.com/s/1c00GhQ4.
Unzip the compiler, set the environment variables, and then extract the Python3 source code. Go to the Python3 directory. /configure--WITH-GCC=GCC When the configuration is complete, direct make is available, but only the version of the Cui interface is python3. This method is available under both SPARC and x86 versions of Solaris 10.
Reference: http://blog.csdn.net/seeme007/article/details/3772767 (Solaris compile/install Python 3.0)
Using Python3 under Solaris 10