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

Cannot install datatable on macOS Big Sur #3175

Closed
oleksiyskononenko opened this issue Sep 24, 2021 · 2 comments · Fixed by #3174
Closed

Cannot install datatable on macOS Big Sur #3175

oleksiyskononenko opened this issue Sep 24, 2021 · 2 comments · Fixed by #3174
Assignees
Labels
ITA Infrastructure, tools and automation; and all installation-related problems
Milestone

Comments

@oleksiyskononenko
Copy link
Contributor

oleksiyskononenko commented Sep 24, 2021

pip install datatable-1.0.0a1936-cp36-cp36m-macosx_10_9_x86_64.whl 

results in

datatable-1.0.0a1936-cp36-cp36m-macosx_10_9_x86_64.whl is not a supported wheel on this platform.

Seems like a known issue that should already be fixed on the pip's side pypa/pip#9138
But cannot install even with the newest pip.

Originally posted by @us8945

@oleksiyskononenko oleksiyskononenko added the ITA Infrastructure, tools and automation; and all installation-related problems label Sep 24, 2021
@oleksiyskononenko oleksiyskononenko added this to the Release 1.1.0 milestone Sep 24, 2021
@oleksiyskononenko
Copy link
Contributor Author

oleksiyskononenko commented Sep 24, 2021

Seems to be just a matter of upgrading the python. Old versions of python do not detect Big Sur version correctly.

However, on AppVeyor macos-bigsur image there is another problem: it can generate datatable wheel but can't pip install it.

@oleksiyskononenko
Copy link
Contributor Author

oleksiyskononenko commented Sep 27, 2021

So the issue here is that on Big Sur distutils.util.get_platform(), that we're relying on when generating the tag, is returning either macosx-11.5-x86_64 (on 11.5) or macosx-11-x86_64 (on 11.6) that are both not in the list of the supported tags returned by python -m pip debug --verbose.

Seems like a known issue https://bugs.python.org/issue42554 and closed due to distutils module been deprecated.

oleksiyskononenko added a commit that referenced this issue Oct 5, 2021
… on AppVeyor (#3174)

- add a workaround to generate proper wheel names on macOS Big Sur. We should still properly deprecate the `distutils` module at some point;
- switch to the most recent macOS image on AppVeyor.

Closes #3175
@oleksiyskononenko oleksiyskononenko self-assigned this Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ITA Infrastructure, tools and automation; and all installation-related problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant