会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
izhangleinb
博客园
首页
新随笔
联系
订阅
管理
2017年11月6日
Mac 下载bitcoin源码后 执行 ./configure脚本libdb_cxx headers missing报错解决方案
摘要: 找了一圈全是ubuntu的解决方案、真的是一口老血、、、 brew install automake berkeley-db4 libtool boost --c++11 miniupnpc openssl pkg-config protobuf python3 qt libevent
阅读全文
posted @ 2017-11-06 19:51 izhangleinb
阅读(2946)
评论(2)
推荐(0)
2017年10月11日
kNN算法AttributeError: 'dict' object has no attribute 'iteritems'问题
摘要: 环境:py3.5 解决方案:py3中没有iteritems,iteritems直接改成items就可以了。 python字典的items方法作用:是可以将字典中的所有项,以列表方式返回。如果对字典项的概念不理解,可以查看Python映射类型字典基础知识一文。因为字典是无序的,所以用items方法返回
阅读全文
posted @ 2017-10-11 09:52 izhangleinb
阅读(1681)
评论(0)
推荐(0)
2017年9月25日
Python 3.5.2 TypeError: a bytes-like object is required, not 'str’问题解决方案
摘要: 运行环境Mac Python 3.5.2 Q: http_response = """\ HTTP/1.1 200 OK Hello, World! """ client_connection.sendall(http_response) TypeError: a bytes-like object
阅读全文
posted @ 2017-09-25 10:04 izhangleinb
阅读(837)
评论(0)
推荐(0)
公告