简体   繁体   English

使用Graphlab创建Jupyter时出错

[英]Error while using Graphlab Create Jupyter

I have recently upgraded the Graph Lab create version that I had. 我最近升级了我拥有的Graph Lab创建版本。 While running codes using the Jupyter console I came up with the following errors: 使用Jupyter控制台运行代码时,出现以下错误:

from __future__ import division
import graphlab
import math
import string

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

I am not a CS person, and am not sure why this is coming up. 我不是CS人员,并且不确定为什么会出现这种情况。 Will help if someone can suggest the steps. 如果有人可以建议这些步骤,将会有所帮助。 I have got both Python 2.7 and 3.5 versions and Anaconda 2 and 3. 我同时拥有Python 2.7和3.5版本以及Anaconda 2和3。

Also, while uploading files above 25 mb its giving errors. 此外,在上传25 mb以上的文件时会出现错误。 Not too sure cause it used to be ok before upgrading Graphlab create. 不太确定,因为以前在升级Graphlab create之前还可以。 I have tried uninstalling and reinstalling Python and Anaconda but nothing worked. 我尝试卸载并重新安装Python和Anaconda,但没有任何效果。

Firstly, make sure Jupyter notebook is CLOSED. 首先,请确保Jupyter笔记本电脑已关闭。

  1. Open the GraphLab Create Launcher and go to the 'TERMINAL' button. 打开GraphLab Create Launcher,然后转到“ TERMINAL”按钮。
  2. Type in import graphlab (there may be an error message, just ignore it). import graphlab (可能存在错误消息,请忽略它)。
  3. Now type in graphlab.get_dependencies() 现在输入graphlab.get_dependencies()

The terminal will install all of the proper dependencies. 终端将安装所有适当的依赖项。 Just wait for it to be finished. 只需等待它完成即可。 You can then close the terminal window and open the Jupyter Notebook again. 然后,您可以关闭终端窗口,然后再次打开Jupyter Notebook。 Just try to run your code in the notebook again, it should work. 只需尝试再次在笔记本中运行您的代码,它就可以工作。

Hope this helps! 希望这可以帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM