Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moma using python3 #104

Closed
the-code-magician opened this issue Jun 16, 2014 · 1 comment
Closed

moma using python3 #104

the-code-magician opened this issue Jun 16, 2014 · 1 comment

Comments

@the-code-magician
Copy link
Contributor

Hi,

moma does not run on python3:

--> 226 for reaction_1, reaction_2 in common_dict.iteritems():

seems like iteritems() has been renamed to items()

Best regards

@aebrahim
Copy link
Member

Thank you for noticing this bug.

Unfortunately, the only solver that works in python3 (as far as I know) is
glpk, which does not support quadratic programming, which is required to
minimize euclidean distances. Until we have a QP solver that works in
python 3 (or implement a linear distance metric) MOMA can't be run in
python 3 and won't be supported.

We will document this shortcoming better in the meantime.

Also, please note that python 3 support is experimental, and python 2.7 is
the recommended version.

On Mon, Jun 16, 2014 at 5:44 AM, João Gonçalo Rocha Cardoso <
notifications@github.com> wrote:

Hi,

moma does not run on python3:

--> 226 for reaction_1, reaction_2 in common_dict.iteritems():

seems like iteritems() has been renamed to items()

Best regards


Reply to this email directly or view it on GitHub
#104.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants