ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since c37da5b was
9e338ca,
checked in by Mathieu Doucet <doucetm@…>, 13 years ago
|
Re #5 adding script to check dependencies
|
-
Property mode set to
100644
|
File size:
521 bytes
|
Line | |
---|
1 | """ |
---|
2 | Check dependencies |
---|
3 | """ |
---|
4 | try: |
---|
5 | import matplotlib |
---|
6 | print "matplotlib ", matplotlib.__version__ |
---|
7 | except: |
---|
8 | print "No matplotlib" |
---|
9 | |
---|
10 | try: |
---|
11 | import wx |
---|
12 | print "wx ", wx.__version__ |
---|
13 | except: |
---|
14 | print "No wx" |
---|
15 | |
---|
16 | try: |
---|
17 | import scipy |
---|
18 | print "scipy ", scipy.__version__ |
---|
19 | except: |
---|
20 | print "No scipy" |
---|
21 | |
---|
22 | try: |
---|
23 | import numpy |
---|
24 | print "numpy ", numpy.__version__ |
---|
25 | except: |
---|
26 | print "No numpy" |
---|
27 | |
---|
28 | try: |
---|
29 | import lxml.etree |
---|
30 | print "lxml ", lxml.etree.__version__ |
---|
31 | except: |
---|
32 | print "No lxml" |
---|
33 | |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.