ERROR
FuckWindowsError
FuckWindowsError
展开
-
numba ERROR:AssertionError: Failed in object mode pipeline (step: analyzing bytecode)
Exceptions can still be raised and they get propagated all the way up. You can still catch them in the non-jit function.Our current focus is in high-performance numeric code, such code rarely ...原创 2019-04-09 13:31:04 · 3939 阅读 · 0 评论 -
AttributeError: 'staticmethod' object has no attribute '__name__'
@jit @retry(tries=10) @staticmethod改为 @staticmethod @jit @retry(tries=1)原创 2019-04-09 13:35:44 · 1991 阅读 · 0 评论 -
timeout-decorator ERROR:AttributeError: module 'signal' has no attribute 'SIGALRM'
timer signals can not be used in Windows at all.You might use this decorator with option use_signals=False,or You might use my fork - there the signals are disabled by default in windows :https://gi...原创 2019-04-09 14:45:05 · 2829 阅读 · 0 评论 -
numba ERROR:NameError: global name '_call_' is not defined
bug10x64are not support numba原创 2019-04-20 23:15:21 · 602 阅读 · 0 评论 -
PyPy :TypeError: getsizeof(...)
TypeError: getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes.sys.getsizeof(object, default) will always return default on PyPy, andraise a TypeError if...原创 2019-04-22 10:57:18 · 287 阅读 · 0 评论 -
TypeError: can only concatenate tuple (not "str") to tuple (python)
死活报错,找不出原因最后终于发现源于赋值错误:self.searchText='',searchTextMDZZ原创 2019-04-26 23:48:13 · 2576 阅读 · 0 评论 -
NameError: name 'ConfigParser' is not defined
import configparserconfig = configparser.ConfigParser()TheConfigParsermodule has been renamed toconfigparserin Python 3. The2to3tool will automatically adapt imports when converting your sou...原创 2019-04-24 12:07:51 · 3793 阅读 · 0 评论 -
git删除某次提交(某个commit)的方法
input>git logout>fatal: your current branch 'master' does not have any commits yetinput > git rebase -i xxxout>invalid upstream input > git rebase -i xxxXXXXXXXXXXXXXXXout>...原创 2019-04-24 14:24:50 · 7069 阅读 · 0 评论 -
No module named 'wordpress_xmlrpc'
若文件名为abc.py换个文件名原创 2019-05-28 12:14:34 · 645 阅读 · 0 评论 -
tampermonkey UserScipt's ERROR: unsafeWindow is not defined
去掉// @grant none原创 2019-04-06 19:18:11 · 2529 阅读 · 0 评论 -
打开Microsoft Visual Studio 2010报错:调用的目标发生了异常
被该死的蠕虫病毒感染了原创 2019-04-01 13:05:14 · 1803 阅读 · 0 评论 -
关于PYTHON使用with open配合For读取文件运行至For循环停止执行
try: with open(self.userList,'r') as f_username: UserListCount=len(list(f_username)) print(UserListCount) with open(self.passList,'r') as f_password : ...原创 2018-12-03 20:00:14 · 6555 阅读 · 2 评论 -
python.exe应用程序错误
原因不明部分情况下用requests.Session()代替requests.get能解决原创 2019-01-11 00:01:30 · 2619 阅读 · 1 评论 -
关于百度V3人脸检测返回结果不完整
提交 工单后才知道需要填写的字段是face_field,而不是face_fields,参数填错了原创 2019-01-03 12:03:05 · 399 阅读 · 0 评论 -
Python Requests Proxy error ::Failed to parse::
::Failed to parse::检查ip文件是否正常,也许被改成了1::1的格式原创 2019-01-18 13:40:27 · 4458 阅读 · 0 评论 -
python使用base64.b64encode报错:TypeError: 'str' does not support the buffer interface
改为:base64.b64encode('123'.encode('utf-8')).decode('utf-8')原创 2019-03-14 20:48:11 · 1571 阅读 · 0 评论 -
RuntimeWarning: types.FrameType size changed, may indicate binary incompatibility. Expected zd, got
D:\Program Files\Python3.4\lib\importlib\_bootstrap.py:321: RuntimeWarning: types.FrameType sizechanged, may indicate binary incompatibility. Expected zd, got zd然后垃圾连案例都搜不到原来是python3.4不支持g...原创 2019-03-11 10:28:12 · 209 阅读 · 0 评论 -
关于XP开启系统还原的坑
属性里没有,组策略编辑器开启也无效服务里无此项于是按照此文操作https://wenku.baidu.com/view/7e88f0ff700abb68a982fb8b.html直至修改netsvcs为AppMgmt;AudioSrv;Browser;CryptSvc;DMServer;EventSystem;HidServ;Ias;Iprip;Irmon;LanmanSer...原创 2019-03-16 09:27:26 · 186 阅读 · 0 评论 -
关于python3死活报错:_io.TextIOWrapper' object is not callable
变量名使用了关键字input,改掉解决原创 2019-03-25 17:36:49 · 18717 阅读 · 0 评论