When I execute using the non-container method, that is, running the commands "cd evaluation/src" and "python3 main.py --dir ../../tutorial --output-dir ../../tutorial --recursive", I find an error reported.
Traceback (most recent call last):
File "/mmu_nlp_ssd/zhangbingyuan/benchmark/MultiPL-E/evaluation/src/main.py", line 192, in
main()
File "/mmu_nlp_ssd/zhangbingyuan/benchmark/MultiPL-E/evaluation/src/main.py", line 155, in main
evaluate_problem(args.output_dir, file, args.max_workers, args.dir)
File "/mmu_nlp_ssd/zhangbingyuan/benchmark/MultiPL-E/evaluation/src/main.py", line 97, in evaluate_problem
for j in executor.map(lambda index: cached_eval_script(problem, index), range(min_problem, num_problems)):
File "/nlp_group/zhangbingyuan/anaconda/install_location/envs/autods/lib/python3.10/concurrent/futures/_base.py", line 621, in result_iterator
yield _result_or_cancel(fs.pop())
File "/nlp_group/zhangbingyuan/anaconda/install_location/envs/autods/lib/python3.10/concurrent/futures/_base.py", line 319, in _result_or_cancel
return fut.result(timeout)
File "/nlp_group/zhangbingyuan/anaconda/install_location/envs/autods/lib/python3.10/concurrent/futures/_base.py", line 458, in result
return self.get_result()
File "/nlp_group/zhangbingyuan/anaconda/install_location/envs/autods/lib/python3.10/concurrent/futures/_base.py", line 403, in get_result
raise self._exception
File "/nlp_group/zhangbingyuan/anaconda/install_location/envs/autods/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, *self.kwargs)
File "/mmu_nlp_ssd/zhangbingyuan/benchmark/MultiPL-E/evaluation/src/main.py", line 97, in
for j in executor.map(lambda index: cached_eval_script(problem, index), range(min_problem, num_problems)):
File "/mmu_nlp_ssd/zhangbingyuan/benchmark/MultiPL-E/evaluation/src/main.py", line 44, in cached_eval_script
result_dict = eval_string_script(problem["language"], program)
File "/mmu_nlp_ssd/zhangbingyuan/benchmark/MultiPL-E/evaluation/src/containerized_eval.py", line 78, in eval_string_script
result = eval_script(Path(f.name))
File "/mmu_nlp_ssd/zhangbingyuan/benchmark/MultiPL-E/evaluation/src/eval_rust.py", line 13, in eval_script
build = subprocess.run(["rustc", path, "-o", basename], capture_output=True, timeout=15)
File "/nlp_group/zhangbingyuan/anaconda/install_location/envs/autods/lib/python3.10/subprocess.py", line 503, in run
with Popen(popenargs, **kwargs) as process:
File "/nlp_group/zhangbingyuan/anaconda/install_location/envs/autods/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/nlp_group/zhangbingyuan/anaconda/install_location/envs/autods/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'rustc'
When I execute using the non-container method, that is, running the commands "cd evaluation/src" and "python3 main.py --dir ../../tutorial --output-dir ../../tutorial --recursive", I find an error reported.
May I ask what the problem is?