1[ec2-user@ip-172-31-27-79 ~]$ sudo yum install -y gcc gcc-c++ python3-devel python3-pip Loaded plugins: extras_suggestions, langpacks, priorities, update-motd Package python3-pip-20.2.2-1.amzn2.0.3.noarch already installed and latest version Resolving Dependencies --> Running transaction check ---> Package gcc.x86_64 0:7.3.1-15.amzn2 will be installed --> Processing Dependency: cpp = 7.3.1-15.amzn2 for package: gcc-7.3.1-15.amzn2.x86_64 --> Processing Dependency: libsanitizer >= 7.3.1-15.amzn2 for package: gcc-7.3.1-15.amzn2.x86_64 --> Processing Dependency: libquadmath >= 7.3.1-15.amzn2 for package: gcc-7.3.1-15.amzn2.x86_64 --> Processing Dependency: libmpx >= 7.3.1-15.amzn2 for package: gcc-7.3.1-15.amzn2.x86_64 --> Processing Dependency: libitm >= 7.3.1-15.amzn2 for package: gcc-7.3.1-15.amzn2.x86_64 --> Processing Dependency: libcilkrts >= 7.3.1-15.amzn2 for package: gcc-7.3.1-15.amzn2.x86_64 --> Processing Dependency: libatomic >= 7.3.1-15.amzn2 for package: gcc-7.3.1-15.amzn2.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-7.3.1-15.amzn2.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-7.3.1-15.amzn2.x86_64 --> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-7.3.1-15.amzn2.x86_64 ---> Package gcc-c++.x86_64 0:7.3.1-15.amzn2 will be installed ---> Package python3-devel.x86_64 0:3.7.10-1.amzn2.0.1 will be installed --> Processing Dependency: system-rpm-config for package: python3-devel-3.7.10-1.amzn2.0.1.x86_64 --> Processing Dependency: python3-rpm-macros for package: python3-devel-3.7.10-1.amzn2.0.1.x86_64 --> Running transaction check ---> Package cpp.x86_64 0:7.3.1-15.amzn2 will be installed ---> Package glibc-devel.x86_64 0:2.26-59.amzn2 will be installed --> Processing Dependency: glibc-headers = 2.26-59.amzn2 for package: glibc-devel-2.26-59.amzn2.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.26-59.amzn2.x86_64 ---> Package libatomic.x86_64 0:7.3.1-15.amzn2 will be installed ---> Package libcilkrts.x86_64 0:7.3.1-15.amzn2 will be installed ---> Package libitm.x86_64 0:7.3.1-15.amzn2 will be installed ---> Package libmpc.x86_64 0:1.0.1-3.amzn2.0.2 will be installed ---> Package libmpx.x86_64 0:7.3.1-15.amzn2 will be installed ---> Package libquadmath.x86_64 0:7.3.1-15.amzn2 will be installed ---> Package libsanitizer.x86_64 0:7.3.1-15.amzn2 will be installed ---> Package mpfr.x86_64 0:3.1.1-4.amzn2.0.2 will be installed ---> Package python3-rpm-macros.noarch 0:3-60.amzn2.0.1 will be installed --> Processing Dependency: python-srpm-macros >= 3-38 for package: python3-rpm-macros-3-60.amzn2.0.1.noarch --> Processing Dependency: python-rpm-macros for package: python3-rpm-macros-3-60.amzn2.0.1.noarch ---> Package system-rpm-config.noarch 0:9.1.0-76.amzn2.0.14 will be installed --> Processing Dependency: dwz >= 0.4 for package: system-rpm-config-9.1.0-76.amzn2.0.14.noarch --> Processing Dependency: perl-srpm-macros for package: system-rpm-config-9.1.0-76.amzn2.0.14.noarch --> Processing Dependency: go-srpm-macros for package: system-rpm-config-9.1.0-76.amzn2.0.14.noarch --> Running transaction check ---> Package dwz.x86_64 0:0.11-3.amzn2.0.3 will be installed ---> Package glibc-headers.x86_64 0:2.26-59.amzn2 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.26-59.amzn2.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.26-59.amzn2.x86_64 ---> Package go-srpm-macros.noarch 0:3.0.15-23.amzn2.0.1 will be installed ---> Package perl-srpm-macros.noarch 0:1-8.amzn2.0.1 will be installed ---> Package python-rpm-macros.noarch 0:3-60.amzn2.0.1 will be installed ---> Package python-srpm-macros.noarch 0:3-60.amzn2.0.1 will be installed --> Running transaction check ---> Package kernel-headers.x86_64 0:5.10.130-118.517.amzn2 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================= Package Arch Version Repository Size ================================================================================================= Installing: gcc x86_64 7.3.1-15.amzn2 amzn2-core 22 M gcc-c++ x86_64 7.3.1-15.amzn2 amzn2-core 13 M python3-devel x86_64 3.7.10-1.amzn2.0.1 amzn2-core 243 k Installing for dependencies: cpp x86_64 7.3.1-15.amzn2 amzn2-core 9.2 M dwz x86_64 0.11-3.amzn2.0.3 amzn2-core 98 k glibc-devel x86_64 2.26-59.amzn2 amzn2-core 994 k glibc-headers x86_64 2.26-59.amzn2 amzn2-core 515 k go-srpm-macros noarch 3.0.15-23.amzn2.0.1 amzn2-core 23 k kernel-headers x86_64 5.10.130-118.517.amzn2 amzn2extra-kernel-5.10 1.4 M libatomic x86_64 7.3.1-15.amzn2 amzn2-core 46 k libcilkrts x86_64 7.3.1-15.amzn2 amzn2-core 85 k libitm x86_64 7.3.1-15.amzn2 amzn2-core 85 k libmpc x86_64 1.0.1-3.amzn2.0.2 amzn2-core 52 k libmpx x86_64 7.3.1-15.amzn2 amzn2-core 51 k libquadmath x86_64 7.3.1-15.amzn2 amzn2-core 189 k libsanitizer x86_64 7.3.1-15.amzn2 amzn2-core 642 k mpfr x86_64 3.1.1-4.amzn2.0.2 amzn2-core 208 k perl-srpm-macros noarch 1-8.amzn2.0.1 amzn2-core 4.7 k python-rpm-macros noarch 3-60.amzn2.0.1 amzn2-core 14 k python-srpm-macros noarch 3-60.amzn2.0.1 amzn2-core 18 k python3-rpm-macros noarch 3-60.amzn2.0.1 amzn2-core 12 k system-rpm-config noarch 9.1.0-76.amzn2.0.14 amzn2-core 90 k Transaction Summary ================================================================================================= Install 3 Packages (+19 Dependent packages) Total download size: 49 M Installed size: 137 M Downloading packages: (1/22): dwz-0.11-3.amzn2.0.3.x86_64.rpm | 98 kB 00:00:00 (2/22): cpp-7.3.1-15.amzn2.x86_64.rpm | 9.2 MB 00:00:00 (3/22): gcc-7.3.1-15.amzn2.x86_64.rpm | 22 MB 00:00:00 (4/22): gcc-c++-7.3.1-15.amzn2.x86_64.rpm | 13 MB 00:00:00 (5/22): glibc-devel-2.26-59.amzn2.x86_64.rpm | 994 kB 00:00:00 (6/22): glibc-headers-2.26-59.amzn2.x86_64.rpm | 515 kB 00:00:00 (7/22): go-srpm-macros-3.0.15-23.amzn2.0.1.noarch.rpm | 23 kB 00:00:00 (8/22): libatomic-7.3.1-15.amzn2.x86_64.rpm | 46 kB 00:00:00 (9/22): libcilkrts-7.3.1-15.amzn2.x86_64.rpm | 85 kB 00:00:00 (10/22): libmpc-1.0.1-3.amzn2.0.2.x86_64.rpm | 52 kB 00:00:00 (11/22): libitm-7.3.1-15.amzn2.x86_64.rpm | 85 kB 00:00:00 (12/22): libmpx-7.3.1-15.amzn2.x86_64.rpm | 51 kB 00:00:00 (13/22): libquadmath-7.3.1-15.amzn2.x86_64.rpm | 189 kB 00:00:00 (14/22): libsanitizer-7.3.1-15.amzn2.x86_64.rpm | 642 kB 00:00:00 (15/22): mpfr-3.1.1-4.amzn2.0.2.x86_64.rpm | 208 kB 00:00:00 (16/22): kernel-headers-5.10.130-118.517.amzn2.x86_64.rpm | 1.4 MB 00:00:00 (17/22): perl-srpm-macros-1-8.amzn2.0.1.noarch.rpm | 4.7 kB 00:00:00 (18/22): python-rpm-macros-3-60.amzn2.0.1.noarch.rpm | 14 kB 00:00:00 (19/22): python-srpm-macros-3-60.amzn2.0.1.noarch.rpm | 18 kB 00:00:00 (20/22): python3-devel-3.7.10-1.amzn2.0.1.x86_64.rpm | 243 kB 00:00:00 (21/22): system-rpm-config-9.1.0-76.amzn2.0.14.noarch.rpm | 90 kB 00:00:00 (22/22): python3-rpm-macros-3-60.amzn2.0.1.noarch.rpm | 12 kB 00:00:00 ------------------------------------------------------------------------------------------------- Total 81 MB/s | 49 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : mpfr-3.1.1-4.amzn2.0.2.x86_64 1/22 Installing : libmpc-1.0.1-3.amzn2.0.2.x86_64 2/22 Installing : cpp-7.3.1-15.amzn2.x86_64 3/22 Installing : libsanitizer-7.3.1-15.amzn2.x86_64 4/22 Installing : dwz-0.11-3.amzn2.0.3.x86_64 5/22 Installing : libmpx-7.3.1-15.amzn2.x86_64 6/22 Installing : kernel-headers-5.10.130-118.517.amzn2.x86_64 7/22 Installing : glibc-headers-2.26-59.amzn2.x86_64 8/22 Installing : glibc-devel-2.26-59.amzn2.x86_64 9/22 Installing : perl-srpm-macros-1-8.amzn2.0.1.noarch 10/22 Installing : go-srpm-macros-3.0.15-23.amzn2.0.1.noarch 11/22 Installing : system-rpm-config-9.1.0-76.amzn2.0.14.noarch 12/22 Installing : python-srpm-macros-3-60.amzn2.0.1.noarch 13/22 Installing : python-rpm-macros-3-60.amzn2.0.1.noarch 14/22 Installing : python3-rpm-macros-3-60.amzn2.0.1.noarch 15/22 Installing : libquadmath-7.3.1-15.amzn2.x86_64 16/22 Installing : libcilkrts-7.3.1-15.amzn2.x86_64 17/22 Installing : libatomic-7.3.1-15.amzn2.x86_64 18/22 Installing : libitm-7.3.1-15.amzn2.x86_64 19/22 Installing : gcc-7.3.1-15.amzn2.x86_64 20/22 Installing : gcc-c++-7.3.1-15.amzn2.x86_64 21/22 Installing : python3-devel-3.7.10-1.amzn2.0.1.x86_64 22/22 Verifying : libitm-7.3.1-15.amzn2.x86_64 1/22 Verifying : python-rpm-macros-3-60.amzn2.0.1.noarch 2/22 Verifying : glibc-headers-2.26-59.amzn2.x86_64 3/22 Verifying : libatomic-7.3.1-15.amzn2.x86_64 4/22 Verifying : libmpc-1.0.1-3.amzn2.0.2.x86_64 5/22 Verifying : libcilkrts-7.3.1-15.amzn2.x86_64 6/22 Verifying : gcc-c++-7.3.1-15.amzn2.x86_64 7/22 Verifying : system-rpm-config-9.1.0-76.amzn2.0.14.noarch 8/22 Verifying : go-srpm-macros-3.0.15-23.amzn2.0.1.noarch 9/22 Verifying : libquadmath-7.3.1-15.amzn2.x86_64 10/22 Verifying : cpp-7.3.1-15.amzn2.x86_64 11/22 Verifying : mpfr-3.1.1-4.amzn2.0.2.x86_64 12/22 Verifying : perl-srpm-macros-1-8.amzn2.0.1.noarch 13/22 Verifying : glibc-devel-2.26-59.amzn2.x86_64 14/22 Verifying : kernel-headers-5.10.130-118.517.amzn2.x86_64 15/22 Verifying : libmpx-7.3.1-15.amzn2.x86_64 16/22 Verifying : python-srpm-macros-3-60.amzn2.0.1.noarch 17/22 Verifying : gcc-7.3.1-15.amzn2.x86_64 18/22 Verifying : python3-rpm-macros-3-60.amzn2.0.1.noarch 19/22 Verifying : python3-devel-3.7.10-1.amzn2.0.1.x86_64 20/22 Verifying : dwz-0.11-3.amzn2.0.3.x86_64 21/22 Verifying : libsanitizer-7.3.1-15.amzn2.x86_64 22/22 Installed: gcc.x86_64 0:7.3.1-15.amzn2 gcc-c++.x86_64 0:7.3.1-15.amzn2 python3-devel.x86_64 0:3.7.10-1.amzn2.0.1 Dependency Installed: cpp.x86_64 0:7.3.1-15.amzn2 dwz.x86_64 0:0.11-3.amzn2.0.3 glibc-devel.x86_64 0:2.26-59.amzn2 glibc-headers.x86_64 0:2.26-59.amzn2 go-srpm-macros.noarch 0:3.0.15-23.amzn2.0.1 kernel-headers.x86_64 0:5.10.130-118.517.amzn2 libatomic.x86_64 0:7.3.1-15.amzn2 libcilkrts.x86_64 0:7.3.1-15.amzn2 libitm.x86_64 0:7.3.1-15.amzn2 libmpc.x86_64 0:1.0.1-3.amzn2.0.2 libmpx.x86_64 0:7.3.1-15.amzn2 libquadmath.x86_64 0:7.3.1-15.amzn2 libsanitizer.x86_64 0:7.3.1-15.amzn2 mpfr.x86_64 0:3.1.1-4.amzn2.0.2 perl-srpm-macros.noarch 0:1-8.amzn2.0.1 python-rpm-macros.noarch 0:3-60.amzn2.0.1 python-srpm-macros.noarch 0:3-60.amzn2.0.1 python3-rpm-macros.noarch 0:3-60.amzn2.0.1 system-rpm-config.noarch 0:9.1.0-76.amzn2.0.14 Complete! [ec2-user@ip-172-31-27-79 ~]$ sudo yum install -y openssl-devel Loaded plugins: extras_suggestions, langpacks, priorities, update-motd Resolving Dependencies --> Running transaction check ---> Package openssl-devel.x86_64 1:1.0.2k-24.amzn2.0.3 will be installed --> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.2k-24.amzn2.0.3.x86_64 --> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-24.amzn2.0.3.x86_64 --> Running transaction check ---> Package krb5-devel.x86_64 0:1.15.1-37.amzn2.2.4 will be installed --> Processing Dependency: libkadm5(x86-64) = 1.15.1-37.amzn2.2.4 for package: krb5-devel-1.15.1-37.amzn2.2.4.x86_64 --> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-37.amzn2.2.4.x86_64 --> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-37.amzn2.2.4.x86_64 --> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-37.amzn2.2.4.x86_64 --> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-37.amzn2.2.4.x86_64 ---> Package zlib-devel.x86_64 0:1.2.7-19.amzn2.0.1 will be installed --> Running transaction check ---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.amzn2.0.2 will be installed ---> Package libcom_err-devel.x86_64 0:1.42.9-19.amzn2 will be installed ---> Package libkadm5.x86_64 0:1.15.1-37.amzn2.2.4 will be installed ---> Package libselinux-devel.x86_64 0:2.5-12.amzn2.0.2 will be installed --> Processing Dependency: libsepol-devel(x86-64) >= 2.5-6 for package: libselinux-devel-2.5-12.amzn2.0.2.x86_64 --> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-12.amzn2.0.2.x86_64 --> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.5-12.amzn2.0.2.x86_64 ---> Package libverto-devel.x86_64 0:0.2.5-4.amzn2.0.2 will be installed --> Running transaction check ---> Package libsepol-devel.x86_64 0:2.5-8.1.amzn2.0.2 will be installed ---> Package pcre-devel.x86_64 0:8.32-17.amzn2.0.2 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================= Package Arch Version Repository Size ================================================================================================= Installing: openssl-devel x86_64 1:1.0.2k-24.amzn2.0.3 amzn2-core 1.5 M Installing for dependencies: keyutils-libs-devel x86_64 1.5.8-3.amzn2.0.2 amzn2-core 37 k krb5-devel x86_64 1.15.1-37.amzn2.2.4 amzn2-core 272 k libcom_err-devel x86_64 1.42.9-19.amzn2 amzn2-core 32 k libkadm5 x86_64 1.15.1-37.amzn2.2.4 amzn2-core 179 k libselinux-devel x86_64 2.5-12.amzn2.0.2 amzn2-core 187 k libsepol-devel x86_64 2.5-8.1.amzn2.0.2 amzn2-core 77 k libverto-devel x86_64 0.2.5-4.amzn2.0.2 amzn2-core 12 k pcre-devel x86_64 8.32-17.amzn2.0.2 amzn2-core 480 k zlib-devel x86_64 1.2.7-19.amzn2.0.1 amzn2-core 50 k Transaction Summary ================================================================================================= Install 1 Package (+9 Dependent packages) Total download size: 2.8 M Installed size: 6.0 M Downloading packages: (1/10): keyutils-libs-devel-1.5.8-3.amzn2.0.2.x86_64.rpm | 37 kB 00:00:00 (2/10): krb5-devel-1.15.1-37.amzn2.2.4.x86_64.rpm | 272 kB 00:00:00 (3/10): libcom_err-devel-1.42.9-19.amzn2.x86_64.rpm | 32 kB 00:00:00 (4/10): libkadm5-1.15.1-37.amzn2.2.4.x86_64.rpm | 179 kB 00:00:00 (5/10): libsepol-devel-2.5-8.1.amzn2.0.2.x86_64.rpm | 77 kB 00:00:00 (6/10): libselinux-devel-2.5-12.amzn2.0.2.x86_64.rpm | 187 kB 00:00:00 (7/10): libverto-devel-0.2.5-4.amzn2.0.2.x86_64.rpm | 12 kB 00:00:00 (8/10): pcre-devel-8.32-17.amzn2.0.2.x86_64.rpm | 480 kB 00:00:00 (9/10): openssl-devel-1.0.2k-24.amzn2.0.3.x86_64.rpm | 1.5 MB 00:00:00 (10/10): zlib-devel-1.2.7-19.amzn2.0.1.x86_64.rpm | 50 kB 00:00:00 ------------------------------------------------------------------------------------------------- Total 16 MB/s | 2.8 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : pcre-devel-8.32-17.amzn2.0.2.x86_64 1/10 Installing : libkadm5-1.15.1-37.amzn2.2.4.x86_64 2/10 Installing : libverto-devel-0.2.5-4.amzn2.0.2.x86_64 3/10 Installing : libcom_err-devel-1.42.9-19.amzn2.x86_64 4/10 Installing : libsepol-devel-2.5-8.1.amzn2.0.2.x86_64 5/10 Installing : libselinux-devel-2.5-12.amzn2.0.2.x86_64 6/10 Installing : keyutils-libs-devel-1.5.8-3.amzn2.0.2.x86_64 7/10 Installing : krb5-devel-1.15.1-37.amzn2.2.4.x86_64 8/10 Installing : zlib-devel-1.2.7-19.amzn2.0.1.x86_64 9/10 Installing : 1:openssl-devel-1.0.2k-24.amzn2.0.3.x86_64 10/10 Verifying : zlib-devel-1.2.7-19.amzn2.0.1.x86_64 1/10 Verifying : 1:openssl-devel-1.0.2k-24.amzn2.0.3.x86_64 2/10 Verifying : keyutils-libs-devel-1.5.8-3.amzn2.0.2.x86_64 3/10 Verifying : libselinux-devel-2.5-12.amzn2.0.2.x86_64 4/10 Verifying : libsepol-devel-2.5-8.1.amzn2.0.2.x86_64 5/10 Verifying : libcom_err-devel-1.42.9-19.amzn2.x86_64 6/10 Verifying : libverto-devel-0.2.5-4.amzn2.0.2.x86_64 7/10 Verifying : libkadm5-1.15.1-37.amzn2.2.4.x86_64 8/10 Verifying : pcre-devel-8.32-17.amzn2.0.2.x86_64 9/10 Verifying : krb5-devel-1.15.1-37.amzn2.2.4.x86_64 10/10 Installed: openssl-devel.x86_64 1:1.0.2k-24.amzn2.0.3 Dependency Installed: keyutils-libs-devel.x86_64 0:1.5.8-3.amzn2.0.2 krb5-devel.x86_64 0:1.15.1-37.amzn2.2.4 libcom_err-devel.x86_64 0:1.42.9-19.amzn2 libkadm5.x86_64 0:1.15.1-37.amzn2.2.4 libselinux-devel.x86_64 0:2.5-12.amzn2.0.2 libsepol-devel.x86_64 0:2.5-8.1.amzn2.0.2 libverto-devel.x86_64 0:0.2.5-4.amzn2.0.2 pcre-devel.x86_64 0:8.32-17.amzn2.0.2 zlib-devel.x86_64 0:1.2.7-19.amzn2.0.1 Complete! [ec2-user@ip-172-31-27-79 ~]$ openssl version OpenSSL 1.0.2k-fips 26 Jan 2017 [ec2-user@ip-172-31-27-79 ~]$ python3 -V Python 3.7.10 [ec2-user@ip-172-31-27-79 ~]$ python3 -m pip install --upgrade pip setuptools wheel Defaulting to user installation because normal site-packages is not writeable Collecting pip Downloading pip-22.2.2-py3-none-any.whl (2.0 MB) |████████████████████████████████| 2.0 MB 6.7 MB/s Collecting setuptools Downloading setuptools-63.4.2-py3-none-any.whl (1.2 MB) |████████████████████████████████| 1.2 MB 65.6 MB/s Collecting wheel Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB) Installing collected packages: pip, setuptools, wheel Successfully installed pip-22.2.2 setuptools-63.4.2 wheel-0.37.1 [ec2-user@ip-172-31-27-79 ~]$ python3 -m pip install couchbase Defaulting to user installation because normal site-packages is not writeable Collecting couchbase Downloading couchbase-4.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (40.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.0/40.0 MB 47.8 MB/s eta 0:00:00 Installing collected packages: couchbase Successfully installed couchbase-4.0.3 [ec2-user@ip-172-31-27-79 ~]$ python3 -m pip show couchbase Name: couchbase Version: 4.0.3 Summary: Python Client for Couchbase Home-page: https://github.com/couchbase/couchbase-python-client Author: Couchbase, Inc. Author-email: PythonPackage@couchbase.com License: Apache License 2.0 Location: /home/ec2-user/.local/lib/python3.7/site-packages Requires: Required-by: [ec2-user@ip-172-31-27-79 ~]$ ldd /home/ec2-user/.local/lib/python3.7/site-packages/couchbase/pycbc_core.so linux-vdso.so.1 (0x00007ffdccdf2000) libssl.so.1.1 => not found libcrypto.so.1.1 => not found libdl.so.2 => /lib64/libdl.so.2 (0x00007f62aee0e000) libz.so.1 => /lib64/libz.so.1 (0x00007f62aebf9000) librt.so.1 => /lib64/librt.so.1 (0x00007f62ae9f1000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f62ae7d3000) libm.so.6 => /lib64/libm.so.6 (0x00007f62ae493000) libc.so.6 => /lib64/libc.so.6 (0x00007f62ae0e6000) /lib64/ld-linux-x86-64.so.2 (0x00007f62afd96000) [ec2-user@ip-172-31-27-79 ~]$ python3 Python 3.7.10 (default, Jun 3 2021, 00:02:01) [GCC 7.3.1 20180712 (Red Hat 7.3.1-13)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from couchbase.cluster import Cluster Traceback (most recent call last): File "", line 1, in File "/home/ec2-user/.local/lib/python3.7/site-packages/couchbase/cluster.py", line 24, in from couchbase.analytics import AnalyticsQuery, AnalyticsRequest File "/home/ec2-user/.local/lib/python3.7/site-packages/couchbase/analytics.py", line 16, in from couchbase.exceptions import (PYCBC_ERROR_MAP, File "/home/ec2-user/.local/lib/python3.7/site-packages/couchbase/exceptions.py", line 28, in from couchbase.pycbc_core import exception ImportError: libssl.so.1.1: cannot open shared object file: No such file or directory >>> exit() [ec2-user@ip-172-31-27-79 ~]$ sudo yum install -y openssl11 Loaded plugins: extras_suggestions, langpacks, priorities, update-motd Resolving Dependencies --> Running transaction check ---> Package openssl11.x86_64 1:1.1.1g-12.amzn2.0.8 will be installed --> Processing Dependency: openssl11-libs(x86-64) = 1:1.1.1g-12.amzn2.0.8 for package: 1:openssl11-1.1.1g-12.amzn2.0.8.x86_64 --> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_1)(64bit) for package: 1:openssl11-1.1.1g-12.amzn2.0.8.x86_64 --> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: 1:openssl11-1.1.1g-12.amzn2.0.8.x86_64 --> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_1)(64bit) for package: 1:openssl11-1.1.1g-12.amzn2.0.8.x86_64 --> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: 1:openssl11-1.1.1g-12.amzn2.0.8.x86_64 --> Processing Dependency: libssl.so.1.1()(64bit) for package: 1:openssl11-1.1.1g-12.amzn2.0.8.x86_64 --> Processing Dependency: libcrypto.so.1.1()(64bit) for package: 1:openssl11-1.1.1g-12.amzn2.0.8.x86_64 --> Running transaction check ---> Package openssl11-libs.x86_64 1:1.1.1g-12.amzn2.0.8 will be installed --> Processing Dependency: openssl11-pkcs11 for package: 1:openssl11-libs-1.1.1g-12.amzn2.0.8.x86_64 --> Running transaction check ---> Package openssl11-pkcs11.x86_64 0:0.4.10-6.amzn2.0.1 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================= Package Arch Version Repository Size ================================================================================================= Installing: openssl11 x86_64 1:1.1.1g-12.amzn2.0.8 amzn2-core 318 k Installing for dependencies: openssl11-libs x86_64 1:1.1.1g-12.amzn2.0.8 amzn2-core 1.4 M openssl11-pkcs11 x86_64 0.4.10-6.amzn2.0.1 amzn2-core 61 k Transaction Summary ================================================================================================= Install 1 Package (+2 Dependent packages) Total download size: 1.8 M Installed size: 4.3 M Downloading packages: (1/3): openssl11-libs-1.1.1g-12.amzn2.0.8.x86_64.rpm | 1.4 MB 00:00:00 (2/3): openssl11-pkcs11-0.4.10-6.amzn2.0.1.x86_64.rpm | 61 kB 00:00:00 (3/3): openssl11-1.1.1g-12.amzn2.0.8.x86_64.rpm | 318 kB 00:00:00 ------------------------------------------------------------------------------------------------- Total 12 MB/s | 1.8 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 1:openssl11-libs-1.1.1g-12.amzn2.0.8.x86_64 1/3 Installing : openssl11-pkcs11-0.4.10-6.amzn2.0.1.x86_64 2/3 Installing : 1:openssl11-1.1.1g-12.amzn2.0.8.x86_64 3/3 Verifying : 1:openssl11-1.1.1g-12.amzn2.0.8.x86_64 1/3 Verifying : openssl11-pkcs11-0.4.10-6.amzn2.0.1.x86_64 2/3 Verifying : 1:openssl11-libs-1.1.1g-12.amzn2.0.8.x86_64 3/3 Installed: openssl11.x86_64 1:1.1.1g-12.amzn2.0.8 Dependency Installed: openssl11-libs.x86_64 1:1.1.1g-12.amzn2.0.8 openssl11-pkcs11.x86_64 0:0.4.10-6.amzn2.0.1 Complete! [ec2-user@ip-172-31-27-79 ~]$ ldd /home/ec2-user/.local/lib/python3.7/site-packages/couchbase/pycbc_core.so linux-vdso.so.1 (0x00007ffe253b5000) libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f9d9930d000) libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f9d98e37000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f9d98c33000) libz.so.1 => /lib64/libz.so.1 (0x00007f9d98a1e000) librt.so.1 => /lib64/librt.so.1 (0x00007f9d98816000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9d985f8000) libm.so.6 => /lib64/libm.so.6 (0x00007f9d982b8000) libc.so.6 => /lib64/libc.so.6 (0x00007f9d97f0b000) /lib64/ld-linux-x86-64.so.2 (0x00007f9d9a31d000) [ec2-user@ip-172-31-27-79 ~]$ python3 Python 3.7.10 (default, Jun 3 2021, 00:02:01) [GCC 7.3.1 20180712 (Red Hat 7.3.1-13)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from couchbase.cluster import Cluster >>> from couchbase.auth import PasswordAuthenticator >>> from couchbase.options import ClusterOptions >>> cluster = Cluster.connect('couchbase://localhost', ClusterOptions(PasswordAuthenticator('Admin', 'pw'))) Traceback (most recent call last): File "", line 1, in File "/home/ec2-user/.local/lib/python3.7/site-packages/couchbase/cluster.py", line 712, in connect cluster = Cluster(connstr, *options, **kwargs) File "/home/ec2-user/.local/lib/python3.7/site-packages/couchbase/cluster.py", line 99, in __init__ self._connect() File "/home/ec2-user/.local/lib/python3.7/site-packages/couchbase/logic/wrappers.py", line 101, in wrapped_fn raise e File "/home/ec2-user/.local/lib/python3.7/site-packages/couchbase/logic/wrappers.py", line 85, in wrapped_fn ret = fn(self, *args, **kwargs) File "/home/ec2-user/.local/lib/python3.7/site-packages/couchbase/cluster.py", line 105, in _connect raise ErrorMapper.build_exception(ret) couchbase.exceptions.UnAmbiguousTimeoutException: