Reputation: 574
I have just started to try to learn to use selenium. When i try to import from selenium the module webdriver, like this:
from selenium import webdriver
Only this but the shell say
ImportError: cannot import name 'webdriver' from partially initialized module 'selenium' (most likely due to a circular import)
What should i do? Thanks
Upvotes: 4
Views: 1460
Reputation: 725
I think you named your file selenium.py
If yes: then change the name please.
Upvotes: 11