You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Dan Dong <do...@gmail.com> on 2015/01/22 16:55:14 UTC

cloudmonkey installation problem.

Hi,
  When I tried to install cloudmonkey following:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI#CloudStackcloudmonkeyCLI-Usingasacommandlinetool

I found this error when running the command:
# cloudmonkey
Import error in cloudmonkey.cloudmonkey : No module named packages

Looks like a python envs problem, but no clue yet. Any hints? Thanks!

Cheers,
Dan

Re: cloudmonkey installation problem.

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Dan,

I’m not sure which platform you’re on. With Ubuntu 14.04/14.10, the
default pip has some issues. To install CloudMonkey or any package
dependent on "requests" users simply need to upgrade pip to make it work:

1. Uninstall the default pip:
    sudo apt-get remove --purge python-pip

2. Download and install latest pip from
https://pip.pypa.io/en/latest/installing.html#install-pip

> On 22-Jan-2015, at 9:25 pm, Dan Dong <do...@gmail.com> wrote:
>
> Hi,
>  When I tried to install cloudmonkey following:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI#CloudStackcloudmonkeyCLI-Usingasacommandlinetool
>
> I found this error when running the command:
> # cloudmonkey
> Import error in cloudmonkey.cloudmonkey : No module named packages
>
> Looks like a python envs problem, but no clue yet. Any hints? Thanks!
>
> Cheers,
> Dan

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Re: cloudmonkey installation problem.

Posted by Dan Dong <do...@gmail.com>.
Exactly, thanks Erik!

Cheers,
Dan


2015-01-22 12:46 GMT-06:00 Erik Weber <te...@gmail.com>:

> If I recall correctly you'll solve that by upgrading the 'requests' python
> package.
>
> Erik
>
> Den torsdag 22. januar 2015 skrev Dan Dong <do...@gmail.com> følgende:
>
> > Hi,
> >   When I tried to install cloudmonkey following:
> >
> >
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI#CloudStackcloudmonkeyCLI-Usingasacommandlinetool
> >
> > I found this error when running the command:
> > # cloudmonkey
> > Import error in cloudmonkey.cloudmonkey : No module named packages
> >
> > Looks like a python envs problem, but no clue yet. Any hints? Thanks!
> >
> > Cheers,
> > Dan
> >
>

Re: cloudmonkey installation problem.

Posted by Erik Weber <te...@gmail.com>.
If I recall correctly you'll solve that by upgrading the 'requests' python
package.

Erik

Den torsdag 22. januar 2015 skrev Dan Dong <do...@gmail.com> følgende:

> Hi,
>   When I tried to install cloudmonkey following:
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI#CloudStackcloudmonkeyCLI-Usingasacommandlinetool
>
> I found this error when running the command:
> # cloudmonkey
> Import error in cloudmonkey.cloudmonkey : No module named packages
>
> Looks like a python envs problem, but no clue yet. Any hints? Thanks!
>
> Cheers,
> Dan
>