Trying to install rpy2 on a new Linux installation. Have installed R, ipython, python-devel etc on the system. When executing sudo pip install rpy2 I get an error - "missing python.h". This file is available on my system but not found.
What can I do?
Related
I'm trying to install spacyr on a Windows 10 machine with R 3.6.1. and Visual Studio Community 2019.
When trying to spacy_install() I get this error:
"Error: Conda installation failed (no conda binary found)
Install Anaconda 3.x for Windows (https://www.anaconda.com/download/#windows)
before installing spaCy"
I had already installed Miniconda3 4.7.12 and after failing I installed Anaconda3 2019.10 (Python 3.7.4 64-bit).
Looking at the code in https://github.com/quanteda/spacyr/blob/master/R/spacy_install.R I tried reticulate::py_versions_windows() and I get:
type hive install_path executable_path version arch
1 PythonCore HCU C:\Users\user\ANACON~1 C:\Users\camil\ANACON~1\python.exe 3.7 x64
2 Anaconda HCU C:\Users\user\ANACON~1 C:\Users\camil\ANACON~1\python.exe 3.7 x64
But when I try reticulate::conda_binary("auto") I get:
Error: Unable to find conda binary. Is Anaconda installed?
I also tried installing spacy in Python through pip and conda (not both at the same time) and that doesn't work either.
I am trying to configure and build lzma version 5.0.3 or higher on CentOS 6. I try install R version 3.5.2.
./configure --enable-R-shlib
But this error
Checking if lzma version >= 5.0.3... no
I installed lzma version 4.999.
There is no 5.x.x version package available for CentOS 6
They are having beta version at 4.9.9
Click to check
I suggest you to upgrade your CentOS 6 to CentOS 7
And then you will get support in OS to install latest distribution of this and other packages
sudo yum install xz
And also you can go to this link and download it manually and install it us
sudo rpm -i {package}
R 3.5.2 is available in EPEL repository.
Just install it from packages:
yum install epel-release
yum install R
When I was trying install R on centos 7 using the below command, older version is getting installed instead of latest version(3.6.0).
Command :
yum install R -y
Required suggestions on how to install latest version(3.6.0) of R on Centos 7.
yum --enablerepo=epel-testing install R
source:
https://centos.pkgs.org/7/epel-testing-x86_64/R-3.6.0-1.el7.x86_64.rpm.html
I am running R 3.5.2 on Ubuntu 18.4 lts and trying to install car package. I am getting bellow error.
Please just run
sudo apt-get install r-cran-car
as the package has been part of Debian and Ubuntu for a decade and a half (maintained by yours truly). We provide binaries because installation from source is not for everybody.
When updating to R 3.2.0 I had to reinstall seewave.
I managed to install the required packages fftw, tuneR, rgl, and rpanel.
But, when trying to compile seewave I got the message:
stft.c:3:11: fatal error: 'sndfile.h' file not found
On linux it is sufficient to install libsndfile library, for example with
sudo apt-get install libsndfile1-dev
On OS X just do:
brew install libsndfile
Pisca46 - Installing via 'brew install libsndfile' helped.
On CentOS, the package has a different name :
sudo yum install libsndfile-devel
I also had to install the fftw-devel yum package