Skip to content

Fix Conda env for osx-arm64#71

Open
agurgone wants to merge 1 commit into
mainfrom
fix_conda_env
Open

Fix Conda env for osx-arm64#71
agurgone wants to merge 1 commit into
mainfrom
fix_conda_env

Conversation

@agurgone

@agurgone agurgone commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Installing from conda using environment.yml fails because cvxpy and matplotlib stuggles on Apple Silicon osx-arm64.
Packages require new versions that can fit the requirements in Python 3.12.
"Conda could not find builds of matplotlib 3.7.5 and cvxpy 1.6.0 in your configured channels that satisfy osx-arm64 and the rest of this environment.”

Suggested update
cvxpy=1.7.2
matplotlib=3.10.6

@jose-moran

Copy link
Copy Markdown
Member

We're not using conda anymore, they are only kept for backward compatiblility. Have you tried using uv ?

@agurgone

agurgone commented Apr 7, 2026

Copy link
Copy Markdown
Contributor Author

I have relocated to UV. The installation works with the following command:

uv sync —python 3.12 —extra dev

Otherwise, a minor issue arises during UV run pytest.

Error: Failed to spawn: pytest … No such file or directory

As pytest is under project.optional-dependencies.dev, this error occurs.

Conda installation still requires the updated versions of cvxpy and matplotlib.

Although this is a secondary issue, it remains valid.

@jose-moran

Copy link
Copy Markdown
Member

yes that's explained in the README, you need to add that to get pytest which is a development tool

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.

2 participants