-
Notifications
You must be signed in to change notification settings - Fork 64
/
check_env.py
35 lines (28 loc) · 895 Bytes
/
check_env.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""check_env.py for Blaze - Bokeh tutorial at SciPy 2015"""
try:
import blaze
print blaze.__version__
assert(blaze.__version__ == '0.8.0')
except ImportError:
print("You need Blaze installed, please run: conda install blaze=0.8")
try:
import bokeh
print bokeh.__version__
assert(bokeh.__version__ == '0.9.0')
except ImportError:
print("You need Bokeh installed, please run: conda install bokeh=0.9")
try:
import IPython
print IPython.__version__
assert(IPython.__version__ == '3.2.0')
except ImportError:
print("You need IPython installed, please run: conda install ipython=3.2")
try:
import boto
except ImportError:
print("You need boto installed, please run: conda install boto")
try:
import netCDF4
except ImportError:
print("You need netCDF4 installed, please run: conda install netcdf4")
print("You are good to go :)")