Skip to content

how to install rPython on win10 64bit with python3.7 #22

@Riiiiichard

Description

@Riiiiichard

I want to install "rPython" on my win10 64-bit computer with python 3.7. I modified the file "configure.win" as follows

#!/bin/sh

echo 'PKG_LIBS=-LC:/Softwares/Python3.7/libs -python37'  > src/makevars.win
echo 'PKG_CFLAGS=-I"C:/Softwares/Python3.7/include"'     >> src/makevars.win

but it doesn't work and report the following errors

install("C:/Users/Chen Lei/Desktop/rPython")
√  checking for file 'C:\Users\Chen Lei\Desktop\rPython/DESCRIPTION' ... 
   preparing 'rPython':
√  checking DESCRIPTION meta-information ... 
   cleaning src
   checking for LF line-endings in source and make files and shell scripts
   checking for empty or unneeded directories
   building 'rPython_0.0-6.tar.gz'
   Warning: file 'rPython/cleanup' did not have execute permissions: corrected
   Warning: file 'rPython/configure' did not have execute permissions: corrected
Running "C:/SOFTWA~1/R/R-35~1.2/bin/x64/Rcmd.exe" INSTALL \
"C:\Users\CHENLE~1\AppData\Local\Temp\Rtmp2bULQp/rPython_0.0-6.tar.gz" --install-tests 
installing to library 'C:/Softwares/R/R-3.5.2/library'
installing *source* package 'rPython' ...
'sh' not foundem("sh ./configure.win") :
ERROR: configuration failed for package 'rPython'
removing 'C:/Softwares/R/R-3.5.2/library/rPython'
In R CMD INSTALL

Can anybody know what to do? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions