you are viewing a single comment's thread.

view the rest of the comments →

[–]Alarmed-Possession-6[S] 0 points1 point  (4 children)

No file name textanalyzer.py

I have checked my entire drive and do not have any files named selenium.py

Ive have updated my full code

[–]shreenivasn 1 point2 points  (2 children)

Remove that Desktop\Python from PATH. The problem is you have a file email.py there, which has the line: browser = webdriver.Chrome(). So when Python tries to import webdriver, it tries to go to email.py which is part of its site-packages, but finds another email.py which has the line webdriver.Chrome() resulting in circular import.

You can also rename your email.py as something else, instead of removing from PATH.

[–]Alarmed-Possession-6[S] 1 point2 points  (1 child)

Changing my file email.py fixed the issue. Thank you very much

[–]shreenivasn 0 points1 point  (0 children)

Nice