Deluge 1.3.1 in Python 3.1

Support for Deluge on Apple Mac OS
jaychow

Deluge 1.3.1 in Python 3.1

Postby jaychow » Wed Dec 22, 2010 8:23 am

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.

daenney
New User
New User
Posts: 8
Joined: Wed Sep 24, 2008 4:24 pm

Re: Deluge 1.3.1 in Python 3.1

Postby daenney » Mon Mar 07, 2011 10:42 am

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.


Return to “Mac OS”

Who is online

Users browsing this forum: No registered users and 3 guests