On Mon, Dec 1, 2014 at 11:53 AM, Erik Weber <terbol...@gmail.com> wrote:
> On Mon, Dec 1, 2014 at 11:50 AM, sebgoa <run...@gmail.com> wrote: > >> >> On Dec 1, 2014, at 11:44 AM, Erik Weber <terbol...@gmail.com> wrote: >> >> > On Mon, Dec 1, 2014 at 11:32 AM, Andrei Mikhailovsky <and...@arhont.com >> > >> > wrote: >> > >> >> Hi guys, >> >> >> >> I am having issues starting cloudmonkey on ubuntu 14.10. I get the >> >> following error: >> >> >> >> $ cloudmonkey >> >> Import error in cloudmonkey.cloudmonkey : No module named packages >> >> >> >> >> > >> > I have the same on CentOS 6.6, cloudmonkey installed with pip >> > >> >> Have you tried with virtualenv ? >> Are you upgrading ? >> >> > > Nope, all I've tried is: pip install cloudmonkey > > This was a fresh machine, so no upgrade. Stock CentOS 6.6. > > After doing yum remove python-pip, and installing pip as per the docs > Rohit sent, and then doing: pip install --force-reinstall -U cloudmonkey, i > now get: > > Traceback (most recent call last): > > File "/usr/bin/cloudmonkey", line 5, in <module> > > from pkg_resources import load_entry_point > > File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in > <module> > > working_set.require(__requires__) > > File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in > require > > needed = self.resolve(parse_requirements(requirements)) > > File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in > resolve > > raise DistributionNotFound(req) > pkg_resources.DistributionNotFound: requests > > I managed to get cloudmonkey running by doing: $ sudo easy_install --upgrade requests $ sudo easy_install --upgrade pygments I have no idea why pip couldn't fix it. -- Erik