GraphLab安装出错(2):ACTION REQUIRED: Dependencies libstdc++-6.dll and libgcc_s_seh-1.dll not found

1、问题描述

解决完上一个问题后,GraphLab安装出错:Cannot uninstall 'certifi'. It is a distutils installed project

在jupyter notebook中导入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\Administrator\AppData\Local\conda\conda\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

 

2、按照上述的3个提示进行解决

(1)第一条没问题

Ensure user account has write permission

(2)运行 graphlab.get_dependencies()

 

Run graphlab.get_dependencies() 

最好在python命令行中运行命令,jupyter notebook如果出错,一般得不到反馈,导致无法判断问题是否可以用该方法解决。

 

3、下载gcc-libs时,出现如下错误:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Administrator\AppData\Local\conda\conda\envs\gl-env\lib\site-packages\graphlab\dependencies.py", line 41, in get_dependencies
    (dllarchive_file, dllheaders) = urllib.urlretrieve('http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc-libs-5.1.0-1-any.pkg.tar.xz')
  File "C:\Users\Administrator\AppData\Local\conda\conda\envs\gl-env\lib\urllib.py", line 98, in urlretrieve
    return opener.retrieve(url, filename, reporthook, data)
  File "C:\Users\Administrator\AppData\Local\conda\conda\envs\gl-env\lib\urllib.py", line 289, in retrieve
    "of %i bytes" % (read, size), result)
urllib.ContentTooShortError: retrieval incomplete: got only 253731 out of 546800 bytes

这个问题是由于下载不完全导致的,找网络好的地方继续下载。

 

4、换了个网络好的地方,很快下载好,并且加载graphlab成功

 

参考文档:

https://blog.csdn.net/u014465934/article/details/79427300

https://blog.csdn.net/hpdlzu80100/article/details/75269876

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值