- Timestamp:
- May 1, 2018 8:51:46 AM (7 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
- Children:
- f387050
- Parents:
- d2647feb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasview/sasview.py
rd2647feb rc9bf97b 204 204 import subprocess 205 205 logger = logging.getLogger(__name__) 206 #if sys.platform == "darwin" and not\207 206 try: 208 207 # need shell=True on windows to keep console box from popping up 209 208 shell = (os.name == 'nt') 210 subprocess.check_output("cc", shell=shell, stderr=subprocess.STDOUT) 209 subprocess.check_output("ccs", shell=shell, stderr=subprocess.STDOUT) 210 except OSError: 211 print("No compiler installed. Please follow installation instructions\n") 211 212 except subprocess.CalledProcessError: 212 raise RuntimeError("No compiler installed. Please follow installation instructions\n")213 213 logger.error("No compiler installed. Please follow installation instructions\n") 214 214 logger.error(traceback.format_exc())
Note: See TracChangeset
for help on using the changeset viewer.