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

Qdldl cannot be properly installed on a mac m1 chip with latest poetry version (1.2.1) #25

Open
2 tasks done
adelaharpe opened this issue Oct 6, 2022 · 5 comments
Open
2 tasks done

Comments

@adelaharpe
Copy link

  • Python version: pyenv local 3.10.0
  • OS version and name: Mac OS 12.6 (Apple M1 Pro)
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have consulted the FAQ and blog for any relevant entries or release notes.

Issue

qdldl cannot be properly installed on a mac m1 chip with latest poetry version (1.2.1)

I have got an issue with the qdldl package when installing with poetry. I ran the issue in the poetry github but it is apparently an upstream issue for qdldl. See the issue on poetry : python-poetry/poetry#6712

and the apparent solution: python-poetry/poetry#6712 (comment)

in order for poetry to be able to properly install qdldl.

@tommyjcarpenter
Copy link

tommyjcarpenter commented Oct 25, 2022

I believe the culprit here is this: https://github.com/osqp/qdldl-python/blob/master/setup.py#L24-L28

I left a comment here: python-poetry/poetry#6712 (comment)

I dont mind making a PR but its unclear to me what the best path forward is, beyond the hacks i mention there, or converting this project to poetry.

@tom-mcclintock
Copy link

Echoing that this issue is affecting users of the scikit-survival. We have folks with M1 chips that require sk-surv, and hence qdld (via osqp). Would greatly appreciate this being fixed!

@SongshGeo
Copy link

SongshGeo commented Feb 24, 2023

Echoing that this issue is affecting users of the SyntheticControlMethods. Would greatly appreciate this being fixed!

Python version: pyenv local 3.11.2
OS version and name: Mac OS 13.0 (Apple M2 Max)

@enzbus
Copy link

enzbus commented Apr 3, 2023

Hello @bstellato -- it appears the above is fixed in the repo but has not yet been propagated to PyPi. Can you make a new release? Thanks!

@enzbus
Copy link

enzbus commented Apr 10, 2023

Dear Maintainers, I confirm that pip3 install --use-pep517 --no-binary qdldl qdldl runs without errors on mac aarch64. Thank you! (I suspect all other related issues are solved as well.)

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

5 participants