Ubuntu
薛宝钗
这个作者很懒,什么都没留下…
展开
-
spark例子SimpleApp运行错误
在运行spark文档quick start里面的一个例子的时候,出现了如下错误: Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps; at org.apache.s原创 2016-11-17 16:21:20 · 4957 阅读 · 1 评论 -
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 10: ordinal not in range(128)
使用Python遇到的问题转载 2017-01-13 15:58:55 · 467 阅读 · 0 评论 -
pycharm 中mark directory as exclude的作用
比如说如果设置为例外,那么里面的.py文件就不会被IDE索引,所以语法提示也不会包括里面的内容 sys.path.append('../inputs') sys.path.append('../utils') from preparation import * from rank_io import * 使用这样的python语句的时候在终端运行代码的时候能够识别出来路径来,在pycharm...原创 2018-08-22 16:25:56 · 9267 阅读 · 0 评论 -
mac 更新pip
pip9.01报ssl错误:[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 mac或者linux操作系统:在终端下执行命令:curl https://bootstrap.pypa.io/get-pip.py | python。 mac permission deny 加入sudo权限:curl https://bootstrap.pypa.io/get...原创 2018-08-20 01:48:58 · 2141 阅读 · 0 评论 -
mac安装keras过程中numpy和scipy与旧版本冲突
卸载原来版本numpy的过程中出现 Cannot uninstall 'scipy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. sudo p...原创 2018-08-21 11:03:37 · 1322 阅读 · 0 评论