Reply
Aspirant
Posts: 3
Registered: ‎2011-04-17

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
Aspirant
Posts: 1
Registered: ‎2012-09-02

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
Aspirant
Posts: 37
Registered: ‎2011-09-01

Re: Python 2.6 addon and setuptools?

For a better ver dl the new periscope https://github.com/patrickdessalle/periscope
Aspirant
Posts: 1
Registered: ‎2012-11-26

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...
Aspirant
Posts: 37
Registered: ‎2011-09-01

Re: Python 2.6 addon and setuptools?

Follow the steps above. Works like a charm
Discussion Stats
  • 4 replies
  • 1346 views
  • 0 kudos
  • 4 in conversation
Top Contributors
User Kudos Count
1