Hi,
I am trying to install sabnzbd on an NSLU2 with unslung 6.10 Beta running on it.
When I am trying to make it run via python SABnzbd.py i get:
Sorry, requires Python module Cheetah 2.0rc7 or higher.
I entered b4
ipkg update
ipkg install coreutils
ipkg install python
ipkg install py24-cheetah
ipkg install py24-cherrypy
ipkg install py24-elementtree
ipkg install py24-celementtree
ipkg install py24-yenc
ipkg install unrar
ipkg install unzip
ipkg install par2cmdline
ipkg install perl
Thus, it should be installed. Anyways, when trying to import cheetah into python I get:
>>> import cheetah
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named cheetah
I get the same with cherrypy btw, havent yet tried the other packages. Can anyone tell me what I did wrong so python can't get that stuff importet ?
Thanks 4 help.
Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung
Type "python" into your shell, what version does it say is running?
Try typing "python2.4" into your shell then trying import cheetah
Try typing "python2.4" into your shell then trying import cheetah
Re: Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung
Gives me
# python
Python 2.5.2 (r252:60911, Feb 26 2008, 19:39:13)
[GCC 3.3.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
# python2.4
Python 2.4.5 (#1, Mar 12 2008, 20:24:46)
[GCC 3.3.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cheetah
Traceback (most recent call last):
File "", line 1, in ?
ImportError: No module named cheetah
>>>
# python
Python 2.5.2 (r252:60911, Feb 26 2008, 19:39:13)
[GCC 3.3.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
# python2.4
Python 2.4.5 (#1, Mar 12 2008, 20:24:46)
[GCC 3.3.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cheetah
Traceback (most recent call last):
File "", line 1, in ?
ImportError: No module named cheetah
>>>
Re: Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung
Sorry, forgot a capital letter, try:
If that works, run sabnzbd like so:
(might need the -f flag to point to your sabnzbd.ini too)
Code: Select all
python2.4
import CheetahCode: Select all
python2.4 SABnzbd.py -s :8080 -dRe: Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung
You have Python 2.5 installed, which is the default Python for your system.# python
Python 2.5.2 (r252:60911, Feb 26 2008, 19:39:13)
[GCC 3.3.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
But you installed packages for Python 2.4:
ipkg install py24-cheetah
ipkg install py24-cherrypy
ipkg install py24-elementtree
ipkg install py24-celementtree
ipkg install py24-yenc
Install the 2.5 packages also or use "python2.4" to start SABnzbd.
Re: Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung
Its working, thanks for your help.
Importing Cheetah on python2.4 worked, so I went back installing the python2.5 packages.
awesone
Importing Cheetah on python2.4 worked, so I went back installing the python2.5 packages.
awesone


