#python lib requirements

1 messages · Page 1 of 1 (latest)

proper bison
#

if i need to parse a .yml file using the yaml lib how to tell dagger that this lib needs to be installed to run the module. right now im installing it manually and using it with

import yaml

yaml.safe_load('')

but got error

┃ ╭─ Error ──────────────────────────────────────────────────────────────────────╮                                                                                                                                               
┃ │ The "main" module could not be found. Did you create a "src/main.py" file in │                                                                                                                                               
┃ │ the root of your project?                                                    │                                                                                                                                               
┃ ╰──────────────────────────────────────────────────────────────────────────────╯ 

not sure what im missing

#

dummy question, i just needed to use the pyproject.toml file