![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误笔记
Nefertari_YinC
积极开朗爱coding
展开
-
Python报错can‘t open file ‘test.py‘: [Errno 2] No such file or directory
你要保证test.py文件在路径上,简单说就是你先cd进入包含test.py文件的上一层目录后再执行命令。原创 2020-07-23 15:32:37 · 8991 阅读 · 0 评论 -
Python运行报错“SyntaxError: invalid syntax”解决办法
“SyntaxError: invalid syntax” 的意思就是 语法错误;经过查询解决了这个问题,所以总结一个这个问题的解决方法:版本问题:因为python2和python3是不兼容的,所以一些可以在python2上运行的代码不一定可以在python3上运行;可以尝试更换版本;路径问题:记得仔细查看自己的路径是否正确;粗心问题:忘记在 if , elif , else , for , while , class ,def 声明末尾添加 冒号( : );误将 = 当成 == 使用;安原创 2020-07-22 14:00:29 · 2876 阅读 · 0 评论 -
Undefined symbols for architecture i386: “_OBJC_CLASS_$_XXX”, referenced from: objc-class-ref in XXX
错误描述:Undefined symbols for architecture i386:“_OBJC_CLASS_$_XXX”, referenced from:objc-class-ref in XXXld: symbol(s) not found for architecture i386clang: error: linker command failed with exit cod原创 2015-12-22 17:28:35 · 1278 阅读 · 0 评论 -
reason: ‘*** Collection <__NSArrayM: 0xb550c30> was mutated while being enumerated
2015-09-22 16:45:42.229 ViewTest[2638:c07] *** Terminating app due to uncaught exception ‘NSGenericException’, reason: ‘*** Collection <__NSArrayM: 0xb550c30> was mutated while being enumerated.’当程序出现这原创 2015-12-22 17:31:51 · 994 阅读 · 0 评论