Replies: 6 comments 12 replies
-
How does that work usually, so without nix? Does each package call its own python interpreter to run its functions? Which Python versions and packages are required for each package? |
Beta Was this translation helpful? Give feedback.
-
My first try would simply to use a single python interpreter and python packages and see if these two R packages simply use what is available |
Beta Was this translation helpful? Give feedback.
-
Can you share the default.nix you tried? |
Beta Was this translation helpful? Give feedback.
-
Don't worrry for now. I solved my problem using it only OscarKjell/text package. But next time I will give rix::with_nix() a try :) |
Beta Was this translation helpful? Give feedback.
-
The error I get:
This is my script: https://github.com/jrosell/rix-run/blob/python-huggingface/examples/python-huggingface.R |
Beta Was this translation helpful? Give feedback.
-
What do you use now? the isseu with hugginfaceR is that it’s a GitHub only package. I tend to avoid spending too much time to make these work, because as it stands, I’m not even sure it could land on CRAN. The way it checks for an available Python env is not best practice. Plus, it seems to be unmaintained now. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to do some experiment using two R packages depending on different python environments. They are farach/huggingfaceR and OscarKjell/text. It seems booth require different python packages versions. I started ok with OscarKjell/text and begin to have problems with farach/huggingfaceR. I want both in the same project. How do you think is the best practice to solve this with the "rixverse"?
I think it's a common problem and could be better found in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions