source: sasview/deps.py @ f489b9d

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 f489b9d 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"""
4try:
5    import matplotlib
6    print "matplotlib ", matplotlib.__version__
7except:
8    print "No matplotlib"
9   
10try:
11    import wx
12    print "wx ", wx.__version__
13except:
14    print "No wx"
15   
16try:
17    import scipy
18    print "scipy ", scipy.__version__
19except:
20    print "No scipy"
21   
22try:
23    import numpy
24    print "numpy ", numpy.__version__
25except:
26    print "No numpy"
27   
28try:
29    import lxml.etree
30    print "lxml ", lxml.etree.__version__
31except:
32    print "No lxml"
33   
34   
Note: See TracBrowser for help on using the repository browser.