我正在尝试为学校编译一些基本的 c++ 程序,但 g++ 不断抛出有关 python 文件的错误。
我输入:
g++ -Wall mult3-5.cpp -o mult3-5
命令返回:
Traceback (most recent call last):
File "/usr/local/bin/grc", line 161, in <module> os.execvp(args[0], args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 344, in execvp
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 380, in _execvpe
OSError: [Errno 2] No such file or directory