I am having issues with libcloud install on ubuntu with python 2.7.2
I installed libcloud from the apache libcloud website http://libcloud.apache.org/downloads.html. The apache-libcloud-0.9.1.zip file.
When I follow the examples I can import libcloud but when trying to import the libraries from the examples I get the error below:
import sys
import os
import libcloud
from libcloud.compute.types import Provider
from libcloud.compute.providers import get_driver
Traceback (most recent call last):
File "/home/ubuntu/workspace/rtbopsConfig/test_code/libcloud.py", line 3, in <module>
import libcloud
File "/home/ubuntu/workspace/rtbopsConfig/test_code/libcloud.py", line 4, in <module>
from libcloud.compute.types import Provider
ImportError: No module named compute.types
I did have a previous version install but when I found out the package was out of date I installed it from source. I did use the package installer remover.
So ... how to resolve this? Packages are in /usr/local/lib/python2.7/dist-packages/libcloud/