![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错
顽强拼搏的阿k
我是阿K,微信搜一搜【Python三剑客】三剑客(小饼干、CC、阿K)共同分享Python爬虫面试真题、js逆向系列、PC和移动端自动化、爬虫实战案例,一起学好python(提供优质文章),共同分享,共同学习。越努力,越特殊!今时今日之状态是三年前的你所决定的!共勉
展开
-
Python 日志模块报错 ModuleNotFoundError: No module named ‘logs‘
起因大家有没有发现有时在pip install 导包 后仍然找不到或者还是无法安装解决方案1、 找到当前pip的目录window 下 cmd : pip -V2 、进入当前目录并创建文件文件名:.pth文件内容:D:\spider_project【当前启动的爬虫文件位置】3、重新启动需要项目就可以了...原创 2021-07-24 17:12:31 · 1772 阅读 · 1 评论 -
2021最新处理报错Anconad JPype.whl is not a supported wheel on this platform.问题
处理Python Anaconda 安装 JPype报错显示ERROR: JPype1-1.3.0-cp38-cp38-win32.whl is not a supported wheel on this platform.安装命令pip install JPypel处理方案一:Python资源库中下载对应版本的包进行安装Python资源库https://www.lfd.uci.edu/~gohlke/pythonlibs/#jpype在下载后的路径下进行安装## w原创 2021-07-06 08:58:50 · 429 阅读 · 0 评论 -
[Selenium]TypeError:__init__() takes 2 positional arguments but 3 were given解决方案
异常描述:执行以下代码WebDriverWait(self.driver, 10, 0.5).until(EC.presence_of_element_located(By.XPATH, '//span[text()="全选"]')),PyCharm出现异常提示TypeError: __init__() takes 2 positional arguments but 3 were given原译:init()方法只取2个参数,但实际提供了3个参数。源码分析presence_of_elemen原创 2021-05-25 11:14:26 · 7021 阅读 · 0 评论 -
解决关于上传文件到服务器报错Permission denied的问题
一、解决办法开通当前文件的权限-sudo chomd 777 /home/filename接下来就可以通过常用的ftp工具上传或者下载文件了二、通过scp命令上传文件scp demo.txt ubuntu@xxx.xxx.xxx.xxx:home/name就是上传demo.txt文件夹到远程服务器的/home/name目录下三、通过scp命令下载文件scp -r ubuntu@xxx.xxx.xxx.xxx:/home/name/caffe /home/deeplearning/Pu原创 2021-05-18 12:16:36 · 5095 阅读 · 2 评论 -
2020年最新 pycharm中from fake_useragent import UserAgent报错
2020年最新 win环境下 from fake_useragent import UserAgent报错相信大家都遇到这样的问题:尤其是cmd下的卸载重新安装也是无法进行安装的解决办法:在pycharm中的Terminal执行pip install fake_useragent原创 2020-08-16 21:43:59 · 4538 阅读 · 2 评论