Page 1 of 1

Need help with building from source on Windows

Posted: Sun Aug 25, 2019 8:03 pm
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?

Re: Need help with building from source on Windows

Posted: Sun Aug 25, 2019 9:08 pm
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.

Re: Need help with building from source on Windows

Posted: Mon Aug 26, 2019 11:57 am
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?