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

unable to import grizzly.grizzly #496

Open sandeepsoman-rzt opened 4 years ago

sandeepsoman-rzt commented 4 years ago

Hi, I followed the instructions for Mac installation and ran setup.py for "pyweld" and "grizzly". Importing grizzly.grizzly threw error for me since, inside the grizzly.py it was unable to import utils.py or seriesweld.py etc.
The imports worked once I manually changed the imports to -- "import grizzly.utils" "import grizzly.seriesweld" But now, it popped another error saying - "dlopen(/usr/local/lib/python3.7/site-packages/grizzly/numpy_weld_convertor.dylib, 6): image not found" This error also showed up for 'libweld.dylib' which was solved again by manually copying to the path.

espetro commented 3 years ago

I am getting the following error after running import grizzly:

import usb.core
ModuleNotFoundError: No module named 'usb'

Shouldn't this requirement be already present in the requirements.txt for grizzly ?