[Apple TV] Easier way to install Python on ATV
#1
Hi. I got XBMC up and running on my ATV and love it. Some of the skins look amazing. So now I would like to start playing around with some of the scripts and plugins out there. If I understand it right, I need to install python on my appletv in order for plugins/scripts to work. I've read the instructions on Awkwardtv, but they are pretty extensive and fairly complicated (I'm not a linux/unix guy). Is there any other way to get Python setup? I typically transfer files to and from my Appletv using SFTP (using Panic's Transmit software for the mac).

Any hints or tips would be appreciated.

Thanks...

Kevin
Reply
#2
Open txt editor of choice, copy and paste the following link:
http://pastebin.com/m74e02a69
Save file.txt as txt (no rtf)
move file to appletv home folder on ATV.
ssh to the ATV.
execute:
sudo sh file.txt
Reply
#3
Remember your ATV needs internet conection... check if you are connect

If you get any erro menssage you probably don't have wget and gunzip installed.

Install wget and gunzip on atv

http://wiki.awkwardtv.org/wiki/Apple_TV_Binaries
right click(# click) on wget & gunzip "save as".
Transfer wget & gunzip to atv
open ssh conection with atv
execute => sudo mv {wget,gunzip} /usr/bin/
execute => sudo chmod 755 /usr/bin/{wget,gunzip}
execute => sudo chown root:wheel /usr/bin/{wget,gunzip}
execute the script again => sudo sh file.txt
Reply
#4
Thanks!!
Reply
#5
didnt work for me
Reply
#6
Didnt work for me either. I was able to transfer the file.txt and execute the sudo command. It failed when it got to the "wget" and "pax" commands. I assume that wget and pax needs to be installed prior to running the script?
Reply
#7
I think the person who offered the advice was offering a shortcut to typing, not to the actual process.

Apparently, you need to install an unarchiver, which i went to the website to do, from awkward wiki, but AGAIN complex coding and instructions.

I dont know what the developer disc 4 thing is all about....

*shrug*
Reply
#8
pax is installed on all ATV.

If you got error is because you don't have wget binary installed:
wget is used to download files from www
Reply
#9
I used method 2....

file.txt: line 22: syntax error: unexpected end of file


Any ideas?
Reply
#10
ok, was error in copying.....


Now it just returns to 'bash
Reply
#11
fluked@LiVe.com Wrote:I used method 2....

file.txt: line 22: syntax error: unexpected end of file


Any ideas?

line 22? it is only 21 lines on the script... you probabily have created an rtf text file.

connect to ATV and type: cat file.txt
you should only see 21 lines that you prior have copied and pasted, if you see same header it will not work. On your text editor you should have saved as text file.
Reply
#12
Yes, it was a copying error.... and no its a txt file.

I am using a ppc mac.

Anything else i need to do?
Reply
#13
test if it is working:
type: python --version

You should get this:
Python 2.5
Reply
#14
Nope.

bash: python: command not found
Reply
#15
Maybe you need to reboot atv...
if doesn't work... run the script again... copy and paste the error here.
Reply

Logout Mark Read Team Forum Stats Members Help
[Apple TV] Easier way to install Python on ATV0