Hello,
Iâm trying to use viktor in Windows, and Iâm using a local worker which consists in a Python script that generates some json files.
I had Python3.8 installed, but I installed also 3.13 to run viktor.
Now the problem I encounter: the python script running in the worker requires the package ârequestsâ, which is currently listed on ârequirements.txtâ in the app. Despite that, the worker (which points to python313 executable) wonât find requests and itâs giving âModule not found errorâ.
I solved on my machine by installing the package with pip3.13 install requests
, but this is clearly a complication in redistributing the app and this got me confused:
- does the worker runs in isolation mode (venv)?
- if answer to 1. is NO, how do you automatize the required packages to install on client? I supposed I cannot use requirements.txt, since existing one does not affect worker.
Is the best practice to package an executable? - if answer to 1. is YES, how to investigate why itâs not working with declared prerequisites?
thanks in advance