Closed byerose closed 2 years ago
I have installed the scipy==1.8.0, but still have this error
ImportError: cannot import name '_status_message' from 'scipy.optimize.optimize'
do you know how to fix it?
Thank you! For compatibility with other scipy versions, I modified it as follows: https://github.com/Harry24k/adversarial-attacks-pytorch/commit/315913fd5c1d493d618c54dc27c64af1f5f34726 Please use v3.2.6.
It is recommended to use SciPy > = 1.8.0 to be compatible with other algorithm libraries. The lower version of SciPy will cause the following statement to report an error.
==>
from scipy.optimize._optimize import _status_message
Art has the same problem and is being modified.