Changeset 540
- Timestamp:
- Apr 13, 2012 2:41:15 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASII.py
r539 r540 29 29 import OpenGL as ogl 30 30 except ImportError: 31 from setuptools.command import easy_install 32 print("OpenGL wwas not found. Will attempt to load the package.") 31 print('*******************************************************') 32 print('PyOpenGL is missing from your python installation') 33 print(' - we will try to install it') 34 print('*******************************************************') 33 35 def install_with_easyinstall(package): 34 36 easy_install.main(["-U", package]) 37 from setuptools.command import easy_install 35 38 install_with_easyinstall('PyOpenGl') 36 print("OpenGL has been installed. Please restart GSAS-II again") 39 print('*******************************************************') 40 print('OpenGL has been installed. Please restart GSAS-II again') 41 print('*******************************************************') 37 42 sys.exit() 38 43
Note: See TracChangeset
for help on using the changeset viewer.