OS X 10.8: Missing third party modules - iso8601 and sqlalchemy
OS X 10.8.2 does not include the python modules iso8601 and sqlalchemy by default. Consider adding checks for third party modules.
$ ./glacier.py vault list
Traceback (most recent call last):
File "./glacier.py", line 36, in <module>
import iso8601
ImportError: No module named iso8601
Mac users can run the following commands to fix these dependencies:
sudo easy_install iso8601
sudo easy_install sqlalchemy
What would you prefer to see instead? distutils? setuptools? Something else?
I am not familiar with python but a runtime warning telling the user what modules are missing would be helpful.
If the warning can include instructions or a reference URL, that will likely help reduce your support burden.
Why not add a setup.py with properly declared dependencies (including boto, apparently the current release contains glacier support), so the installation can be completely automated?
@hinnerk that's exactly what I'm planning. I just need to verify that the current release contains enough that glacier-cli has everything it needs. When I gave it a cursory glace it looked like uploading archives would be broken, but I need to check this.
Once everything is in, I'll add a setup.py and upload it to pypi.
boto 2.6.0 doesn't include this pull request, so glacier-cli still needs an as-yet unreleased version of boto. Once a version of boto with the required support is released, I'll add a setup.py and upload to pypi.
So lets hope it makes it into 2.6.1.
…and a year later I stumble about this again. m)
@grahammiln thx! You've really helped me!
Same problem on Ubuntu, I fixed this with
sudo apt-get install python-iso8601 python-sqlalchemy
@amedee solution fixed it for our ubuntu box