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

CNApy&CPLEX error under Mac OS X #491

Open
fcatrambone opened this issue Jan 17, 2024 · 2 comments
Open

CNApy&CPLEX error under Mac OS X #491

fcatrambone opened this issue Jan 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@fcatrambone
Copy link

Hello!

I'm trying to install CNApy on an Arm Mac (M1) using miniConda (yes, the Arm version). However, it appears that the cplex package for arm64 does not exist in the repos. In fact, i get this error message:

LibMambaUnsatisfiableError: Encountered problems while solving:

  • nothing provides cplex needed by cnapy-1.1.9-py_0

Could not solve for environment specs
The following package could not be installed
└─ cnapy 1.1.9** is not installable because it requires
└─ cplex, which does not exist (perhaps a missing channel).

I have tried to install the regular cplex OSX64 package using conda install directly from the compressed file, but i still get the same error.

Anyone knows how to solve the issue? Thanks!

@fcatrambone fcatrambone added the enhancement New feature or request label Jan 17, 2024
@Paulocracy
Copy link
Member

Hello and thank you for submitting this issue! We had a user with a similar issue, it could only be solved by using the x86 version of Anaconda, and then using it with CNApy instead of Anaconda's ARM version. The problem is that, while CPLEX itself has its own Mac ARM version, CPLEX's Python binding somehow does not yet have an ARM version :-| We likely have to wait for the next (or one of the next) CPLEX versions to resolve this problem in a satisfying way, without the performance drop due to using Rosetta.

@fcatrambone
Copy link
Author

Hello and thank you for submitting this issue! We had a user with a similar issue, it could only be solved by using the x86 version of Anaconda, and then using it with CNApy instead of Anaconda's ARM version. The problem is that, while CPLEX itself has its own Mac ARM version, CPLEX's Python binding somehow does not yet have an ARM version :-| We likely have to wait for the next (or one of the next) CPLEX versions to resolve this problem in a satisfying way, without the performance drop due to using Rosetta.

Thanks, Paulo! It worked perfectly. Hopefully they will fix the issue

@Paulocracy Paulocracy pinned this issue Feb 1, 2024
@Paulocracy Paulocracy changed the title failing to install using miniconda on OSX CNApy&CPLEX error under Mac OS X Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants