Closed BeepBo0 closed 2 years ago
I assume you've found what was wrong? :)
Just for the sake of anyone stumbling onto this thread. The problem was likely that you were installing the dateutils package in your global python environment, but chiadog
runs in a venv
, a virtual environment or a sandbox, which does not have access to the globally installed packages.
Make sure to follow the steps on https://github.com/martomi/chiadog/blob/main/WINDOWS.md#11-powershellnative-installation especially step 3. which initializes and enables the venv
.
I assume you've found what was wrong? :)
Just for the sake of anyone stumbling onto this thread. The problem was likely that you were installing the dateutils package in your global python environment, but
chiadog
runs in avenv
, a virtual environment or a sandbox, which does not have access to the globally installed packages.Make sure to follow the steps on https://github.com/martomi/chiadog/blob/main/WINDOWS.md#11-powershellnative-installation especially step 3. which initializes and enables the
venv
.
Yep, I finally crack and post the question, only to get it sorted a few minutes later, typical! It was indeed an issue where the requirements didn't carry over the first time I tried it. And me being a doris kept trying to update the actual module and not the venv like you say.
But a big thanks for the help! Seeing as you are here, whats a good website to ping? I tried 8.8.8.8 and google.com but it just says "Failed to ping keep-alive: unknown url type". Apart from that works great!
For the keep_alive you mean? I've not used the feature myself, but I believe Martin uses HealthChecks.io, as suggested here
Hi y'all. Been trying to get this sorted on my offtime but have officially run out of ideas. No matter what I try the dateutil module just doesn't work. I have tried this both on Windows10 and Windows Server 2019 with similar results. I am now throwing myself at the mercy of someone smarter than me.
Having followed the listed guide exactly on both systems, I can never get the module to work within the script.
What am I doing wrong?
Environment: