mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
14 lines
662 B
Diff
14 lines
662 B
Diff
![]() |
diff --git a/third_party/py/python_configure.bzl b/third_party/py/python_configure.bzl
|
||
|
--- third_party/py/python_configure.bzl
|
||
|
+++ third_party/py/python_configure.bzl
|
||
|
@@ -256,7 +256,7 @@ def _get_python_include(repository_ctx, python_bin):
|
||
|
python_bin,
|
||
|
"-c",
|
||
|
"import os;" +
|
||
|
- "main_header = os.path.join('{}', 'Python.h');".format(include_path) +
|
||
|
+ "main_header = os.path.join(r'{}', 'Python.h');".format(include_path) +
|
||
|
"assert os.path.exists(main_header), main_header + ' does not exist.'",
|
||
|
],
|
||
|
error_msg = "Unable to find Python headers for {}".format(python_bin),
|
||
|
--
|