Hi,
I'm recently focusing on resolve some of the issues about numexpr and I
found that in numexpr's test module, it will run:
`from numpy import (...., complex_, .....)`
And when I run `numexpr.test()` the output looks like:
Traceback (most recent call last):
File
"/Users/liuteng/opt/anaconda3/envs/test_ne/lib/python3.9/site-packages/numexpr-2.8.8.dev1-py3.9-macosx-10.9-x86_64.egg/numexpr/__init__.py",
line 64, in test
import numexpr.tests
File
"/Users/liuteng/opt/anaconda3/envs/test_ne/lib/python3.9/site-packages/numexpr-2.8.8.dev1-py3.9-macosx-10.9-x86_64.egg/numexpr/tests/__init__.py",
line 11, in <module>
from numexpr.tests.test_numexpr import test, print_versions
File
"/Users/liuteng/opt/anaconda3/envs/test_ne/lib/python3.9/site-packages/numexpr-2.8.8.dev1-py3.9-macosx-10.9-x86_64.egg/numexpr/tests/test_numexpr.py",
line 21, in <module>
from numpy import (
ImportError: cannot import name 'complex_' from 'numpy'
(/Users/liuteng/opt/anaconda3/envs/test_ne/lib/python3.9/site-packages/numpy/__init__.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/Users/liuteng/opt/anaconda3/envs/test_ne/lib/python3.9/site-packages/numexpr-2.8.8.dev1-py3.9-macosx-10.9-x86_64.egg/numexpr/__init__.py",
line 68, in test
raise ImportError('`numexpr.tests` could not be imported, likely
it was excluded from the distribution.')
ImportError: `numexpr.tests` could not be imported, likely it was
excluded from the distribution
Then I replace it with `cdouble` and everthing is fine then.
So I'm curious what `complex_` was.
Thanks in advance!
_______________________________________________
NumPy-Discussion mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: [email protected]