Issue Running Example Code - ValueError: `f0` passed has more than 1 dimension.
megangrannan opened this issue · 10 comments
Same problem here with my own data. f0
is a single element in a nested list (e.g. [[0.1234]]).
@megangrannan This is a problem with scipy==1.7.1
. The problem goes away if you use scipy==1.4.1
, which is not compatible with Python3.9 though.
I also had this issue. I was running an earlier version of this package on my laptop, but when I moved to my PC to work with this package and installed the latest version, I was getting this f0
error.
Is there a practical solution to the problem?
Same problem, here. Tried lower scipy version but it still doesn't work.
@kheilman, downgrade to
scipy==1.4.1
.
2022-02-07, updated:
Sorry about the above wrong message, it works after downgrade to scipy==1.4.1
hi, is there a solution to this type of error? with my version of python I cannot downgrade scipy to 1.4.1..
same issue with me.. with scipy.optimize.minimize using 'trust-constr' method with bounds and non-linear constraints
can someone please help
Expect lower scipy version, is there any other solutions? (My python version is 3.9 which is incompatible with scipy1.4.1)