-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#236: - made imports testing more verbose
- Loading branch information
1 parent
f7ed01e
commit 62a4814
Showing
1 changed file
with
54 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,54 @@ | ||
import vtk | ||
import numpy | ||
import yaml | ||
import brotli | ||
import schema | ||
import sklearn | ||
import colorama | ||
|
||
import mpi4py | ||
from pyzoltan.core import zoltan | ||
try: | ||
import vtk | ||
except ImportError as e: | ||
print(f'VTK was not imported: {e}') | ||
print('==> Package VTK imported successfully!') | ||
|
||
try: | ||
import numpy | ||
except ImportError as e: | ||
print(f'numpy was not imported: {e}') | ||
print('==> Package numpy imported successfully!') | ||
|
||
try: | ||
import yaml | ||
except ImportError as e: | ||
print(f'yaml was not imported: {e}') | ||
print('==> Package yaml imported successfully!') | ||
|
||
try: | ||
import brotli | ||
except ImportError as e: | ||
print(f'brotli was not imported: {e}') | ||
print('==> Package brotli imported successfully!') | ||
|
||
try: | ||
import schema | ||
except ImportError as e: | ||
print(f'schema was not imported: {e}') | ||
print('==> Package schema imported successfully!') | ||
|
||
try: | ||
import sklearn | ||
except ImportError as e: | ||
print(f'sklearn was not imported: {e}') | ||
print('==> Package sklearn imported successfully!') | ||
|
||
try: | ||
import colorama | ||
except ImportError as e: | ||
print(f'colorama was not imported: {e}') | ||
print('==> Package colorama imported successfully!') | ||
|
||
try: | ||
import mpi4py | ||
except ImportError as e: | ||
print(f'mpi4py was not imported: {e}') | ||
print('==> Package mpi4py imported successfully!') | ||
|
||
try: | ||
from pyzoltan.core import zoltan | ||
except ImportError as e: | ||
print(f'pyzoltan was not imported: {e}') | ||
print('==> Package pyzoltan imported successfully!') | ||
|