简体   繁体   中英

Not able to install Python3 on AIX server

I am trying to install Python 3 on a AIX server.

I got the Python 3 RPM file for AIX from here .

There were few dependencies that needed to be installed before installing Python, but I chose to install it without having installed any dependency through nodeps.

Now when I execute a Python3 command, I get the following errors:

在此处输入图片说明

It says cannot load module /opt/freeware/lib64/libpython3.5m.so but the file does exists in that directory.

在此处输入图片说明

Both LIBPATH & LD_LIBRARY_PATH are set to lib64.

在此处输入图片说明

Edit: Adding the output of lslpp -L rmp.rte command

在此处输入图片说明

The issue has been resolved now :)

I downloaded and installed below 2 dependencies libgcc gettext

I need not had to downgrade RPM or install and use yum to download required dependencies.

Download 3.0.5.51 from here

After download execute the following command on the server as root:

# installp -acFXYd rpm.rte.3.0.5.51 all

This command should downgrade your RPM to 3.0.5.51 and make it usable.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM