Skip to content

Commit

Permalink
Try directly importing scipy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmundt committed Jan 7, 2025
1 parent c9d4d41 commit d540900
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyomo/contrib/pynumero/sparse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

from pyomo.contrib.pynumero.dependencies import numpy_available, scipy_available

import scipy

print("SciPy has been imported, maybe...")
print("Numpy is available: ", numpy_available)
print("SciPy is available: ", scipy_available)

Expand Down

0 comments on commit d540900

Please sign in to comment.