botasaurus icon indicating copy to clipboard operation
botasaurus copied to clipboard

Module Import Error

Open sayfsaleem opened this issue 1 year ago • 0 comments

PS C:\Users\ic\Documents\Visa-Appointments-Punjab> python -u "c:\Users\ic\Documents\Visa-Appointments-Punjab\main.py" Traceback (most recent call last): File "c:\Users\ic\Documents\Visa-Appointments-Punjab\main.py", line 9, in from botasaurus.browser import browser, Driver # BotaSauras Driver ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ic\AppData\Roaming\Python\Python312\site-packages\botasaurus\browser.py", line 4, in from botasaurus_driver.exceptions import DriverException,GoogleCookieConsentException,IframeNotFoundException,ElementWithTextNotFoundException,ElementWithSelectorNotFoundException,InputElementForLabelNotFoundException,CheckboxElementForLabelNotFoundException,PageNotFoundException,CloudflareDetectionException,ElementInitializationException,DetachedElementException,ElementPositionNotFoundException,ElementPositionException,ElementScreenshotException,ScreenshotException,InvalidFilenameException,ChromeException,JavascriptException,JavascriptSyntaxException,JavascriptRuntimeException ImportError: cannot import name 'ChromeException' from 'botasaurus_driver.exceptions' (C:\Users\ic\AppData\Roaming\Python\Python312\site-packages\botasaurus_driver\exceptions.py). Did you mean: 'DriverException'?

sayfsaleem avatar Jul 24 '24 13:07 sayfsaleem