Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG ModuleNotFound error for rSLOPE (rpy2) #15

Open
jolars opened this issue Dec 8, 2023 · 0 comments
Open

BUG ModuleNotFound error for rSLOPE (rpy2) #15

jolars opened this issue Dec 8, 2023 · 0 comments

Comments

@jolars
Copy link
Collaborator

jolars commented Dec 8, 2023

When I am trying to install the rSLOPE solver, I run into this issue:

Traceback (most recent call last):
  File "/home/gerd-jln/projects/benchmark_slope/solvers/rslope.py", line 6, in <module>
    from benchopt.helpers.r_lang import import_rpackages
  File "/home/gerd-jln/.conda/envs/benchopt/lib/python3.10/site-packages/benchopt/helpers/r_lang.py", line 9, in <module>
    import rpy2  # noqa: E402
ModuleNotFoundError: No module named 'rpy2'

I think the code in https://github.com/benchopt/benchmark_slope/blob/main/solvers/rslope.py seems to correspond to the instructions here: https://benchopt.github.io/benchmark_workflow/write_benchmark.html

It still tries to install the requirements for the rSLOPE package, however, and then fails for some dependency issue, which I think is unrelated.

I am not sure if this is related to benchopt/benchopt#597?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant