rPython-win
rPython-win copied to clipboard
Installation issue. R version 3.3.. windows 8.1.
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)
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
I follow your step, but do not find the file lpython36, does it depend on Python's version?
I just find the file python36 in the directory D:\Users\Anaconda3\libs.