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

Use six instead of scipy._lib.six #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

saaketp
Copy link

@saaketp saaketp commented Aug 17, 2020

Fixes #4

Newer versions of scipy do not have scipy._lib.six module (probably
because they don't support python 2 anymore). So importing skgof
throws ModuleNotFoundError.
This commit adds an explicit dependency on six and uses that directly
instead of using the scipy._lib.six module.

Another easy way to fix it that does not need extra dependency
would be to drop support for python 2 and just use str instead of
six.string_types.

Newer versions of scipy do not have scipy._lib.six module (probably
because they don't support python 2 anymore). So importing skgof
throws ModuleNotFoundError.
This commit adds an explicit dependency on six and uses that directly
instead of using the scipy._lib.six module.

Another easy way to fix it that does not need extra dependency
would be to drop support for python 2 and just use str instead of
six.string_types.
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

Successfully merging this pull request may close these issues.

ModuleNotFoundError: No module named 'scipy._lib.six'
1 participant