-
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
problem installing on mac #1090
Comments
Hi roybka, I had the same problem and I solved today by installing the version 3.5.12, instead of the latest one. Hope this can help, |
@chiara111p111 Solved! thanks a lot. |
Can you share the output of running pip install -v -U rpy2 ? In particular, I am interested in the section that reports the R setup and the C libraries. It should start with
|
Voila Collecting rpy2 During handling of the above exception, another exception occurred: Traceback (most recent call last): × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
The CI pipeline is now building "universal" binary on silicon, although with warnings. The library pcre2-8, that is missing on your system, is present there (but built for a different architecture). |
Describe the issue or bug
Running 'pip install rpy2' gives error on new (m1) mac (OS monterey 12.2).
To Reproduce
run pip install rpy2 on new mac.
Expected behavior
successful installation.
Error
Collecting rpy2
Using cached rpy2-3.5.15.tar.gz (219 kB)
Installing build dependencies ... -
done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [34 lines of output]
ld: library not found for -lpcre2-8
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Traceback (most recent call last):
File "/private/var/folders/2n/ylg3knfx2px41qbz6z60yt_h0000gn/T/pip-build-env-hfpdb8k7/overlay/lib/python3.9/site-packages/setuptools/_distutils/unixccompiler.py", line 266, in link
self.spawn(linker + ld_args)
File "/private/var/folders/2n/ylg3knfx2px41qbz6z60yt_h0000gn/T/pip-build-env-hfpdb8k7/overlay/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 1041, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
File "/private/var/folders/2n/ylg3knfx2px41qbz6z60yt_h0000gn/T/pip-build-env-hfpdb8k7/overlay/lib/python3.9/site-packages/setuptools/_distutils/spawn.py", line 70, in spawn
raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/clang' failed with exit code 1
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build 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.
Additional context
I can type 'R' in the same console where I pip install from, and get an R cmd line.
The text was updated successfully, but these errors were encountered: