Closed jinningwang closed 4 months ago
Hold a sec, this error goes away again after upgrading kvxopt to 1.3.2.0. It's weird, let me try again.
After a fix in kvxopt, the issue is solved.
References: https://github.com/conda-forge/kvxopt-feedstock/pull/34, https://github.com/sanurielf/kvxopt/issues/10
Logging message:
(andesbuild) jinningwang@jwmba-3 andes % andes
_ _ | Version 1.9.1
/_\ _ _ __| |___ ___ | Python 3.9.18 on Darwin, 03/02/2024 04:33:41 PM
/ _ \| ' \/ _` / -_|_-< |
/_/ \_\_||_\__,_\___/__/ | This program comes with ABSOLUTELY NO WARRANTY.
usage: andes [-h] [-v {1,10,20,30,40}] {run,plot,doc,misc,prepare,prep,selftest,st,demo} ...
positional arguments:
{run,plot,doc,misc,prepare,prep,selftest,st,demo}
[run] run simulation routine; [plot] plot results; [doc] quick
documentation; [misc] misc. functions; [prepare] prepare the numerical
code; [selftest] run self test;
optional arguments:
-h, --help show this help message and exit
-v {1,10,20,30,40}, --verbose {1,10,20,30,40}
Verbosity level in 10-DEBUG, 20-INFO, 30-WARNING, or 40-ERROR.
(andesbuild) jinningwang@jwmba-3 andes % andes misc --version
Python 3.9.18
andes 1.9.1
numpy 1.26.4
kvxopt 1.3.2.0
sympy 1.12
scipy 1.12.0
pandas 2.2.1
numba 0.59.0
Describe the bug
After requirement installation where kvxopt=1.3.2.0, andes cli run into error.
I've made a version limit in AMS requirement:
kvxopt>=1.3.0.0,!=1.3.2.*
To Reproduce
Create a fresh conda environment and install requirements.txt will run into this error. Terminal command I used is as below:
Expected behavior
CLI should run normally.
Desktop (please complete the following information):
pip packages (please paste the output from
pip list
)Additional context
After install kvxopt 1.3.0, the error goes away.
Even then upgrade kvxopt to 1.3.2.0, the error will never occur.