Pyra
Pyra
WWindmill
Created by SharmikaNCFC on 11/6/2024 in #help
Trying to import Python package but Windmill doesn't recognise it
No worries
7 replies
WWindmill
Created by SharmikaNCFC on 11/6/2024 in #help
Trying to import Python package but Windmill doesn't recognise it
When you use #requirements: it prevents windmill from inferring other imports. If you want to have part of dependencies specified explicitly and part inferred from imports use #extra_dependencies: https://www.windmill.dev/docs/advanced/dependencies_in_python#pinning-dependencies-and-requirements
7 replies
WWindmill
Created by SharmikaNCFC on 11/6/2024 in #help
Trying to import Python package but Windmill doesn't recognise it
Let me know if it works 😁
7 replies
WWindmill
Created by SharmikaNCFC on 11/6/2024 in #help
Trying to import Python package but Windmill doesn't recognise it
@SharmikaNCFC Hello. Could you try running this sample?
#requirements:
#currencyconverter

from currency_converter import CurrencyConverter

def main():
pass
#requirements:
#currencyconverter

from currency_converter import CurrencyConverter

def main():
pass
Otherwise windmill will install currency_converter -> currency.converter (https://pypi.org/project/currency.converter/), which is different package. The one you want has no underscore and you need to specify it explicitly.
7 replies
WWindmill
Created by Bezerker on 10/17/2024 in #help
How does windmill handle multiple people editing the same flow and drafts?
Its nice to push a change and see One interested in what this change solved. Yep, its now handled really nicely. Enjoy! Hehe 😁
18 replies