Closed zbrookshowe closed 8 months ago
The error occurs because qdldl doesn't list cmake as a build requirement, but it is a build requirement. Qdlql has been fixed on master, but it was recent and probably isn't in a release yet.
The solution is to just pip install cmake
. The Python package vendors the whole command line program.
@Jacob-Stevens-Haas Thank you for your reply. I had already tried this last week, and when I reran pip install cmake
, it told me "Requirement already satisfied". However, when I tried again to install cvxpy
, it worked. So I'm not sure if pip install cmake
actually solved the issue, but somehow this got resolved. Thank you for your time!
Hello! I am having trouble running the pysindy example jupyter file 'examples/9_sindypi_with_sympy.ipynb'. I am using a Windows 11 system and am not using a WSL. I get the following error message when running:
To try and track down this error, I have reviewed the following issues:
270, #366, #369, #420, #421, and #431
I have also looked at the following stack overflow posts:
Based on these, I believe that my issue is related to the CVXPY package, which I am unable to manually install with
pip install cvxpy
. I have also tried installing with onlypysindy
dependencies, i.e.pip install pysindy[cvxpy]
. The full error message when I try to install CVXPY is included below, but the message is essentially the same as the first stack overflow post from above:ModuleNotFoundError: No module named 'cmake'
. This was seemingly solved in #431 by usingbrew install cmake
, but since I am running a Windows I can't use homebrew. Should I just try to redo the process using a WSL?Reproducing code example:
I have copied code inputs [1] and [3] from the tutorial jupyter notebook 'examples/9_sindypi_with_sympy.ipynb'.
Error message:
PySINDy Error Message
CVXPY Error Message
PySINDy/Python version information:
PySINDy version: 1.7.5 Python Version: 3.11.6