bonclay7 / aws-amicleaner

Cleanup your old unused ami and related snapshots
MIT License
362 stars 132 forks source link

not available on cli #61

Closed IRobL closed 7 years ago

IRobL commented 7 years ago
$ pip install aws-amicleaner --upgrade
Collecting aws-amicleaner
Collecting blessings (from aws-amicleaner)
Collecting boto3 (from aws-amicleaner)
  Using cached boto3-1.4.4-py2.py3-none-any.whl
Collecting awscli (from aws-amicleaner)
  Using cached awscli-1.11.118-py2.py3-none-any.whl
Collecting prettytable (from aws-amicleaner)
Collecting boto (from aws-amicleaner)
  Using cached boto-2.48.0-py2.py3-none-any.whl
Collecting argparse (from aws-amicleaner)
  Using cached argparse-1.4.0-py2.py3-none-any.whl
Collecting jmespath<1.0.0,>=0.7.1 (from boto3->aws-amicleaner)
  Using cached jmespath-0.9.3-py2.py3-none-any.whl
Collecting s3transfer<0.2.0,>=0.1.10 (from boto3->aws-amicleaner)
  Using cached s3transfer-0.1.10-py2.py3-none-any.whl
Collecting botocore<1.6.0,>=1.5.0 (from boto3->aws-amicleaner)
  Using cached botocore-1.5.81-py2.py3-none-any.whl
Collecting docutils>=0.10 (from awscli->aws-amicleaner)
  Using cached docutils-0.13.1-py2-none-any.whl
Collecting colorama<=0.3.7,>=0.2.5 (from awscli->aws-amicleaner)
  Using cached colorama-0.3.7-py2.py3-none-any.whl
Collecting rsa<=3.5.0,>=3.1.2 (from awscli->aws-amicleaner)
  Using cached rsa-3.4.2-py2.py3-none-any.whl
Collecting PyYAML<=3.12,>=3.10 (from awscli->aws-amicleaner)
Collecting futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" (from s3transfer<0.2.0,>=0.1.10->boto3->aws-amicleaner)
  Using cached futures-3.1.1-py2-none-any.whl
Collecting python-dateutil<3.0.0,>=2.1 (from botocore<1.6.0,>=1.5.0->boto3->aws-amicleaner)
  Using cached python_dateutil-2.6.1-py2.py3-none-any.whl
Collecting pyasn1>=0.1.3 (from rsa<=3.5.0,>=3.1.2->awscli->aws-amicleaner)
  Using cached pyasn1-0.2.3-py2.py3-none-any.whl
Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.1->botocore<1.6.0,>=1.5.0->boto3->aws-amicleaner)
  Using cached six-1.10.0-py2.py3-none-any.whl
Installing collected packages: blessings, jmespath, futures, docutils, six, python-dateutil, botocore, s3transfer, boto3, colorama, pyasn1, rsa, PyYAML, awscli, prettytable, boto, argparse, aws-amicleaner
Successfully installed PyYAML-3.12 argparse-1.4.0 aws-amicleaner-0.1.2 awscli-1.11.118 blessings-1.6 boto-2.48.0 boto3-1.4.4 botocore-1.5.81 colorama-0.3.7 docutils-0.13.1 futures-3.1.1 jmespath-0.9.3 prettytable-0.7.2 pyasn1-0.2.3 python-dateutil-2.6.1 rsa-3.4.2 s3transfer-0.1.10 six-1.10.0

$ amicleaner --version
-bash: amicleaner: command not found
bonclay7 commented 7 years ago

Hello, How can I reproduce this error ? Maybe you have a problem with your pip packaging

weyderfs commented 4 years ago

Same problem here, I was installed by source following the readme. I use a MacOS Mojave. I think that this problem is about miss $PATH of your source. How I can add it, where's your project was installed?

weyderfs commented 4 years ago

Installing collected packages: aws-amicleaner Found existing installation: aws-amicleaner 0.2.2 Uninstalling aws-amicleaner-0.2.2: Successfully uninstalled aws-amicleaner-0.2.2 Running setup.py develop for aws-amicleaner Successfully installed aws-amicleaner sui6526@MAC68937:~/Documents/Infra/OPS/Snapshots/aws-amicleaner (master)$ aws-amicleaner -bash: aws-amicleaner: command not found