LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-19-2006, 08:17 AM   #1
laney69er
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Rep: Reputation: 0
bittorrent .py file??????/


im a linux newb, im trying to install bittornado, ive unpacked the file, and there is a file called setup.py im assuming that this is the setup file, how do i run this file??? any help would be greatly received
 
Old 02-19-2006, 08:33 AM   #2
Vampirite
Member
 
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223

Rep: Reputation: 30
.py files are interpreted by Python.

I assume running the command:
Code:
python setup.py
In the console should work.

Maybe just double-clicking it in something like KDE or GNOME would run it aswell.

--
Kourosh
 
Old 02-19-2006, 08:39 AM   #3
laney69er
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Original Poster
Rep: Reputation: 0
if i enter

python setup.py

this is what i get

[root@localhost BitTornado-CVS]# python setup.py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

also double clicking the file does nothing
 
Old 02-19-2006, 08:41 AM   #4
Vampirite
Member
 
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223

Rep: Reputation: 30
Ok, try:

python setup.py --help

Might work and give you more info.
 
Old 02-19-2006, 09:01 AM   #5
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
You may also simply try to install the pre-configured package. For this it is always a good idea to specify your linux-distribution, so that the people here can give you a more accurate description of what to do. For example, if your distribution uses APT (most Debian-based do) then simply type:
Code:
sudo apt-get install bittornado
And in other distributions it is as easy as that, too.
 
Old 02-19-2006, 09:04 AM   #6
laney69er
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Original Poster
Rep: Reputation: 0
i have linux red hat 9. and i just cant get nothing to work
 
Old 02-19-2006, 09:25 AM   #7
laney69er
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Original Poster
Rep: Reputation: 0
this is the error that i am getting now

[root@localhost ABC-Linux-V.2.4.3]# python setupabc.py
Traceback (most recent call last):
File "setupabc.py", line 3, in ?
import py2exe
ImportError: No module named py2exe

any help would be greatly recieved
 
Old 02-19-2006, 09:52 AM   #8
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
I'm not very familiar with RH but it uses rpm-packages and you can use 'yum' to manage these. Look here to get started
http://www.fedorafaq.org/#installsoftware
and after setting up 'yum' I guess you simply have to type:
Code:
yum install bittornado
... or something like that....
 
Old 02-19-2006, 10:20 AM   #9
Vampirite
Member
 
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223

Rep: Reputation: 30
I'd forgotten about packages...

How about find an .rpm package and install it with:
rpm -i [packagename.rpm]
 
Old 02-19-2006, 06:20 PM   #10
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
In answer to the original question (avoiding all package management-related confusion) the command you're looking for is:
Code:
python setup.py build
python setup.py install
 
Old 02-19-2006, 11:06 PM   #11
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
if you want to use the gui you also need wxgtk and wxpython. id just get the official bittorrent client which only requires pygtk.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a BitTorrent file? win32sux Linux - Networking 6 09-01-2006 09:23 AM
bittorrent 4.0 handling file larger then 4.0 gbyte? carboncopy Slackware 6 12-09-2005 04:59 AM
What is Bittorrent Jmcatch742 Linux - General 1 10-02-2004 12:25 PM
BitTorrent littlemidget General 6 08-29-2004 03:34 AM
is there anyone using bittorrent bittorrent-shadowsclient-5.8.3 moonloader Linux - Software 0 01-12-2004 06:35 AM


All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration