Forum Stats

  • 3,824,920 Users
  • 2,260,440 Discussions


Python error during installation of Solaris Studio

I am trying to follow the steps from to install Solaris Studio 12.3 on a virtualbox installation of Solaris 11_2-42.

At this step:

> Use the following commands to set up your publisher configuration for the Oracle Solaris Studio repository:

     $ sudo pkg set-publisher \ -k ~/Desktop/ \ -c ~/Desktop/ \ -G "*" -g solarisstudio 

I get the following error:

[email protected]:~# pkg set-publisher -k /export/home/raphael/Desktop/ -c /export/home/raphael/Desktop/ -G "*" -g solarisstudio

Traceback (most recent call last):

  File "/usr/bin/pkg", line 46, in <module>

    import calendar

  File "/usr/lib/python2.6/", line 10, in <module>

    import locale as _locale

  File "/usr/lib/python2.6/", line 202, in <module>

    import re, operator

ImportError: isapython2.6: fatal: relocation error: file /usr/lib/python2.6/lib-dynload/ symbol _PyUnicodeUCS2_AsDefaultEncodedString: referenced symbol not found

Any input is greatly appreciated!



  • Steve.Clamage-Oracle
    Steve.Clamage-Oracle Member Posts: 775
    edited Feb 9, 2015 12:12PM

    Over the weekend I installed Studio 12.4 on a Solaris 11.2 guest OS in VirtualBox on Windows. I did not have your exact problem, but I did have other problems due to out-of-date Solaris system libraries. I followed the instructions in the Studio installation guide for updating the system, after which Studio installed without a problem.

    There might be other issues with Studio 12.3 - - I haven't tried to install it. Unless there is a specific reason why you need 12.3, I suggest installing 12.4, the current studio release.

This discussion has been closed.