* installing *source* package ‘PythonInR’ ... ** package ‘PythonInR’ successfully unpacked and MD5 sums checked ** using staged installation detected python3.8 or newer ./configure: line 57: /Library/Developer/CommandLineTools/usr/bin/python3.8-config: No such file or directory ----------------------------------- Makevars: # Compilation used the following non-portable flag(s): # ‘-Wdate-time’ ‘-Werror=format-security’ ‘-Wformat’ PKG_LIBS= PKG_CFLAGS=-I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYTHONLIBXY=Python3.framework/Versions/3.8/Python3 -DPYTHON_IN_R_NO_EXPLICIT_LINKING OBJECTS = CToR.o PythonInR.o CastPyObjects.o CastRObjects.o GetPyObjects.o init.o PyCall.o PyRunString.o Python_Explicit_Linking.o SetPyObjects.o all: $(SHLIB) $(SHLIB): $(OBJECTS) #ALL_CFLAGS = $(R_XTRA_CFLAGS) $(PKG_CFLAGS) $(CPICFLAGS) $(SHLIB_CFLAGS) $(CFLAGS) #ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) $(PKG_CPPFLAGS) $(CLINK_CPPFLAGS) $(CPPFLAGS) ALL_CFLAGS = $(R_XTRA_CFLAGS) $(PKG_CFLAGS) ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) $(PKG_CPPFLAGS) %.o: %.c $(CC) $(R_XTRA_CPPFLAGS) $(R_XTRA_CFLAGS) $(PKG_CFLAGS) $(CPICFLAGS) $(SHLIB_CFLAGS) -c $< -o $@ # original from /etc/R/Makeconf # %.o: %.c # $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -c $< -o $@ ----------------------------------- ** libs clang -I"/Users/ripley/R/no-cairo/include" -DNDEBUG -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYTHONLIBXY=Python3.framework/Versions/3.8/Python3 -DPYTHON_IN_R_NO_EXPLICIT_LINKING -fPIC -c CToR.c -o CToR.o In file included from CToR.c:8: In file included from ./CToR.h:12: ./PythonInR.h:15:10: fatal error: 'Python.h' file not found #include // If you are a Linux user, did you realy install the Python headers? Try "sudo apt-get install python-dev" to fix this! :) ^~~~~~~~~~ 1 error generated. make[1]: *** [CToR.o] Error 1 clang -I"/Users/ripley/R/no-cairo/include" -DNDEBUG -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYTHONLIBXY=Python3.framework/Versions/3.8/Python3 -DPYTHON_IN_R_NO_EXPLICIT_LINKING -fPIC -c PythonInR.c -o PythonInR.o In file included from PythonInR.c:8: ./PythonInR.h:15:10: fatal error: 'Python.h' file not found #include // If you are a Linux user, did you realy install the Python headers? Try "sudo apt-get install python-dev" to fix this! :) ^~~~~~~~~~ 1 error generated. make[1]: *** [PythonInR.o] Error 1 clang -I"/Users/ripley/R/no-cairo/include" -DNDEBUG -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYTHONLIBXY=Python3.framework/Versions/3.8/Python3 -DPYTHON_IN_R_NO_EXPLICIT_LINKING -fPIC -c CastPyObjects.c -o CastPyObjects.o In file included from CastPyObjects.c:9: In file included from ./CastPyObjects.h:12: ./PythonInR.h:15:10: fatal error: 'Python.h' file not found #include // If you are a Linux user, did you realy install the Python headers? Try "sudo apt-get install python-dev" to fix this! :) ^~~~~~~~~~ 1 error generated. make[1]: *** [CastPyObjects.o] Error 1 clang -I"/Users/ripley/R/no-cairo/include" -DNDEBUG -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYTHONLIBXY=Python3.framework/Versions/3.8/Python3 -DPYTHON_IN_R_NO_EXPLICIT_LINKING -fPIC -c CastRObjects.c -o CastRObjects.o In file included from CastRObjects.c:9: In file included from ./CastRObjects.h:12: ./PythonInR.h:15:10: fatal error: 'Python.h' file not found #include // If you are a Linux user, did you realy install the Python headers? Try "sudo apt-get install python-dev" to fix this! :) ^~~~~~~~~~ 1 error generated. make[1]: *** [CastRObjects.o] Error 1 clang -I"/Users/ripley/R/no-cairo/include" -DNDEBUG -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYTHONLIBXY=Python3.framework/Versions/3.8/Python3 -DPYTHON_IN_R_NO_EXPLICIT_LINKING -fPIC -c GetPyObjects.c -o GetPyObjects.o In file included from GetPyObjects.c:9: In file included from ./GetPyObjects.h:12: ./PythonInR.h:15:10: fatal error: 'Python.h' file not found #include // If you are a Linux user, did you realy install the Python headers? Try "sudo apt-get install python-dev" to fix this! :) ^~~~~~~~~~ 1 error generated. make[1]: *** [GetPyObjects.o] Error 1 clang -I"/Users/ripley/R/no-cairo/include" -DNDEBUG -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYTHONLIBXY=Python3.framework/Versions/3.8/Python3 -DPYTHON_IN_R_NO_EXPLICIT_LINKING -fPIC -c init.c -o init.o clang -I"/Users/ripley/R/no-cairo/include" -DNDEBUG -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYTHONLIBXY=Python3.framework/Versions/3.8/Python3 -DPYTHON_IN_R_NO_EXPLICIT_LINKING -fPIC -c PyCall.c -o PyCall.o In file included from PyCall.c:10: In file included from ./PyCall.h:9: ./PythonInR.h:15:10: fatal error: 'Python.h' file not found #include // If you are a Linux user, did you realy install the Python headers? Try "sudo apt-get install python-dev" to fix this! :) ^~~~~~~~~~ 1 error generated. make[1]: *** [PyCall.o] Error 1 clang -I"/Users/ripley/R/no-cairo/include" -DNDEBUG -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYTHONLIBXY=Python3.framework/Versions/3.8/Python3 -DPYTHON_IN_R_NO_EXPLICIT_LINKING -fPIC -c PyRunString.c -o PyRunString.o In file included from PyRunString.c:9: In file included from ./PyRunString.h:11: ./PythonInR.h:15:10: fatal error: 'Python.h' file not found #include // If you are a Linux user, did you realy install the Python headers? Try "sudo apt-get install python-dev" to fix this! :) ^~~~~~~~~~ 1 error generated. make[1]: *** [PyRunString.o] Error 1 clang -I"/Users/ripley/R/no-cairo/include" -DNDEBUG -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYTHONLIBXY=Python3.framework/Versions/3.8/Python3 -DPYTHON_IN_R_NO_EXPLICIT_LINKING -fPIC -c Python_Explicit_Linking.c -o Python_Explicit_Linking.o clang -I"/Users/ripley/R/no-cairo/include" -DNDEBUG -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYTHONLIBXY=Python3.framework/Versions/3.8/Python3 -DPYTHON_IN_R_NO_EXPLICIT_LINKING -fPIC -c SetPyObjects.c -o SetPyObjects.o In file included from SetPyObjects.c:9: In file included from ./SetPyObjects.h:12: ./PythonInR.h:15:10: fatal error: 'Python.h' file not found #include // If you are a Linux user, did you realy install the Python headers? Try "sudo apt-get install python-dev" to fix this! :) ^~~~~~~~~~ 1 error generated. make[1]: *** [SetPyObjects.o] Error 1 make[1]: Target `all' not remade because of errors. ERROR: compilation failed for package ‘PythonInR’ * removing ‘/Users/ripley/R/packages/tests-devel/PythonInR.Rcheck/PythonInR’