-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oj-verify が手元で動かない #252
Comments
この文言によるエラーは「古い online-judge-tools と新しい online-judge-tools が同時にインストールされてそれらが混ざったキメラが動く」ということを防ぐためのエラーです。そちらの環境では「両方が同時にインストールされているが、新しい方しか使われてない」のにエラーになっているようで、どちらかといえば誤検出です 🙇 以下を順番に実行して、出力されたログを全部貼り付けてください。 $ pip3 uninstall online-judge-tools online-judge-api-client
$ command oj
$ python3 -c 'from onlinejudge.__about__ import __version__ ; print(__version__)'
$ python3 -c 'import pathlib, sys ; print(*[path for path in sys.path if (pathlib.Path(path) / "onlinejudge").exists()] or ["not installed"])'
$ pip3 show online-judge-tools online-judge-api-client online-judge-verify-helper (上 3 行は貼ってもらった文言のステップ 1, 2 で、下 2 行は追加の情報取得です。ホームディレクトリのユーザ名とかを漏らしたくない場合はいい感じに編集してください) |
ありがとうございます。
確かに最後に謎のものが表示されてますね・・・ |
情報提供助かります。 解決策ですが、 |
online-judge-tools の 9.2.2 9.2.1 7.8.0 7.2.0 |
$ oj-verify run や単に $ oj-verify で以下の文言が出ます
`
You use an old version of online-judge-tools (< 10.0.0) with online-judge-api-client, they are not compatible.
Please execute:
`
しかし自分の環境では、この条件は満たしています
$ oj --version
online-judge-tools 10.0.3 (+ online-judge-api-client 10.0.8)
一応文言のとおりに再インストールしましたが、同じ状況です
情報:
ubuntu 18.04
試してみたら oj-bundle は動きました
The text was updated successfully, but these errors were encountered: