[R-pkg-devel] How to solve this error while running python script in R environment?

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Fri Feb 7 17:41:57 CET 2025


В Fri, 7 Feb 2025 06:51:27 +0000
KABILAN S <kabilan151414 using gmail.com> пишет:

> > result <- TRANSFORMER(df = S_P_500_Close_data, study_variable =
> > "Price")  
> Error: Valid installation of TensorFlow not found.
> 
> Python environments searched for 'tensorflow' package:
>  C:\Users\CRAN\Documents\.virtualenvs\r-reticulate\Scripts\python.exe

I'm afraid you'll have to wrap your examples in checks for
py_module_available(...):
https://stat.ethz.ch/pipermail/r-package-devel/2024q3/011076.html

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list