![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
疑难杂症
Py小迷哥
这个作者很懒,什么都没留下…
展开
-
安装uc-devtools工具报错Error writing to file:D:\d3dcompiler_47.dll. Verify that you have access to that
安装uc-devtools工具报错如图:然后把360有关的杀毒防护软件都关闭了,再次尝试安装就成功了原创 2021-03-07 17:55:32 · 898 阅读 · 3 评论 -
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary解决方法
如果做web自动化时,调用谷歌浏览器失败,可以用以下代码去处理from selenium import webdriveroption = webdriver.ChromeOptions()option.binary_location = 'C:\Program Files\Google\Chrome\Application\chrome.exe'driver = webdriver.Chrome(chrome_options=option)driver.get('https://www.bai原创 2021-01-22 22:37:08 · 571 阅读 · 0 评论 -
python生成文件报错的解决办法之一 OSError: [Errno 22] Invalid argument
很简单,如果文件名包含这些符号去掉就OK了,Windows不支持文件名包含这些字符如果在python的OS路径拼接中的文件包含了这些符号,就会报错:OSError: [Errno 22] Invalid argument原创 2020-12-20 12:28:28 · 2662 阅读 · 2 评论