搭建好selenium环境以后,运行脚本,系统报错:D:\ruanjiananz\python\python.exe C:/Users/lenovo/PycharmPro各位大声帮忙看一下是什么问题?

 搭建好selenium环境以后,运行脚本,系统报错如下图:各位大声帮忙看一下是什么问题?

报错内容:

D:\ruanjiananz\python\python.exe C:/Users/lenovo/PycharmProjects/untitled/selenium.py
Traceback (most recent call last):
  File "C:/Users/lenovo/PycharmProjects/untitled/selenium.py", line 1, in
    from selenium import webdriver
  File "C:\Users\lenovo\PycharmProjects\untitled\selenium.py", line 1, in
    from selenium import webdriver
ImportError: cannot import name 'webdriver' from partially initialized module 'selenium' (most likely due to a circular import) (C:\Users\lenovo\PycharmProjects\untitled\selenium.py)

Process finished with exit code 1

 

搭建好selenium环境以后,运行脚本,系统报错:D:\ruanjiananz\python\python.exe C:/Users/lenovo/PycharmPro各位大声帮忙看一下是什么问题?_第1张图片

你可能感兴趣的:(解决问题)