[go: nahoru, domu]

Skip to content

Trouble Installing CyLP and CBC from Source #164

Answered by spkelle2
spkelle2 asked this question in Q&A
Discussion options

You must be logged in to vote

So I reran the above with conda create and pip install both verbose (-vv argument appended to each). I found I was getting many warnings that CBC, CGL, CLP, etc. were built for arm (bc I have a mac with M1 chips) but CyLP is building for intel thus they can't link. Diving into it a little deeper, turns out CyLP was building for intel because all python packages build for intel by default in conda, as explained here. I updated the conda command to be CONDA_SUBDIR=osx-arm64 conda create -v -n CyLP cython numpy pkg-config scipy.

After this, I then needed to add the --enable-shared flag to coinbrew's build for the shared libraries to link correctly when building. Then, CyLP built as expected.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by spkelle2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant