Skip to content

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