
bug
今天不用睡觉了、
在校生,对深度学习有一定的兴趣
展开
-
不经意间的小错误:TabError: inconsistent use of tabs and spaces in indentation
python 出现IndentationError: unindent does not match any outer indentation level 问题原因:遇到这个错误,是因为Python不支持的代码对齐中既存在TAB也存在空格的。二者只能存在一种。查看出错代码处。(PS:平时是看不出来的,需要全部选中代码,即可看出空格和Tab)可以看到第19行用的是Tab,然后从第20行到26行用的都是空格,这样的规则python是不允许的。解决办法删除Tab,改成空格。或是删除空格,全部使用原创 2020-10-09 14:50:22 · 303 阅读 · 0 评论 -
使用conda安装库时出错,failed with initial frozen solve. Retrying with flexible solve
问题场景:使用conda安装第三方包时报错:failed with initial frozen solve. Retrying with flexible solve问题描述:使用conda install scikit-learn 安装第三方包时出错。(damon) C:\Users\LYYAO>conda install kerasCollecting package metadata (current_repodata.json): doneSolving environmen原创 2020-09-27 10:26:49 · 58983 阅读 · 4 评论