如果我在macOS上从终端启动macOS,我就得到了3.9版本。python3也是如此。但是如果我从我的C++程序(我使用QProcess)启动这些程序,我将得到2.7 for python和3.7 for python3。有没有办法找到安装在机器上的最新python的路径(我需要支持macOS和Linux)。添加#1.在另一台macOS机器上,/Applications文件夹中安装了P
当我使用Mac终端和skm库在C++中编译一个简单的hello world程序时,我得到了这个警告。我是个新手,所以不知道该怎么做。ld: warning: dylib (/Users/chriscommon/.splashkit/lib/macos/libSplashKit.dylib) was built for newer macOS/libSplashKitCpp.a(splashkit.cpp.o)) was built for newer macOS<