I'm am attempting to run a python script as a scheduled task however it includes the module webdriver-manager so I have setup a virtual environment to download additional modules. I am running the script initially in the console before setting up a scheduled task.
I am using a hashbang as advised in the help to define the virtualenv to use when running the script. However I cannot find the correct combination to use for the console to be able to see the module in order to run the code, I recieve the error: No module named 'webdriver_manager'.
I have installed webdriver-manager using pip and I can see it in the file structure within my virtual environment.
The hashbang I used is: #!/home/antmole/.virtualenvs/myvirtualenv/bin/python3.9
I can't see what I'm doing wrong... Can anyone advise on how I can "see" the required module?