我已经使用Anaconda安装了GraphLab Create。使用SFrame,一切似乎都很好,我可以操纵数据并摄取它,但我无法执行函数show()
。错误消息如下:
Error: Requested port is unavailable
inspect.pyc in find_vars(var)
42 (variable_name, variable) = _find_variable_name(var)
43 if variable_name is not None:
---> 44 target.add_variable((variable_name,), variable)
45 return variable_name
46
AttributeError: 'NoneType' object has no attribute 'add_variable'
另外,我尝试将画布的目标更改为笔记本本身,因为端口事物可能导致了问题,但执行graphlab.canvas.set_target('ipynb')
时的错误是:
util.pyc in __new__(cls, *args, **kwargs)
310 # singleton magic. If we get rid of that we can switch to __init__
311 # here too.
--> 312 instance.initialize(*args, **init_kwargs)
313 return instance
314
TypeError: initialize() got an unexpected keyword argument 'io_loop'
以下是我的环境规范:
Python: 2.7
OS: Windows 10
Jupyter Notebook: 5.4.1
Anaconda: 4.3.30
GraphLab: 2.1
编辑:在堆栈跟踪顶部添加了错误消息Error: Requested port is unavailable