Reticulate: py_available always returns TRUE

Viewed 13

py_available always returns TRUE no matters what I pass it. "operations" is a local module and shouldn't be available. "operationssfsdfds" is made up. The number 22 is also definitely not a module, and therefore should return FALSE. But here's what I get back from it:

> py_available("pandas")
[1] TRUE
> py_available("operations")
[1] TRUE
> py_available("operationssfsdfds")
[1] TRUE
> py_available("operationssfsdfdsasdfadfsfsdfsadfs")
[1] TRUE
> py_available("oasfsafsadfdsaf")                   
[1] TRUE
> py_available(22)               
[1] TRUE
> py_available(asdasdsad)
[1] TRUE

Any idea why this would be happening?

0 Answers
Related