Skip to content

Installation Issue: cMonkey2 Fails Due to rpy2 Compatibility Issues #82

@SANDRA-ui-rgp

Description

@SANDRA-ui-rgp

I encountered an issue while installing cMonkey2 using:

pip install cmonkey2

The installation fails due to an error related to rpy2.

Steps Taken:
Initially, when I ran the command "pip install cmonkey2"I faced the following error,

_Building wheels for collected packages: rpy2
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for rpy2 (setup.py) ... error
ERROR: Failed building wheel for rpy2
Running setup.py clean for rpy2
Failed to build rpy2
ERROR: Failed to build installable wheels for some pyproject.toml based projects (rpy2)"_

So I tried importing the rpy2 package via pip but was unsuccessful. Another trial using conda installation for rpy2 and successfully installed rpy2 v3.5.17. I tried running the cmonkey installation command once again in conda environment.However, it showed a missing file within the R package.After recognizing the error and solutions from web sources, I installed older versions of R(v4.2.3) and R tools(v.42). After a rerun of cMonkey tool installation and corrections of some system files, my error was back to square one and i am still facing the same error attached above

Questions & Request for Guidance:
Are there specific versions of Python, R, or rpy2 that should be used for successful installation?
Are there any known workarounds or dependency fixes for this issue?

Despite making corrections for multiple errors, I am still stuck at this issue. Any guidance would be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions