2016-08-16 2 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 

내가 파이썬 2.7 및 Windows 7

와 아나콘다 환경을 사용하고을 나는 나는 다음을 얻을 import graphlab 않습니다

답변

6

첫 번째 단계는 PIP 설치 프로그램을 사용하여 this link에 나열된 절차를 사용하여 모든 그래프 패키지를 설치하는 것입니다. 입력하여 GraphLab를 성공적으로 설치 확인이 이미지에 주어진

import graphlab

다음과 같은 오류가 나타날 수 있습니다

Image

그런 다음, 파이썬의 터미널에 graphlab.get_dependencies()를 실행할 수 있습니다.

사용하여 파이썬의 터미널에 설치를 다시 확인

import graphlab

+0

텍스트의 스크린 샷을 포함하지 마십시오. 게시물 자체에 텍스트를 복사/붙여 넣기하거나 대본을 쓰십시오. – BSMP

-1

대신 GraphLab 실행기에서 Jupyter를 열려면 시작 메뉴에서를 열고 관리자 권한으로 실행하지 마십시오. 다음 로컬 호스트에서 파일을 찾으십시오 : 8888/tree

+0

이것은 누락 된 종속성에 관한 내용이며 사용 권한 문제에 관한 내용은 아닙니다. –

관련 문제