2011-12-16 2 views
0

이것은 처음 프로그래밍하는 것입니다. 나는 네트웍 분석이 필요한 프로젝트를 가지고있다.networkx 설치에서 잘못된 점

Traceback (most recent call last): 
    File "C:\Users\dell\Desktop\Research Project\python\blockmodel.py", line 52, in <module> 
    G=nx.read_edgelist("hartford_drug.edgelist") 
    File "<string>", line 2, in read_edgelist 
    File "C:\Python27\lib\site-packages\networkx\utils\decorators.py", line 173, in _open_file 
    fh = _dispatch_dict[ext](path, mode=mode) 
IOError: [Errno 2] No such file or directory: 'hartford_drug.edgelist' 

어떤 문제가 : 나는이 오류 메시지를 받았습니다, 1.6 networkx 다운로드하여 blockmodel를 시도? 특히 나는 zip 파일과 계란 파일을 모두 실행합니다 긴급한 도움에 감사드립니다 :)

답변

0

여기에서 얻을 수있는 데이터 파일 hartford_drug.edgelist가 필요합니다. http : //networkx.lanl.gov/hg/networkx /raw-file/bec267f40c83/examples/algorithms/hartford_drug.edgelist