Skip to content

Commit 1bdda97

Browse files
committed
require numpy<2 for TensorFlow on Windows
1 parent f9ccccc commit 1bdda97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/install.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ use_backend <- function(backend, gpu = NA) {
256256

257257
Windows_tensorflow = {
258258
if(isTRUE(gpu)) warning("GPU usage not supported on Windows. Please use WSL.")
259-
py_require("tensorflow")
259+
py_require(c("tensorflow", "numpy<2"))
260260
},
261261

262262
Windows_jax = {

0 commit comments

Comments
 (0)