【问题标题】:Error while using Graphlab Create Jupyter使用 Graphlab 创建 Jupyter 时出错
【发布时间】:2016-12-31 21:43:09
【问题描述】:

我最近升级了我拥有的 Graph Lab 创建版本。在使用 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.**

我不是 CS 人员,不知道为什么会出现这种情况。如果有人可以建议这些步骤,将会有所帮助。我有 Python 2.7 和 3.5 版本以及 Anaconda 2 和 3。

此外,在上传 25 mb 以上的文件时,会出现错误。不太确定,因为在升级 Graphlab 创建之前它曾经是好的。我已尝试卸载并重新安装 Python 和 Anaconda,但没有任何效果。

【问题讨论】:

标签: python ipython jupyter-notebook graphlab


【解决方案1】:

首先,确保 Jupyter notebook 已关闭。

  1. 打开 GraphLab 创建启动器并转到“终端”按钮。
  2. 输入import graphlab(可能有错误信息,忽略即可)。
  3. 现在输入graphlab.get_dependencies()

终端将安装所有正确的依赖项。只是等待它完成。然后,您可以关闭终端窗口并再次打开 Jupyter Notebook。只需尝试再次在笔记本中运行您的代码,它应该可以工作。

希望这会有所帮助!

【讨论】:

  • 执行上述步骤后仍然显示相同的错误。
  • 这似乎是一个奇怪的 hack,但对我不起作用。
猜你喜欢
  • 1970-01-01
  • 2017-11-18
  • 2017-11-18
  • 2017-09-14
  • 2020-12-13
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-12-15
相关资源
最近更新 更多