You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Install issue with windows 10 !! (Anaconda working) #15
I tried to install with python 2.7 and python 3.6 ..but not hope. The uninstall everything.
But while install with anaconda its works instantly !!
Dont know the reason ..but worked . :)
@jcrichard I tried exactly what you had and it came back with an error as follows:
C:/RBuildTools/3.4/mingw_64/bin/gcc -shared -s -static-libgcc -o rPython.dll tmp.def pycall.o -LC:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs -lpython36 -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LC:/PROGRA1/R/R-341.1/bin/x64 -lR
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs/python36.lib when searching for -lpython36
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs/python36.lib when searching for -lpython36
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs\python36.lib when searching for -lpython36
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpython36
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'rPython'
I just uninstalled my version of R and reinstalled R 3.1.3. I downloaded Anaconda3 for Python 3.6 and repeated the whole process of trying to install rPython on my Windows 7 (32-bit) system.
I got the following error when running install("C:/Users/pholzer/Downloads/rPython") which rPython is the folder inside which the configure.win file reads
echo 'PKG_LIBS=-LC:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs -lpython36' > src/makevars.win
echo 'PKG_CFLAGS=-I"C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/include"' >> src/makevars.win
installing source package 'rPython' ...
** libs
Warning: this package has a non-empty 'configure.win' file,
so building only the main architecture
gcc -m64 -shared -s -static-libgcc -o rPython.dll tmp.def pycall.o -LC:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs -lpython36 -Ld:/RCompile/CRANpkg/extralibs64/local/lib/x64 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA1/R/R-311.3/bin/x64 -lR
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs/python36.lib when searching for -lpython36
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs/python36.lib when searching for -lpython36
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs\python36.lib when searching for -lpython36
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lpython36
collect2: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'rPython'
Activity
jcrichard commentedon Jul 19, 2017
mine is
echo 'PKG_LIBS=-LC:/ProgramData/Anaconda3/libs -lpython36' > src/makevars.win
echo 'PKG_CFLAGS=-I"C:/ProgramData/Anaconda3/include"' >> src/makevars.win
and it is working. No "" in tthe first line
holzerp commentedon Aug 7, 2017
@jcrichard I tried exactly what you had and it came back with an error as follows:
C:/RBuildTools/3.4/mingw_64/bin/gcc -shared -s -static-libgcc -o rPython.dll tmp.def pycall.o -LC:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs -lpython36 -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LC:/PROGRA
1/R/R-341.1/bin/x64 -lRC:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs/python36.lib when searching for -lpython36
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs/python36.lib when searching for -lpython36
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs\python36.lib when searching for -lpython36
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpython36
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'rPython'
Error: Command failed (1)
The only difference is that I have a Windows 7 (32-bit) system. Should that make a difference?
jcrichard commentedon Aug 7, 2017
I do not know but I was using R 3.1.3 and packages are located in C:\Program Files\R\R-3.1.3\library
holzerp commentedon Aug 8, 2017
I just uninstalled my version of R and reinstalled R 3.1.3. I downloaded Anaconda3 for Python 3.6 and repeated the whole process of trying to install rPython on my Windows 7 (32-bit) system.
I got the following error when running install("C:/Users/pholzer/Downloads/rPython") which rPython is the folder inside which the configure.win file reads
echo 'PKG_LIBS=-LC:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs -lpython36' > src/makevars.win
echo 'PKG_CFLAGS=-I"C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/include"' >> src/makevars.win
Installing rPython
"C:/PROGRA
1/R/R-311.3/bin/x64/R" --no-site-file --no-environ --no-save--no-restore --quiet CMD INSTALL "C:/Users/pholzer/Downloads/rPython"
--library="C:/Users/pholzer/Documents/R/win-library/3.1" --install-tests
** libs
Warning: this package has a non-empty 'configure.win' file,
so building only the main architecture
gcc -m64 -shared -s -static-libgcc -o rPython.dll tmp.def pycall.o -LC:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs -lpython36 -Ld:/RCompile/CRANpkg/extralibs64/local/lib/x64 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA
1/R/R-311.3/bin/x64 -lRc:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs/python36.lib when searching for -lpython36
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs/python36.lib when searching for -lpython36
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/pholzer/AppData/Local/Continuum/Anaconda3/libs\python36.lib when searching for -lpython36
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lpython36
collect2: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'rPython'
Error: Command failed (1)
Any ideas?
jcrichard commentedon Aug 9, 2017
do you have python36.lib and python3.lib in the repository /Anaconda3/libs
RaoTianlong commentedon Dec 21, 2017
the same ERROR !! have you finally find the right way?
jcrichard commentedon Dec 21, 2017