K iD 6ddlZddlmZddlmZdZdZdZy)N)compile_run_strings)CompilerNotFoundErrorcttds tdgd\\}}}|dtjk7sd|vrPtj j ddd k(rtd |d |d d t_tjSdt_tjStjS#t$rAd t_tj j ddd k(rYtjSwxYw) Nresult)zmain.f90z.program foo print *, "hello world" end programTclean exit_status hello worldSYMPY_STRICT_COMPILER_CHECKS01 Failed to compile test program:  F) hasattr has_fortranrosEX_OKenvironget ValueErrorrrstdoutstderrinfos o/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/sympy/utilities/_compilation/availability.pyrrs ; ) *%8 & " VVdM"bhh.-v2M::>>"@#F#M$TZ\b%cdd%* "   &* "   ;  % !&K zz~~ int main(){ printf("hello world\n"); return 0; }Trr r r r rrrF) rhas_crrrrrrrrrs rrrs 5( # $%8  & " VVdM"bhh.-v2M::>>"@#F#M$TZ\b%cdd$  << $ <<5<<%  ELzz~~ int main(){ std::cout << "hello world" << std::endl; }Trr r r r rrrF) rhas_cxxrrrrrrrrrs rr!r!7s 7H % &%8  & " VVdM"bhh.-v2M::>>"@#F#M$TZ\b%cdd!& >>"& >>7>>% "GNzz~~> r)r compilationrutilrrrr!rr&s ,'04r%