-
Notifications
You must be signed in to change notification settings - Fork 68
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
can't install rpy2 3.5.16 on Ubuntu 22.04.3 LTS #1106
Comments
I had to go down to version 3.5.2 to be able to install it |
What is your version of |
Hi, it's 69.5.1.
|
I can't reproduce with Ubuntu 22.04, Python 3.10, and the same setuptools. It installs fine. What is your Python version? |
My version is 3.10.12:
|
The error traceback says that the path is |
Hi, I have the same issue on Ubuntu 20.04.6 LTS |
The last mentions
while the traceback has
There is a contradiction. I believe that both error reports result from invalid assumptions by the operators about what Python+libraries are used, or the system ID running the installation process. |
Had this as well. Using Edit: I solved this with |
The same problem |
This works well |
Same issues on Ubuntu 24.04. To reproduce, build container with following FROM ubuntu:24.04
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
r-base \
r-base-dev \
python3 \
python3-pip \
python3-venv
USER ubuntu
WORKDIR /home/ubuntu Build and enter the container with python3 -m venv .venv
source .venv/bin/activate
pip install -U pip setuptools
pip install rpy2 Raise the following error. Details$ pip install rpy2 Collecting rpy2 Downloading rpy2-3.5.16.tar.gz (220 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 220.0/220.0 kB 8.1 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
$ pip3 show setuptools
Name: setuptools
Version: 69.5.1
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email: distutils-sig@python.org
License:
Location: /home/ubuntu/.venv/lib/python3.12/site-packages
Requires:
Required-by: |
I solved my issue with |
@D3SL - This seems odd. rpy2 already requires setuptools>=61: Line 3 in ae74c26
|
@amano-takahisa - The library is a dependency for R builds (see https://archlinux.org/packages/extra/x86_64/r/) but I was not aware that the headers were also necessary (when build C extensions for rpy2). Did you identify where those headers are required? |
@lgautier I'm not sure where that the header is required.
|
Describe the issue or bug
I can't install rpy2 3.5.16 on Ubuntu 22.04.3 LTS
To Reproduce
Open cmd as administrator
pip3 install rpy2 or pip install rpy2
Expected behavior
install rpy2
Error
The text was updated successfully, but these errors were encountered: