hajH
Windmill3y ago
13 replies
haj

Python 'AttributeError' for certain modules

Hi, Im trying to run a python script in Windmill's UI, but am getting an 'AttributeError' for certain packages such as numpy (example in screenshot). When I run print(numpy), I get the following: <module 'numpy' (<_frozen_importlib_external.NamespaceLoader object at 0x7f28c4de3750>)>. However, I was told by support that I should see the following: <module 'numpy' from '/tmp/windmill/cache/pip/numpy==1.26.1/numpy/__init__.py'>. Could this have something to do with my install/scripts? Would appreciate any help. Thank you.
Screenshot_2023-10-19_at_9.41.46_AM.png
Was this page helpful?