from scipy.special import sph_harm_y
...
sph_harm_y(n, m, theta, phi)
Note the order change!
Python 3.12.12 (main, Oct 14 2025, 21:25:31) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mdevaluate
/home/markusro/sources/mdevaluate/src/mdevaluate/correlation.py:438: SyntaxWarning: invalid escape sequence '\l'
\frac{3}{5}\frac{\langle r_i^4(t)\rangle}{\langle r_i^2(t)\rangle^2} - 1
/home/markusro/sources/mdevaluate/src/mdevaluate/reader.py:28: SyntaxWarning: invalid escape sequence '\['
Group_RE = re.compile("\[ ([-+\w]+) \]")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/markusro/sources/mdevaluate/src/mdevaluate/__init__.py", line 18, in <module>
from . import extra
File "/home/markusro/sources/mdevaluate/src/mdevaluate/extra/__init__.py", line 1, in <module>
from . import chill
File "/home/markusro/sources/mdevaluate/src/mdevaluate/extra/chill.py", line 8, in <module>
from scipy.special import sph_harm
ImportError: cannot import name 'sph_harm' from 'scipy.special' (/home/markusro/sources/mdevaluate/.venv/lib/python3.12/site-packages/scipy/special/__init__.py). Did you mean: 'sph_harm_y'?
Either pin "scipy<1.15"
Or use the correct function:
```
from scipy.special import sph_harm_y
...
sph_harm_y(n, m, theta, phi)
```
Note the order change!
```
Python 3.12.12 (main, Oct 14 2025, 21:25:31) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mdevaluate
/home/markusro/sources/mdevaluate/src/mdevaluate/correlation.py:438: SyntaxWarning: invalid escape sequence '\l'
\frac{3}{5}\frac{\langle r_i^4(t)\rangle}{\langle r_i^2(t)\rangle^2} - 1
/home/markusro/sources/mdevaluate/src/mdevaluate/reader.py:28: SyntaxWarning: invalid escape sequence '\['
Group_RE = re.compile("\[ ([-+\w]+) \]")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/markusro/sources/mdevaluate/src/mdevaluate/__init__.py", line 18, in <module>
from . import extra
File "/home/markusro/sources/mdevaluate/src/mdevaluate/extra/__init__.py", line 1, in <module>
from . import chill
File "/home/markusro/sources/mdevaluate/src/mdevaluate/extra/chill.py", line 8, in <module>
from scipy.special import sph_harm
ImportError: cannot import name 'sph_harm' from 'scipy.special' (/home/markusro/sources/mdevaluate/.venv/lib/python3.12/site-packages/scipy/special/__init__.py). Did you mean: 'sph_harm_y'?
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Either pin "scipy<1.15"
Or use the correct function:
Note the order change!