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

M1fixes #49

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

M1fixes #49

wants to merge 3 commits into from

Conversation

enryH
Copy link

@enryH enryH commented Jun 7, 2024

I switched to direct imports, but this could be reverted...

Do not import polars:

An issue for M1 Macs is polars, which needs to use the arm instructions. Apparently M1 Macs can use two versions of instructions, but I did not explore the details. Anyways

In mrmr-selection the line

import polars

leads to zsh: illegal hardware instruction.

Therefore I suggest to only import polars if the functionality is requested.

install from GitHub

Allow installation using:

pip install git+https://github.com/smazzanti/mrmr.git

by moving version to metadata (setup.py) and importing the version in the package dynamically.

Henry Webel added 3 commits June 7, 2024 10:46
"zsh: illegal hardware instruction  python" could be worked around using direct imports in another case
- only load polar if requested explicitly
- not needed for main function

see: pola-rs/polars#11650

(polars on M1 needs correct compiled binaries)
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.

1 participant