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

pip install broken? #11

Open
gelatinouscube42 opened this issue May 1, 2024 · 1 comment
Open

pip install broken? #11

gelatinouscube42 opened this issue May 1, 2024 · 1 comment

Comments

@gelatinouscube42
Copy link

Using vanilla `pip install alpaqa' installs alpaqa version 0.0.1 successfully. However, that distribution does not seem to work with the documented examples from the site, in particular the HangingChain MPC. Seems to me the python API is broken/missing...could not import the alpaqa.minimize function, nor the class it wraps.

Using the --upgrade --pre flags does fix this issue. Is there a reason that a version 0.0.2 is not yet released with whatever changes fixed this?

@tttapa
Copy link
Collaborator

tttapa commented May 3, 2024

The alpaqa.minimize function was added after 0.0.1. To use version 0.0.1, you'll have to use the documentation and examples for that specific release. (You can find them here: https://github.com/kul-optec/alpaqa/tree/main/examples/mpc/python/hanging-chain.)

That being said, I would highly recommend using the pre-release versions for 1.0.0 (using pip install --pre alpaqa), as the 0.0.1 version is pretty outdated at this point (over 1100 commits and counting).
I'm planning a 1.0.0 release once the API is finalized.

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

2 participants