Skip to content

Error installing rPython on a windows server.  #14

@catinnthehat

Description

@catinnthehat

Hi,

I (think) I followed all the steps required to install rPython on a Windows server.. but I'm getting the following error. Please help. Thank you.

install("C:/rPython")
Installing rPython
"C:/PROGRA1/R/R-331.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL "C:/rPython"
--library="C:/Users/ch/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:/PROGRA1/R/R-331.1/include" -DNDEBUG -I"d:/Compiler/gcc-4.9.3/local330/include" -I"C:/WinPython/include" -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:/PROGRA1/R/R-331.1/etc/x64/Makeconf" -f "C:/PROGRA1/R/R-331.1/share/make/winshlib.mk" SHLIB="rPython.dll" WIN=64 TCLBIN=64 OBJECTS="pycall.o"' had status 2
ERROR: compilation failed for package 'rPython'

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