W
Windmill8mo ago
haj

Python 'AttributeError' for 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 and could be an instal issue on my end.
1 Reply
rubenf
rubenf8mo ago
Hi, This looks like a tough issue without us having a deeper look at your installation or having much clearer reproduction steps. We do offer enterprise support and digging through such issue is one of the service we offer. The error seems to indicate that numpy is an empty module and first thing you should try is cleaning your cache on the workers, which is the mounted volume that your worker use to store the dependencies.