Page 1 of 1

Deluge 1.3.1 in Python 3.1

Posted: Wed Dec 22, 2010 8:23 am
by jaychow
I currently have Deluge 1.3.1 (libtorrent version: 0.15.4.0) running in Python 2.6.

I installed Python 3.1 at the default location: /Library/Frameworks/Python.framework/Versions/3.1

How can I make Deluge 1.3.1 running in Python 3.1?

Thanks.

Re: Deluge 1.3.1 in Python 3.1

Posted: Mon Mar 07, 2011 10:42 am
by daenney
You can't.

Python 2.x code doesn't just run on Python 3, quite a few things have changed. You'd need to:
  • run the whole codebase through 2to3,
  • then fix any other bugs or libraries that might have changed in behavior
  • rebuild all the dependencies for Python 3 if even possible yet since not everything has been ported
If you really want to try this in a terminal: python3.1 /path/to/deluge but it's going to blow up.

Also, before you even try this you ought to get a better grasp of how Python works because anyone here can tell you you can't just mix-match python version and bindings for libraries such as libtorrent.