× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Python 2.6 addon and setuptools?

Cy_4
Aspirant

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
Message 1 of 5
daeron1
Aspirant

Re: Python 2.6 addon and setuptools?

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
Message 2 of 5
ludwich
Aspirant

Re: Python 2.6 addon and setuptools?

For a better ver dl the new periscope https://github.com/patrickdessalle/periscope
Message 3 of 5
m3co
Aspirant

Re: Python 2.6 addon and setuptools?

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...
Message 4 of 5
ludwich
Aspirant

Re: Python 2.6 addon and setuptools?

Follow the steps above. Works like a charm
Message 5 of 5
Top Contributors
Discussion stats
  • 4 replies
  • 4058 views
  • 0 kudos
  • 4 in conversation
Announcements