I installed python2.5 using ssh, however it seems pyhton is still linked against python2.4 by default or something. When I install flexget it seems to use pypthon 2.4 paths, when it shouldn't. Anyone know if i can work around this in an easy manner, without breaking other stuff? Uninstall flexget, change python links/variables or something and reinstall? See the paste down below.
http://flexget.com/wiki/InstallWizard/Linux/Environment
http://flexget.com/wiki/InstallWizard/L ... nt/FlexGet
The flexget readme also has info about other requirements I'm not sure I have. I've installed the php addon, but I don't know if that will suffice.
If I do get it to run, I'll have to do it as non-root, but at this point, I can only ssh into my nas as root, don't know which other user to use or activate if needed.
* Linux Operation System
* PHP 5
* PHP cURL library (recommended)
* Webserver (for example Apache)
* An installed Newsreader client with a watch folder for
incoming NZB files (SABnzb, NZBGet are good readers)
Optional:
* Cronjob support (if you want this script to auto-download NZB files)
- Code: Select all
nas:~# python2.5 -V
Python 2.5
nas:~# apt-get install python2.6
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package python2.6
nas:~# apt-get install python-setuptools
Reading package lists... Done
Building dependency tree... Done
python-setuptools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
nas:~# mkdir tmp
nas:~# wget
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
nas:~# cd tmp
nas:~/tmp# wget http://download.flexget.com/unstable/FlexGet-1.0r1283-p y2.5.egg
--2010-06-12 23:14:08-- http://download.flexget.com/unstable/FlexGet-1.0r1283-p y2.5.egg
Resolving download.flexget.com... 217.112.253.41
Connecting to download.flexget.com|217.112.253.41|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 394209 (385K) [text/plain]
Saving to: `FlexGet-1.0r1283-py2.5.egg'
100%[======================================>] 394,209 105K/s in 3.7s
2010-06-12 23:14:12 (105 KB/s) - `FlexGet-1.0r1283-py2.5.egg' saved [394209/3942 09]
nas:~/tmp# ls
FlexGet-1.0r1283-py2.5.egg
nas:~/tmp# easy_install FlexGet-1.0r1283-py2.5.egg
Processing FlexGet-1.0r1283-py2.5.egg
creating /usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg
Extracting FlexGet-1.0r1283-py2.5.egg to /usr/lib/python2.4/site-packages
File "/usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg/flexget/mana ger.py", line 402
finally:
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg/flexget/util s/tools.py", line 199
finally:
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg/flexget/plug ins/filter_seen.py", line 77
finally:
^
SyntaxError: invalid syntax
Adding FlexGet 1.0r1283 to easy-install.pth file
Installing flexget script to /usr/bin
Installed /usr/lib/python2.4/site-packages/FlexGet-1.0r1283-py2.5.egg
Processing dependencies for FlexGet==1.0r1283
Searching for FlexGet==1.0r1283
Reading http://www.python.org/pypi/FlexGet/
Couldn't find index page for 'FlexGet' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
No local packages or download links found for FlexGet==1.0r1283
error: Could not find suitable distribution for Requirement.parse('FlexGet==1.0r 1283')
