If there is no restriction for selenium version, then you can use the latest version which I have updated, this will not give the undetected chromedriver error. If there is a restriction to use specific selenium version then just ignore the undetected chromedriver error because it's a dependency when selenium installs, you can't do anything about it, your selenium still gets installed even after the undetected chromedriver error.
If there is no restriction for selenium version, then you can use the latest version which I have updated, this will not give the undetected chromedriver error. If there is a restriction to use specific selenium version then just ignore the undetected chromedriver error because it's a dependency when selenium installs, you can't do anything about it, your selenium still gets installed even after the undetected chromedriver error.