Multiple R packages depending on multiple python environments #516
-
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.
Replies: 4 comments 3 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.
Really depends what you want to achieve, rixpress could be a solution or
rix::with_nix()