2011-01-12, 22:59
outleradam Wrote:Arch is difficult.
Please list the commands you used to install python2.6 and the following so I can add it to the wiki as directions for others to follow.
Yeah Arch can be a pain in some cases lol, for sure.
Okay for python 2.6 on Arch, a fellow Archer can do this:
Code:
wget http://aur.archlinux.org/packages/python26/python26.tar.gz && tar xvf python26.tar.gz
cd python26 && makepkg -s
pacman -U python26-2.6.5-1-i686.pkg.tar.gz
outleradam Wrote:You need the two following packages.. libmyth-python python-lxml They are installed by default on the Ubuntu package.
I was on IRC earlier and one of the devs was helping me, I think he may have emailed/messaged you as well. I was told that libmyth-python is an Ubuntu-only package that solely exists because their devs prefer to break things up into small packages, it simply isn't available/doesn't exist for Myth on Arch. I'll just paste what I was told:
Quote:dev: libmyth-python is just some artificial package that exists because the mythbuntu devs like to break everything up into small bits
dev: it is the python bindings, and should be included in the main mythtv install
dev: beyond that, you must have the python MySQLdb package, and the python lxml package
dev: and they must be installed for whatever 2.x version you are using
dev: further, if python 3.x is specified as the default 'python' binary
dev: you will have to edit the top line of mythdatagrabber to specify the proper 2.7 executable
However I do have python-lxml:
Code:
ââ> yinfo python-lxml
Name : python-lxml
Version : 2.2.8-2
And I even installed a boatload of other python and related packages just in case, however I think if I can change the MythDataGrabber script hashbang line to point to a different python location (maybe /usr/bin/env python2.7 or something?), perhaps try a few of the python versions it might work? Just throwing anything out there.
Aside from the libmyth-python package, the issue for me appears to be Arch's eff-up with python. The main python package is actually v3.1.3, and earlier versions are all separate binaries like python2.5/6/7. (I did change the hashbang of MythDataGrabber but I think the script is re-downloaded when I run the mythicalSetup as it was back to 2.6).