AIX Open Source

 View Only
  • 1.  import binascci error

    Posted Tue June 01, 2021 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
    ------------------------------


  • 2.  RE: import binascci error

    Posted Wed June 02, 2021 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
    ------------------------------