You ran across a bug in asinstall, and we’ll fix that. Till then, Python 2.6 works with py-bcrypt 0.3, and Python 2.7 needs py-bcrypt 0.4. Please install the correct version and try it again.
That seems to have fixed the dependency error but the install now says python is missing
[ec2-user@ip-172-30-12-34 ~]$ sudo pip install py-bcrypt
You are using pip version 6.1.1, however version 8.1.2 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
Collecting py-bcrypt
Downloading py-bcrypt-0.4.tar.gz
Installing collected packages: py-bcrypt
Running setup.py install for py-bcrypt
Successfully installed py-bcrypt-0.4
[ec2-user@ip-172-30-12-34 aerospike-server-enterprise-3.8.4-el6]$ sudo ./asinstall
Installing tools dependencies
Installing tools
rpm -Uvh aerospike-tools-3.8.3-1.el6.x86_64.rpm
error: Failed dependencies:
python is needed by aerospike-tools-3.8.3-1.el6.x86_64
Installing server
rpm -Uvh aerospike-server-enterprise-3.8.4-1.el6.x86_64.rpm
Preparing… ################################# [100%]
package aerospike-server-enterprise-3.8.4-1.el6.x86_64 is already installed
It seemed the install needed python 6. I tried this and it seems to have worked.
[ec2-user@ aerospike]$ sudo yum install python
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
951 packages excluded due to repository priority protections
Resolving Dependencies
→ Running transaction check
—> Package python26.x86_64 0:2.6.9-2.84.amzn1 will be installed
→ Processing Dependency: libpython2.6.so.1.0()(64bit) for package: python26-2.6.9-2.84.amzn1.x86_64
→ Running transaction check
—> Package python26-libs.x86_64 0:2.6.9-2.84.amzn1 will be installed
→ Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================
Package Arch Version Repository Size
Installing:
python26 x86_64 2.6.9-2.84.amzn1 amzn-main 5.8 M
Installing for dependencies:
python26-libs x86_64 2.6.9-2.84.amzn1 amzn-main 696 k
Transaction Summary
Install 1 Package (+1 Dependent package)
Total download size: 6.4 M
Installed size: 21 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): python26-2.6.9-2.84.amzn1.x86_64.rpm | 5.8 MB 00:00
(2/2): python26-libs-2.6.9-2.84.amzn1.x86_64.rpm | 696 kB 00:00
Total 67 MB/s | 6.4 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : python26-libs-2.6.9-2.84.amzn1.x86_64 1/2
Installing : python26-2.6.9-2.84.amzn1.x86_64 2/2
Verifying : python26-2.6.9-2.84.amzn1.x86_64 1/2
Verifying : python26-libs-2.6.9-2.84.amzn1.x86_64 2/2
Does seem to be a problem with the dependencies. Noted that it requires Python 2.6, and the latest AmazonLinux comes with Python 2.7. This is an open JIRA issue on our end.