WindmillWWindmill
Powered by
MarkyM
Windmill•2y ago•
9 replies
Marky

Sub module not working with Python

pip install beem

from beemapi.exceptions import NumRetriesReached
pip install beem

from beemapi.exceptions import NumRetriesReached


Works fine locally, but on Windmill it gets confused as beem is the main module, and beemapi is installed with (along with a few others). All from beem... works fine (like from beem import Hive). It just can't handle the other modules installed with it.

https://github.com/windmill-labs/windmill/issues/4015
GitHub
bug: Python Sub Modules cannot be discovered · Issue #4015 · windmi...
Describe the bug When installing a Python package that includes multiple top level classes, the auto importer can't find all of them. To reproduce pip install beem from beemapi.exceptions impor...
bug: Python Sub Modules cannot be discovered · Issue #4015 · windmi...
WindmillJoin
3,388Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 6d ago

rubenf

Infrastructure as code

rubenf · 4w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Decorators with def main() not working in python
Karthik | Langtrace AIKKarthik | Langtrace AI / help
2y ago
Python Flows Failing Due to Module Not Found
George SellyGGeorge Selly / help
7mo ago
Install Python module from GitHub
MarkyMMarky / help
2y ago
[python] subdependencies breaking wmill module installation
developerDdeveloper / help
2y ago