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
|
.py files are interpreted by Python.
I assume running the command: Code:
python setup.py Maybe just double-clicking it in something like KDE or GNOME would run it aswell. -- Kourosh |
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 |
Ok, try:
python setup.py --help Might work and give you more info. |
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 |
i have linux red hat 9. and i just cant get nothing to work
|
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 |
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 |
I'd forgotten about packages...
How about find an .rpm package and install it with: rpm -i [packagename.rpm] |
In answer to the original question (avoiding all package management-related confusion) the command you're looking for is:
Code:
python setup.py build |
if you want to use the gui you also need wxgtk and wxpython. id just get the official bittorrent client which only requires pygtk.
|
All times are GMT -5. The time now is 10:31 AM. |