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
Installation complains about incompatibility when using Python 2.7.11 #7
Hi,
I have trouble installing rPython. I'm using python 2.7.11 and R 3.2.3 on Windows 7 enterprise (64-bit). I used Rtools33 to do the isntall.
Here's the log I got:
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:/Python27/libs -lpython27 -Ld:/RCompile/r-compiling/local/local323/lib/x64 -Ld:/RCompile/r-compiling/local/local323/lib -LC:/PROGRAMS/R/R-32~1.3-A/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:/Python27/libs/libpython27.a when searching for -lpython27
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:/Python27/libs/python27.lib when searching for -lpython27
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:/Python27/libs\libpython27.a when searching for -lpython27
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:/Python27/libs/libpython27.a when searching for -lpython27
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:/Python27/libs/python27.lib when searching for -lpython27
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:/Python27/libs\python27.lib when searching for -lpython27
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lpython27
collect2: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'rPython'
Activity
cjgb commentedon Mar 23, 2016
Did you follow all the installation steps as indicated in the package page in Github? In the logs I see that you cannot find a library and you should:
Unfortunately, it is very difficult to know where R should go and look for Python dependencies in Windows, so users need to do it themselves.
Vendrof commentedon Jun 22, 2016
Hello,
Sadly I have the same problem with python35. I found the lib and adapted the paths in the configure.win file :
I get this error
Thank you for doind this work,
Cheers
dexter410 commentedon Aug 30, 2020
Hi,
this configure.win file made it for me
Sincerely, Dejan