I made a Selenium bot on my local Mac, where it works flawlessly. When trying to run it on a virtual Windows 10 machine via google cloud, I'm getting these errors:
"Traceback (most recent call last):
File "c:\Users\ahamed_a_1235\instabot.py", line 1, in <module>
import undetected_chromedriver as uc
File "C:\Users\ahamed_a_1235\AppData\Local\Programs\Python\Python312\Lib\site-
packages\undetected_chromedriver\__init__.py", line 44, in <module>
from .patcher import IS_POSIX
File "C:\Users\ahamed_a_1235\AppData\Local\Programs\Python\Python312\Lib\site-
packages\undetected_chromedriver\patcher.py", line 4, in <module>
from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'
PS C:\Users\ahamed_a_1235>"
Please help. Here are screenshots with related details:
I tried installing the libraries again, but still have the issue.