问题修正
小果一粒沙
To be brave.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
安装wtte出现问题 wtte1.1.1 require six~=1.10.0, but you have six 1.15.0 which is incompatible
问题如图所示. 只需要新建立一个conda环境,安装python=3.6, tensorflow环境为1.8就可以啦。 步骤: conda建立新环境 conda创建新环境 conda 安装tensorflow=1.8 在anaconda环境下安装旧版本TensorFlow1.8 出现问题: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version ...原创 2022-03-12 19:31:18 · 1422 阅读 · 0 评论 -
解决网站某些图片因为http无法显示的问题
参考: Chrome 禁止混合内容的解决办法 搜索不安全内容 在允许下添加站点 OK,作业部落网站显示正常 eg. 零基础入门深度学习(4) - 卷积神经网络原创 2021-11-26 17:05:31 · 2624 阅读 · 0 评论 -
Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory
安装pycurl出现上述问题 开始有的步骤: 1.在https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurl中找到对应的pycurl版本,进行下载 2.使用cmd pip进行安装 pip install pycurl-7.43.1-cp37-cp37m-win_amd64.whl 3.出现错误: Requirement 'pycurl-7.43.1-c...原创 2019-04-09 15:25:05 · 2465 阅读 · 0 评论 -
pyspider安装中出现的一系列问题
开始安装 pip install pyspider 问题1: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-vXo1W3/pycurl 解决 1.先安装curl库,在[pycurl]中Ctrl+f找到你的电脑所对应的curl版本,进行下载(http://www.lfd.uci.edu/~...原创 2019-04-09 21:13:59 · 6860 阅读 · 13 评论 -
python 使用scrapy框架时--命令行出现no command crawl
参考:Unknown command: crawl(爬虫框架Scrapy遇到的常见错误) 我自己的解决过程:cmd下的路径设置为D:\lagua\study\coding\pythonPractice\mingyan 这里需要注意:开始使用strat startproject D:\lagua\study\coding\pythonPractice\mingyan创建了一个一个新的爬虫文件夹,据官...原创 2019-04-29 08:40:03 · 901 阅读 · 0 评论 -
1064, " You have an error in your SQL syntax check the manual that corresponds to your MySQL
完整的语法错误是这样的: pymysql.err.ProgrammingError: (1064, “You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘)’ at line 10”...原创 2019-05-06 15:21:23 · 873 阅读 · 0 评论 -
python--class--undefined variable 'self'
代码示例: class Test(object): def __init__(self): self.a=1 print(self.a) 出现错误:(标题是在vscode中出现错误,以下是在python自带的IDE中出现的错误提示) NameError: name 'self' is not defined 结果证明: 在class中不能直接继承一个类,不能期望...原创 2019-05-14 10:01:04 · 2358 阅读 · 0 评论 -
python---关于import从模块中导入类的函数-Unable to import ´FirstProcess.InitialProcess´
我原来的代码: from FirstProcess.InitialProcess import getData 即,我希望导入FirstProcess.py的文件中的InitialProcess类中的getData函数。出现了如标题一般的错误。 解决: from FirstProcess import InitialProcess a = InitialProcess() new_get_dat...原创 2019-05-14 11:15:54 · 391 阅读 · 0 评论
分享