Hi David,

It sounds like eclipse may be using a different python interpreter than the
one at /usr/local/lib/python2.7/

Is it possible to set the interpreter in the preferences?

Jay

On Fri, Apr 13, 2012 at 7:31 AM, David Montgomery <[email protected]
> wrote:

> Hi,
>
> I installed libcloud using pip in ubuntu 64.  I am using python2.7 and
> eclipse is my IED.
>
> From the command line...things work.
>
> >>> import libcloud
> >>> print libcloud.__version__
> 0.9.1
>
>
> From eclipse, things dont work.  I cant import anything relating to
> libcloud  I have no other issues with any other python libraries.
> Libraries where installed in
> /usr/local/lib/python2.7/dist-packages/libcloud
>
> import libcloud.compute.types
>
> Traceback (most recent call last):
>  File "/home/ubuntu/workspace/rtbopsConfig/test_code/libcloud.py",
> line 6, in <module>
>    from libcloud.compute.types import Provider
>  File "/home/ubuntu/workspace/rtbopsConfig/test_code/libcloud.py",
> line 6, in <module>
>    from libcloud.compute.types import Provider
> ImportError: No module named compute.types
>
>
>
> This happens with all methods.  I am kinda at a loss.  I even re
> imported the python interpreter in eclipse
>
> Any issues with libcloud?
>
> Thanks
>

Reply via email to