Closed emilyziech closed 1 year ago
This is an issue with installing cffi. Seems there are no prebuilt wheels for python 3.11 for the version of cffi that python mip requires and your computer doesn't have the required software to build it. common issue, quickest and easiest solution for you would likely be to use python 3.10 instead.
@emilyziech Python 3.11. is not supported by python-mip yet. As @jurasofish already stated above, you need to "downgrade" to python 3.10.
It is surprising to me, that pip lets you start to install python-mip under python 3.11. I will need to take a look at the pyproject.toml file trying to forbid this.
Yep, we have no upper bound
requires-python = ">=3.7"
@emilyziech I have released version an updated version 1.15.0 which includes support for python 3.11. Would you be so kind to confirm that you can now install it successfully?
@emilyziech I will close this issue, as i would consider this to be solved with release 1.15.0
Describe the bug While attempting to install mip using pip on Windows, pip failed to build wheel for cffi, then also python setup.py bdist_wheel did not run successfully.
To Reproduce pip install mip
Expected behavior mip should be installed with no errors
Desktop (please complete the following information):
Additional context Full output: MIP_install_output.txt