rgiordan / zaminfluence

Tools in R for computing and using Z-estimator approximate influence functions.
Apache License 2.0
94 stars 10 forks source link

reticulate error #4

Closed m-freitag closed 3 years ago

m-freitag commented 3 years ago

Hi,

I read your paper with great interest and was curious to test the method in the context of a project I am working on.

Installation of the python part on Windows worked pretty smoothly, but I ran into some issues in the R part.

Specifically, after installing the package, InitializePython throws an error (even though autograd is installed):

InitializePython(file.path("C:XXXX/GitHub/zaminfluence/venv/Scripts/python.exe"))
Error in py_run_string_impl(code, local, convert) : 
ModuleNotFoundError: No module named 'autograd'

Best

m-freitag commented 3 years ago

A fresh installation of python, and subsequently reticulate, solved it. Great implementation!