This topic was automatically generated from Slack. You can find the original thread here.
Not sure if this is a bug or feature request, but I’m not able to import the python thirdweb package. The package exists here in pypi.
ModuleNotFoundError
No module named 'thirdweb'
DETAILS
Traceback (most recent call last):
File "/nano-py/pipedream/worker.py", line 95, in load
self.step_modules[cell["id"]] = importlib.import_module(cell["importPath"])
File "/var/lang/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/tmp/__pdg__/dist/code/e064cf58774ceb69755b4b5df3a2634869f5bc1ae3b938573948f7fa2765462b/code.py", line 1, in <module>
from thirdweb import ThirdwebSDK
ModuleNotFoundError: No module named 'thirdweb'
Hi Brett, this is a known issue with this package. I believe this package relies on binaries that are not bundled in the module itself. Which you cannot add to the workflow environment at this time.
There is not an timeline at this moment no. But I encourage you to follow the custom Docker issue on our Github tracker, I think that’s the most likely improvement we’d make to support this use case.