|
2#
楼主 |
发表于 2017-11-23 14:25:47
|
只看该作者
Traceback (most recent call last):
File "D:/test1/select.py", line 1, in <module>
from selenium import webdriver
File "C:\Users\123\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\__init__.py", line 18, in <module>
from selenium import selenium
File "C:\Users\123\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\selenium.py", line 23, in <module>
import http.client as http_client
File "C:\Users\123\AppData\Local\Programs\Python\Python36\lib\http\client.py", line 71, in <module>
import email.parser
File "C:\Users\123\AppData\Local\Programs\Python\Python36\lib\email\parser.py", line 12, in <module>
from email.feedparser import FeedParser, BytesFeedParser
File "C:\Users\123\AppData\Local\Programs\Python\Python36\lib\email\feedparser.py", line 27, in <module>
from email._policybase import compat32
File "C:\Users\123\AppData\Local\Programs\Python\Python36\lib\email\_policybase.py", line 9, in <module>
from email.utils import _has_surrogates
File "C:\Users\123\AppData\Local\Programs\Python\Python36\lib\email\utils.py", line 29, in <module>
import socket
File "C:\Users\123\AppData\Local\Programs\Python\Python36\lib\socket.py", line 52, in <module>
import os, sys, io, selectors
File "C:\Users\123\AppData\Local\Programs\Python\Python36\lib\selectors.py", line 11, in <module>
import select
File "D:\test1\select.py", line 1, in <module>
from selenium import webdriver
File "C:\Users\123\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\__init__.py", line 18, in <module>
from .firefox.webdriver import WebDriver as Firefox
File "C:\Users\123\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 20, in <module>
import http.client as http_client
AttributeError: module 'http' has no attribute 'client' |
|