Skip to content

Commit fa2d3ac

Browse files
committed
fix compile w/o cuda
1 parent 8196668 commit fa2d3ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def get_compiler():
8080
extra_compile_args={'nvcc': ['-O2']},
8181
),
8282
)
83-
except ImportError:
83+
except (ImportError, OSError):
8484
warnings.warn("Cuda extensions for torch not found, skipping cuda healpix padding module")
8585

8686

0 commit comments

Comments
 (0)