diff options
author | Konstantinos Psychas <kpsychas@gmail.com> | 2016-01-08 22:49:00 -0500 |
---|---|---|
committer | Konstantinos Psychas <kpsychas@gmail.com> | 2016-01-08 22:49:00 -0500 |
commit | f54ed5d5ebaada0a214076977cc6c11484edd099 (patch) | |
tree | 3ba552c12f30a412fb2ac3b6dc6d5a712a3599f6 /numpy/core/setup_common.py | |
parent | fd1d7deb1b8bd23ba59f2486c362125c17875946 (diff) | |
download | numpy-f54ed5d5ebaada0a214076977cc6c11484edd099.tar.gz |
fix for windows
Related Issue http://stackoverflow.com/questions/33886558/numpy-installation-error-mingw32ccompiler-instance-has-no-attribute-compile-o
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r-- | numpy/core/setup_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py index e0cb3f630..57ddf3396 100644 --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py @@ -192,7 +192,7 @@ def check_long_double_representation(cmd): if sys.platform == "win32" and not mingw32(): try: cmd.compiler.compile_options.remove("/GL") - except ValueError: + except (AttributeError, ValueError): pass # We need to use _compile because we need the object filename |