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如果出错,一般得不到反馈,导致无法判断问题是否可以用该方法解决。
扫描二维码关注公众号,回复:
1147717 查看本文章
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
这个问题是由于下载不完全导致的,找网络好的地方继续下载。