Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power


#Servers
#Opensource
 View Only
  • 1.  import binascci error

    Posted 06/01/21 02:06 PM
    Hi team,

    Kindly help me on below errors.

    $ python
    Python 3.8.2 (default, Mar 31 2020, 16:07:53) [C] on aix
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import binascii
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ImportError: Permission denied
    >>>
    


    ------------------------------
    Golam Shaikh
    ------------------------------

    #AIXOpenSource


  • 2.  RE: import binascci error

    Posted 06/02/21 07:15 AM
    From where did you install python 3.8.2?
    On AIX toolbox we do not have this version.
    Also I do not see any issue in importing the module on AIX toolbox python.
    Looks like some issue in your environment. 
    One of the reason could be that module does not have permission.
    If you are using as a non-root user and the module does not have read permission it will fail to load.
    Check the permission of the module binascii.so and if there is read permission for the user.

    ------------------------------
    SANKET RATHI
    ------------------------------