Networkx issue

58 views
Skip to first unread message

Mikela Murphy

unread,
Jul 15, 2021, 2:50:07 PM7/15/21
to HotNet
Hello,

I'm new to Hierarchical HotNet and have a question: I'm trying to run the example command (sh examples/example_commands.sh) after installing all of the required and optional software, and I'm getting the following error: 

Construct similarity matrices...

Traceback (most recent call last):

  File "/Users/mikelamurphy/Downloads/MacNamara_revisited_7.6.21/hierarchical-hotnet/src/construct_similarity_matrix.py", line 77, in <module>

    run(get_parser().parse_args(sys.argv[1:]))

  File "/Users/mikelamurphy/Downloads/MacNamara_revisited_7.6.21/hierarchical-hotnet/src/construct_similarity_matrix.py", line 42, in run

    edge_list = load_edge_list(args.edge_list_file)

  File "/Users/mikelamurphy/Downloads/MacNamara_revisited_7.6.21/hierarchical-hotnet/src/hhio.py", line 48, in load_edge_list

    with open(filename, 'r') as f:

IOError: [Errno 2] No such file or directory: '/Users/mikelamurphy/Downloads/MacNamara_revisited_7.6.21/hierarchical-hotnet/data/network_1_edge_list.tsv'

Permuting networks...

cp: /Users/mikelamurphy/Downloads/MacNamara_revisited_7.6.21/hierarchical-hotnet/data/network_1_index_gene.tsv: No such file or directory

cp: /Users/mikelamurphy/Downloads/MacNamara_revisited_7.6.21/hierarchical-hotnet/data/network_1_edge_list.tsv: No such file or directory

Traceback (most recent call last):

  File "/Users/mikelamurphy/Downloads/MacNamara_revisited_7.6.21/hierarchical-hotnet/src/permute_network.py", line 4, in <module>

    import math, random, networkx as nx

ImportError: No module named networkx


I apologize if this has already been answered or is a simple issue on my part, I'm pretty new to Python.

Thanks,

Mikela

Reply all
Reply to author
Forward
0 new messages