rPython-win icon indicating copy to clipboard operation
rPython-win copied to clipboard

Installation issue. R version 3.3.. windows 8.1.

Open salahuddin1234 opened this issue 8 years ago • 3 comments

install("C:/Users/Noman Khalid/Documents/rPython") Installing rPython "C:/PROGRA~1/R/R-33~1.1/bin/x64/R" --no-site-file --no-environ
--no-save --no-restore --quiet CMD INSTALL "C:/Users/Noman
Khalid/Documents/rPython" --library="C:/Users/Noman
Khalid/Documents/R/win-library/3.3" --install-tests

  • installing source package 'rPython' ... ** libs Warning: this package has a non-empty 'configure.win' file, so building only the main architecture

c:/Rtools/mingw_64/bin/gcc -I"C:/PROGRA~1/R/R-33~1.1/include" -DNDEBUG -I"d:/Compiler/gcc-4.9.3/local330/include" -I"C:Anaconda" -O2 -Wall -std=gnu99 -mtune=core2 -c pycall.c -o pycall.o pycall.c:1:20: fatal error: Python.h: No such file or directory #include <Python.h> ^ compilation terminated. make: *** [pycall.o] Error 1 Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-33~1.1/etc/x64/Makeconf" -f "C:/PROGRA~1/R/R-33~1.1/share/make/winshlib.mk" SHLIB="rPython.dll" WIN=64 TCLBIN=64 OBJECTS="pycall.o"' had status 2 ERROR: compilation failed for package 'rPython'

  • removing 'C:/Users/Noman Khalid/Documents/R/win-library/3.3/rPython'
  • restoring previous 'C:/Users/Noman Khalid/Documents/R/win-library/3.3/rPython' Error: Command failed (1)

salahuddin1234 avatar Jul 31 '16 12:07 salahuddin1234

I used to install in Win7 and its works, now I a using Win10 but it doesn't work. Maintenance require I though... Below is my path for Win10.

#!/bin/sh
echo 'PKG_LIBS=-LC:/Users/scibr/Anaconda3/libs -lpython35'  > src/makevars.win
echo 'PKG_CFLAGS=-I"C:/Users/scibr/Anaconda3/include"'     >> src/makevars.win

image

englianhu avatar Sep 25 '16 15:09 englianhu

I follow your step, but do not find the file lpython36, does it depend on Python's version?

forsenshi avatar Mar 01 '18 18:03 forsenshi

I just find the file python36 in the directory D:\Users\Anaconda3\libs.

forsenshi avatar Mar 01 '18 19:03 forsenshi