Skip to content

Installation issue. R version 3.3.. windows 8.1.  #10

Open

Description

@salahuddin1234

install("C:/Users/Noman Khalid/Documents/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:/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:/PROGRA1/R/R-331.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:/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'

  • 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)

Activity

  1. englianhu commented on Sep 25, 2016

    @englianhu

    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

  2. forsenshi commented on Mar 1, 2018

    @forsenshi

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

  3. forsenshi commented on Mar 1, 2018

    @forsenshi

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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