Closed danesnick closed 2 years ago
I was just about to do this, and you beat me to it! Thanks! Sorry about that, I was told that a fix would come in 1.9.1 but no such luck.
I was supporting a user that ran into this issue so I figured I'd do a PR. Thanks for responding quickly!
Scipy 1.9.1 was recently released on conda-forge: https://anaconda.org/conda-forge/scipy/files which causes creating a new environment in conda to use Scipy 1.9.1, which satisfies the original condition of scipy!=1.9.0. With Scipy 1.9.1, this error can occur:
ImportError: cannot import name 'PearsonRConstantInputWarning' from 'scipy.stats' (/projects/dram/anaconda3/envs/DRAM/lib/python3.10/sitepackages/scipy/stats/init.py)
Setting the version to be below (or equal to) scipy 1.8.1 should fix the issue!