You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some users install online-judge-tools package at many places (e.g., ~/.local, /usr/local, venv, pyenv, virtualenv, Anaconda, pipenv, etc.) (this is a mistake of users) and/or install multiple versions of the online-judge-tools package even at one place (a issue of pip command?). This prevents upgrading packages, because some old versions may hide the newest version.
We should detect such states and warn users.
Possible implementations and the analysis
For the issue of multiple locations: searching $PATH (and some typical paths) for oj commands or oj-api commands. This is straightforward.
For the issue of multiple versions: investigation is needed. I don't know why this happens and whether it's actually problematic. We should make a repro at first.
Description
Some users install
online-judge-tools
package at many places (e.g.,~/.local
,/usr/local
, venv, pyenv, virtualenv, Anaconda, pipenv, etc.) (this is a mistake of users) and/or install multiple versions of theonline-judge-tools
package even at one place (a issue ofpip
command?). This prevents upgrading packages, because some old versions may hide the newest version.We should detect such states and warn users.
Possible implementations and the analysis
$PATH
(and some typical paths) foroj
commands oroj-api
commands. This is straightforward.Other notes
The text was updated successfully, but these errors were encountered: