With 4.12.0+dfsg-1, this becomes:
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/selenium/webdriver/common/driver_finder.py",
line 38, in get_path
path = SeleniumManager().driver_location(options) if path is None
else path
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/selenium/webdriver/common/selenium_manager.py",
line 78, in driver_location
args = [str(self.get_binary()), "--browser", browser]
^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/selenium/webdriver/common/selenium_manager.py",
line 57, in get_binary
if not path.is_file() and os.environ["CONDA_PREFIX"]:
~~~~~~~~~~^^^^^^^^^^^^^^^^
File "<frozen os>", line 679, in __getitem__
KeyError: 'CONDA_PREFIX'