Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dirk.wintergruen
network_extensions
Commits
44d1de77
Commit
44d1de77
authored
Nov 02, 2021
by
dirk.wintergruen
Browse files
catch error if networkx is not installed
parent
ef9224fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
network_extensions/igraphx/__init__.py
View file @
44d1de77
...
...
@@ -16,7 +16,10 @@ import uuid
from
itertools
import
product
from
collections
import
defaultdict
,
OrderedDict
import
numpy
as
np
import
networkx
try
:
import
networkx
except
:
logging
.
warning
(
"Cannot import networkx, functions using this library will not work!"
)
from
tqdm
import
tqdm
import
pylab
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment