Skip to content

python 3.4 issue #1

Open
Open
@andompesta

Description

@andompesta

I have found a couple of error running the example on a python 3.4 platform.

The main difference is that in python 2.7 dictionary.values() gives a list, instead in 3.4 it is returning a view

So I found out that for fix this issue you have to modify:
-api.py file line 205 -> solution = operator.itemgetter(index)(list(f.call_log.keys()))._asdict()
-cma.py file line 82 -> solution = self.centroid = numpy.array(list(centroid))

Can you fix this error please and better check the python 3.x compatibility ??

Best regards,
Sandro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions