Open erelsgl opened 2 years ago
This means that there is no binary wheel available for the platform on which you are trying to install on Github Actions. Since we also use Github Actions to build Cbc binaries and attach them to releases, you should be able find a matching set of binaries that can be downloaded and installed (see here). You would then just need to set the environment variable COIN_INSTALL_DIR
to point to where the binaries are located on the runner. Let me know if this works or if you need more information.
Do you know which of these releases should work on a Windows 2019 server environment? I would guess that it should be some of the "msvc" releases, but I cannot tell which one of them. What is the difference between these versions?
Hi, @erelsgl It may help for you.
I have installed the c++ develop environment on my window system by using vs_BuildTools.exe
, like this:
I download the Cbc-releases.2.10.8-w64-msvc17-md
Finally, I unzip this file and set the environment variable COIN_INSTALL_DIR
to point this location, then use pip to install Cylp. Everythings will be fine.
On my home computer, I have Windows 10. I can install cylp by simply running
I tried to do the same in GitHub actions, in a Windows 2019 environment, in order to automatically test a library that I am working on. But it did not work - I got an error message
KeyError: 'COIN_INSTALL_DIR'
, and the following output:Is there any command I can insert to my workflow in order to ensure that COIN is installed, before I try to install cylp?