NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Cy_4's avatar
Cy_4
Aspirant
Jun 11, 2011

Python 2.6 addon and setuptools?

Hi,

I've recently installed the Python 2.6 addon and I'm now trying to install periscope (http://code.google.com/p/periscope/).
I've run into some trouble though. This is the error that I get:

NAS:~/periscope-extracted# python setup.py install
Traceback (most recent call last):
File "setup.py", line 1, in <module>
from setuptools import setup
ImportError: No module named setuptools

I've tried installing setuptools but I can't get it to work. This is the error that I get:

NAS:~/periscope-extracted# apt-get install python-setuptools
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
python-setuptools: Depends: python (< 2.6) but 2.6.6-3+squeeze5.rnx2 is to be installed
E: Broken packages

I am hoping that someone can point me in the right direction to fix this.
(I'm sorry if I posted this in the wrong section of the forum)

Thank you.

/ Mattias

4 Replies

Replies have been turned off for this discussion
  • It's been a long time since you posted this thread, but I finally manage to install periscope and integrated with sickbeard, this is what I've done:
    1.- Download Periscope http://code.google.com/p/periscope/downloads/detail?name=python-periscope_0.2.4.orig.tar.gz
    2.- Download Pyhton-setuptools for python 2.6 http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg#md5=bfa92100bd772d5a213eedd356d64086
    3.- Download Beatifulsoup http://pypi.python.org/packages/source/B/BeautifulSoup/BeautifulSoup-3.2.1.tar.gz#md5=44656527ef3ac9874ac4d1c9f35f70ee
    4.- Install Pyhton-setuptools for python 2.6 using sh setuptools-0.6c11-py2.6.egg
    5.- Extract and install Beatifulsoup. tar zxvf BeautifulSoup-3.2.1.tar.gz and then python setup.py install on the extracted files
    6.- Extract and install periscope. tar zxvf python-periscope_0.2.4.orig.tar.gz and then python setup.py install on the extracted files
    7.- chown root:root to periscope folder
    8.- mkdir /root/.config
    9.- Stop sickbeard and edit the config.ini, under extra-scripts include the following script "/c/.sickbeard/searchsubs.sh
    10.- Create the following script with the searchsubs.sh name:
    #!/bin/sh
    echo Filename to process. $1
    echo Original filename... $2
    echo Show TVDB id........ $3
    echo Season number....... $4
    echo Episode number...... $5
    echo Episode air date.... $6
    echo ... will now pass the search info to periscope to snatch a subtitle
    /path/to/periscope/bin/periscope "$1" -l xx -l xx --force
    11.- save the config.ini file and start sickbeard again

    Hope it still helps
  • I am very new is this stuf but i manage to install sickbear + sabnzbd + python on my readynas ultra, and all work perfect but i still miss this part to download the subs in my language (portuguese, PT), i make my reasearch and find out that periscope maybe the best way to do it after the sickbeard post-process but i don't know how to install it since i use windows it looks even harder... can some one take a few minutes to help by making a easy "how to" or maybe helping me with a few hints?

    It hold be great to do it so my famali can easy use plex at home to watch movies and TV shows, i have being using plex add on on xbmc to watch movies since i can then use xbmc to download the subs but it's buggie and hard to use for my parents...

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More