Page 1 of 1

Major Malfunction

Posted: February 3rd, 2012, 1:25 am
by SirScott13
I have been working with Flexget for a month or two now and after a fresh install due to a hardware issue, I have a problem that I can't fix. I upgraded my packages on my machine and my Python upgraded from 2.6 to 2.7. At that point I started to have issues with Flexget running properly. It was giving me an error:

Traceback (most recent call last):
File "/usr/local/bin/flexget", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2659, in <module>
parse_requirements(__requires__), Environment()
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 546, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: SQLAlchemy==0.7.4

I tried re-installing the Flexget software as was suggested somewhere else and it seems to go fine until the end when it says: error: Could not find required distribution FlexGet==1.0r2699.

At this point I started looking into ways to uninstall flexget and try to reinstall fresh, but whenever I try to install any package I get the same type of error as above.

Do you have any thoughts?

Re: Major Malfunction

Posted: February 4th, 2012, 4:14 pm
by DunkB
Hi SirScott

I had a similar error yesterday when I ran

Code: Select all

sudo easy_install --upgrade Flexget

Which had up until then upgraded to the latest revision with no problem at all.

The recommended course of action on the Flexget website is to run..

Code: Select all

rm /usr/local/lib/python2.6/site-packages/FlexGet*.egg

to clear out any remaining egg files, then rerun the upgrade.

Unfortunately this had no effect for me. So I ran.....

Code: Select all

sudo apt-get install python-setuptools

to make sure the python setuptools were still ok.
Then

Code: Select all

sudo easy_install flexget

This installed an older revision than the one upgrade attempted.

And low it came to pass that Flexget was working again and I could download the Wittertainment podcast I was after.

I'll admit here and know, I don't know which bit fixed the problem. I also haven't tried running....

Code: Select all

sudo easy_install --upgrade Flexget

again. I think I will probably wait until we are off r2699 now you've had an issue too.

Dunk :ugeek: