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

running under python 3.6 #6

Open
williamwongys opened this issue Jul 27, 2017 · 2 comments
Open

running under python 3.6 #6

williamwongys opened this issue Jul 27, 2017 · 2 comments

Comments

@williamwongys
Copy link

First of all, thanks for this wonderful example. I have downloaded it and tried to run under python 3.6. It shows an unresolved error in the following line:
dm = squareform(dm)

May I know how to resolve this?

@markdregan
Copy link
Owner

markdregan commented Jul 27, 2017 via email

@williamwongys
Copy link
Author

I have resolved it by adding this in the import:
from scipy.spatial.distance import squareform

is it correct?

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