Need help with building from source on Windows

Specific support for Deluge on Microsoft Windows OS
Post Reply
adast1337
New User
New User
Posts: 2
Joined: Sun Aug 25, 2019 7:58 pm

Need help with building from source on Windows

Post by adast1337 »

Anyone have a link to a more in-depth guide to building from source on Windows than the one Deluge provides. I think I installed all the dependencies but when I type "python setup.py build" in cmd I get this error:

Code: Select all

Traceback (most recent call last):
  File "setup.py", line 223, in <module>
    if subprocess.call(['./get_libtorrent.sh']) > 0:
  File "C:\Python27\lib\subprocess.py", line 172, in call
    return Popen(*popenargs, **kwargs).wait()
  File "C:\Python27\lib\subprocess.py", line 394, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 644, in _execute_child
    startupinfo)
WindowsError: [Error 193] %1 is not a valid Win32 application
So anyone know what the problem is or have a better guide for this?
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Need help with building from source on Windows

Post by mhertz »

Sorry, don't know, except to say that the error on last line suggests using x64 python on x32 project, or vice versa, or atleast that was what a couple Google hits stated atleast in a row. BTW, the new deluge 2 uses python 3.x and only still supports py2.7 temporarilly, if remembering right.
adast1337
New User
New User
Posts: 2
Joined: Sun Aug 25, 2019 7:58 pm

Re: Need help with building from source on Windows

Post by adast1337 »

Ok I uninstalled and deleted all the folders and did everything again. This time it worked so now I have a .egg file in my site packages folder. What do I do now? How do I run deluge from that?
Post Reply