Open schwa021 opened 9 months ago
OK - I downgraded to 3.9.12, and managed to get that part to work - sorry for the clutter.
However, a few steps later in your instructions I encountered the following while trying to download the sample data:
Error in py_get_attr_impl(x, name, silent) : AttributeError: module 'fasterrisk' has no attribute 'utils' Run
reticulate::py_last_error()
for details.
I ran reticulate::py_last_error() and got the following:
── Python Exception Message ──────────────────────────────────────────────────────────────────────────────────────── AttributeError: module 'fasterrisk' has no attribute 'utils'
── R Traceback ───────────────────────────────────────────────────────────────────────────────────────────────────── ▆
- ├─fasterrisk$utils
- └─reticulate:::
$.python.builtin.module
(fasterrisk, utils)- └─reticulate:::
$.python.builtin.object
(x, name)- └─reticulate:::py_get_attr_or_item(x, name, TRUE)
- └─reticulate::py_get_attr(x, name)
- └─reticulate:::py_get_attr_impl(x, name, silent)
So, it seems (knowing nothing about Python) that "fasterrisk" is missing an attribute named "utils"
Hi there,
I'm trying to get this running in R. I don't know anything about Python. I was trying to follow your R instructions.
I installed Python (had to do this from Python web site - reticulate didn't work, installed latest version 3.12.0)
Executed the following - and both worked (with version = "3.12.0")
Then tried to install FasterRisk per instructions
py_install("fasterrisk", pip=TRUE, envname="FasterRisk-environment")
...and encountered the error reported below. Like I said - I have don't know anything about Python, so perhaps this is something simple/obvious.