Electrum
Electrum3w ago

Not taking new dependencies into effect?

Hello, I'm trying to understand why I am getting this error:
PushoverAPI\nModuleNotFoundError: No module named 'pushover_complete'",
PushoverAPI\nModuleNotFoundError: No module named 'pushover_complete'",
I am specifically importing it and specifying the dependencies:
# import wmill
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "wmill>=1.554.0",
# "pushover-complete>=2.0.0",
# "emoji>=2.15.0"
# ]
# ///
import wmill
from f.common.get_akv_secret import main as get_akv_secret
import requests
from pushover_complete import PushoverAPI
import emoji
# import wmill
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "wmill>=1.554.0",
# "pushover-complete>=2.0.0",
# "emoji>=2.15.0"
# ]
# ///
import wmill
from f.common.get_akv_secret import main as get_akv_secret
import requests
from pushover_complete import PushoverAPI
import emoji
3 Replies
Electrum
ElectrumOP3w ago
i think I got it. I needed to run: wmill flow generate-locks
Pyra
Pyra3w ago
hey. what version are you running? You are deploying from cli, right? If you just push this script with wmill sync push it will produce this error (when you run the script)? @Electrum
Electrum
ElectrumOP3w ago
Thanks, I got it figured out. I needed to do a generate-locks. I was coding it in vscode, then pushing to windmill then running it there. Windmill: Version: 1.539.1 CLI: 1.552.0

Did you find this page helpful?