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

PyPortfolioOpt will not install on Mac. Python Version 3.12 #1

Open
vzicc opened this issue Nov 9, 2023 · 2 comments
Open

PyPortfolioOpt will not install on Mac. Python Version 3.12 #1

vzicc opened this issue Nov 9, 2023 · 2 comments

Comments

@vzicc
Copy link

vzicc commented Nov 9, 2023

I am unable to get PyPortfolioOpt to install on map. I have Xcode which means I have the required C++ but its still doesn't work.
the error is:
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for qdldl
Failed to build qdldl
ERROR: Could not build wheels for qdldl, which is required to install pyproject.toml-based projects
[end of output]

I the same error trying to install qdldl, cvxpy, and cvxopt.

@srinivas-yarramsetti
Copy link

Check this comments from Zichen-Wu: For me using brew install cmake instead of 'pip install cmake' solved the problem. You may need to uninstall cmake before install it with brew.

robertmartin8/PyPortfolioOpt#274

@shreyannandanwar
Copy link

@vzicc I was facing the same problem the problem was fixed when I downgraded to Python 3.10.
Hope it helps!!

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

3 participants