diff --git a/setup.py b/setup.py
index 5e9f119093c28bd624da3043dd9b23f3d6c541f2..fe30a4c1fea91777049b1b9d9b48ed40aecfb27f 100644
--- a/setup.py
+++ b/setup.py
@@ -23,6 +23,7 @@ setup(name='topfarm',
         'matplotlib',  # for plotting
         'numpy',  # for numerical calculations
         'openmdao==2.3.1',  # for optimization
+        'networkx==2.1', # for avoiding a warning/bug
         'pytest',  # for testing
         'pytest-cov',  # for calculating coverage
         'scipy',  # constraints