2016-08-16 13 views
4

graphlabを実行するのに必要な依存関係をダウンロードしようとすると問題が発生します。Graphlab依存関係をダウンロードする際の問題点get_dependencies()

ACTION REQUIRED: Dependencies libstdc++-6.dll and libgcc_s_seh-1.dll not found. 

1. Ensure user account has write permission to C:\Users\DANISUAR\AppData\Local\Continuum\Miniconda2\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 

は、だから私はgraphlab.get_dependencies()を実行しようと、私は次のエラーを取得:

In [2]: gl.get_dependencies() 

By running this 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 

Downloading xz. 
Extracting xz. 
Downloading gcc-libs. 
Extracting gcc-libs. 
xz: c:\users\danisuar\appdata\local\temp\tmpcdpyzp.xz: File format not recognized 
--------------------------------------------------------------------------- 
CalledProcessError      Traceback (most recent call last) 
<ipython-input-2-5349b2d86a08> in <module>() 
----> 1 gl.get_dependencies() 

C:\Users\DANISUAR\AppData\Local\Continuum\Miniconda2\envs\gl-env\lib\site-packag 
es\graphlab\dependencies.pyc in get_dependencies() 
45  prev_cwd = os.getcwd() 
46  os.chdir(dllarchive_dir) 
---> 47  subprocess.check_call([xz, '-d', dllarchive_file]) 
48  dllarchive_tar = tarfile.open(os.path.splitext(dllarchive_file)[0]) 
49  dllarchive_tar.extractall() 

C:\Users\DANISUAR\AppData\Local\Continuum\Miniconda2\envs\gl-env\lib\subprocess.pyc in check_call(*popenargs, **kwargs) 
539   if cmd is None: 
540    cmd = popenargs[0] 
--> 541   raise CalledProcessError(retcode, cmd) 
542  return 0 
543 

CalledProcessError: Command '['c:\\users\\danisuar\\appdata\\local\\temp\\tmpf1habd\\bin_x86-64\\xz.exe', '-d', 'c:\\users\\danisuar\\appdata\\local\\temp\\tmpcdpyzp.xz']' returned non-zero exit status 1 

私は、Python 2.7およびWindows 7

でアナコンダ環境を使用していますが、私は私が次を取得し import graphlab

答えて

6

最初の手順は、PIPインストーラを使用してthis linkにリストされている手順を使用してすべてのグラフパッケージをインストールすることです。 次のように入力してGraphLabのインストールが成功したことを確認します。この画像で与えられるよう

import graphlab

次のエラーが表示されることがあります。

Image

その後、あなたはPythonのターミナルでgraphlab.get_dependencies()を実行することができます。

import graphlab

+0

テキストのスクリーンショットを含めないでください。テキストをコピーして貼り付けるか、テキストを投稿自体に転記します。 – BSMP

-1

代わりに、スタートメニューからそれを開いて、管理者として実行GraphLabランチャーからJupyterを開けないでください:

は使ってPythonの端末にインストールを再度確認してください。 localhost:8888/treeからファイルを探してください

+0

これは不足している依存関係についてのものであり、アクセス許可の問題に関するものではありません。 –