求助

syther  发布于 3 年前 7599 9 0

我在Windows下搭建了Oline-Judge ,请问提交如何支持python语言


话题评论 ( 9 )

  • ACSolo  发布于3 年前 Vote: I like it   0   Vote: I do not like it

    1:https://gitee.com/jungle/online-judge/blob/master/judger-kernel/release/conf/Language.xml 文件放开python,id是9,名字你可以改成你的版本的,或者不带版本的。

     

    2:https://gitee.com/jungle/online-judge/blob/master/judger-kernel/release/conf/config.ini

    修改[RunCmd]中的Python=C:\Python27\python.exe -O %NAME%.%EXE% python路径,即可

  • syther  发布于3 年前 Vote: I like it   0   Vote: I do not like it

    谢谢

    提交代码,显示Wrong Answer on test 1

  • syther  发布于3 年前 Vote: I like it   0   Vote: I do not like it

    提交代码,显示Wrong Answer on test 1

  • syther  发布于3 年前 Vote: I like it   0   Vote: I do not like it

    您有联系方式吗

  • ACSolo  发布于3 年前 Vote: I like it   0   Vote: I do not like it

    见私信

  • syther  发布于3 年前 Vote: I like it   0   Vote: I do not like it

    Fatal Python error: initfsencoding: unable to load the file system codecModuleNotFoundError: No module named 'encodings'

  • ACSolo  发布于3 年前 Vote: I like it   0   Vote: I do not like it

    确认下本地直接跑能跑python么

  • ACSolo  发布于3 年前 Vote: I like it   0   Vote: I do not like it

    尝试python的路径加入到环境变量试试

  • ACSolo  发布于3 年前 Vote: I like it   0   Vote: I do not like it

    试一下这个: https://stackoverflow.com/questions/42512817/fatal-python-error-on-windows-10-modulenotfounderror-no-module-named-encodings ====》最后一步 Next, in the top portion of the 'Environment Variables' window, look for the PYTHONHOME variable and make sure that it is also set to C:\Python37-32