rPython-win
rPython-win copied to clipboard
ERROR: compilation failed for package 'rPython'
hey, bro! How can I solve below error?
install('C:\Users\yangskyfucker\Documents\R\win-library\4.1\rPython') √ checking for file 'C:\Users\yangskyfucker\Documents\R\win-library\4.1\rPython/DESCRIPTION' (641ms)
- preparing 'rPython': √ checking DESCRIPTION meta-information ...
- cleaning src
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- building 'rPython_0.0-6.tar.gz' Warning: file 'rPython/cleanup' did not have execute permissions: corrected Warning: file 'rPython/configure' did not have execute permissions: corrected
Running "C:/PROGRA~1/R/R-41~1.1/bin/x64/Rcmd.exe" INSTALL "C:\Users\YANGSK~1\AppData\Local\Temp\RtmpS62a0z/rPython_0.0-6.tar.gz"
--install-tests
- installing to library 'C:/Users/yangskyfucker/Documents/R/win-library/4.1'
- installing source package 'rPython' ... ** using staged installation ** libs Warning: this package has a non-empty 'configure.win' file, so building only the main architecture
"E:/rtools40/mingw64/bin/"gcc -I"C:/PROGRA~1/R/R-41~1.1/include" -DNDEBUG -I"C:\Users\yangskyfucker\anaconda3\include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c pycall.c -o pycall.o E:/rtools40/mingw64/bin/gcc -shared -s -static-libgcc -o rPython.dll tmp.def pycall.o -LC:Usersyangskyfuckeranaconda3libs -lpython3.lib -LC:/PROGRA~1/R/R-41~1.1/bin/x64 -lR E:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpython3.lib collect2.exe: error: ld returned 1 exit status no DLL was created ERROR: compilation failed for package 'rPython'
- removing 'C:/Users/yangskyfucker/Documents/R/win-library/4.1/rPython'
- restoring previous 'C:/Users/yangskyfucker/Documents/R/win-library/4.1/rPython' Error in (function (command = NULL, args = character(), error_on_status = TRUE, : System command 'Rcmd.exe' failed, exit status: 1, stdout & stderr were printed Type .Last.error.trace to see where the error occurred