慕课网机器学习启蒙报错记录

本文介绍了在使用GraphLab时遇到的依赖库未找到错误及解决方法,并提供了如何通过执行特定命令来更新Python环境的详细步骤。

1.import graphlab时报错

ACTION REQUIRED: Dependencies libstdc++-6.dll and libgcc_s_seh-1.dll not found.
1. Ensure user account has write permission to C:\Users\pande\Anaconda2\envs\gl-env\lib\site-packages\graphlab
2. Run graphlab.get_dependencies() to download and install them.
3. Restart Python and import graphlab again.

By running the above function, you agree to the following licenses.
* libstdc++: https://gcc.gnu.org/onlinedocs/libstdc++/manual/license.html
* xz: http://git.tukaani.org/?p=xz.git;a=blob;f=COPYING

解决方法:
http://blog.youkuaiyun.com/hpdlzu80100/article/details/75269876
http://blog.youkuaiyun.com/u013569000/article/details/53886656

记得: 在Python命令行中执行graphlab.get_dependencies()时,重新编译了.py文件,得到了更新后的.pyc文件。

2.Web编辑器jupyter所在目录文件:

可以直接使用ls查看,就可以知道当前目录了,我的是C:\Users\yangyang

3.IndentationError: unexpected indent python报错

是缩进错误,解决方法可以参考文章:http://dikar.iteye.com/blog/308934

在notepad里面显示空格和制表符:视图—显示符合—显示空格与制表符。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值