weld-project / weld

High-performance runtime for data analytics applications
https://www.weld.rs
BSD 3-Clause "New" or "Revised" License
2.99k stars 260 forks source link

Error "ModuleNotFoundError: No module named 'weldarray'" when using python3. #514

Open surechen opened 3 years ago

surechen commented 3 years ago

Hello, thank you for your attention. I found the following error in using weld with python3. Does weld support Python 3 now?

Traceback (most recent call last): File "./testweld.py", line 5, in from weldnumpy import weldarray File "/usr/local/lib/python3.6/dist-packages/weldnumpy/init.py", line 1, in from weldarray import * ModuleNotFoundError: No module named 'weldarray'

sppalkia commented 3 years ago

The old python directory distribution does not support Python 2.7. The new distribution in weld-python (which was still under active development when I was last working on this) supports Python 3+, but currently only has a Grizzly integration (no NumPy). The Grizzly Series API is similar to to NumPy, if that is a sufficient workaround for now.