Closed tomazweiss closed 2 years ago
Hey, thanks for this! @farach is going to take a look at Windows installation & we'll be formalising documentation, installation steps and things of that ilk as we move towards the first release, so this is very helpful!
I added "keras" to the packages argument in conda_create() within the .onLoad function. I was not able to identify the conda-forge incompatibility problems so have left the forge argument set to TRUE (default value). I updated the README file to reflect that users do not have to install keras prior to installing huggingfaceR. Thanks again for pointing this out!
Thanks for your effort with this package. I wanted to try it out but I run into some installation issues that I wanted to share.
In README.md you are suggesting to run
py_install("keras")
before runningdevtools::install_github("farach/huggingfaceR")
. This will install keras into defaultenvname
which is:The
huggingfaceR
environment doesn't yet exist at this point and you need keras there too. You probably also don't want to mess with ther-reticulate
env since you are creating a new one.I've also failed to install required python packages from the
conda-forge
channel due to some incompatibility issues:Switching to the
main
channel solved this issue.So my workaround has been to manually run
before running
devtools::install_github("farach/huggingfaceR")
.Of course, the
main
channel has to be present in