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
I need to install omegaconf latest or 2.2.3, but have an issues installing it.
Latest omegaconf requests antlr4-python3-runtime version 4.9.* that fails to install
Installing antlr4-python3-runtime successfully installs 4.13.1, but not 4.9.*
Tried python 3.11, 3.10
Tried upgraded pip/setuptools to latest and downgraded setuptools to 68
Create a virtual environment (my default python is 3.11) python.exe -m venv .\venv or D:\Dev\Python\3.10\python.exe -m venv .\venv (my secondary python 3.10)
Activate venv: venv\Scripts\activate.bat
(can be skipped) python -m pip install --upgrade pip setuptools
create requirements.txt with omegaconf line (not direct command because different versions tried)
run python -m pip install -r requirements.txt - ERROR: Failed to build installable wheels for some pyproject.toml based projects (antlr4-python3-runtime)
edit requirements.txt to omegaconf<2.3, repeat №5 - same error
repeat №6, changing 2.3 to 2.2, 2.1 - same errors except that version 2.0.0 was installed
Please provide minimal repro instructions.
Please note that OmegaConf 2.4 dev releases no longer depends on antlr (they contains a vendored copy if it) which may help your problem.
I need to install omegaconf latest or 2.2.3, but have an issues installing it.
Latest omegaconf requests antlr4-python3-runtime version 4.9.* that fails to install
Installing antlr4-python3-runtime successfully installs 4.13.1, but not 4.9.*
Tried python 3.11, 3.10
Tried upgraded pip/setuptools to latest and downgraded setuptools to 68
Tried omegaconf:
Tried all versions of antlr4-python3-runtime:
python.exe -m venv .\venv
orD:\Dev\Python\3.10\python.exe -m venv .\venv
(my secondary python 3.10)venv\Scripts\activate.bat
python -m pip install --upgrade pip setuptools
requirements.txt
withomegaconf
line (not direct command because different versions tried)python -m pip install -r requirements.txt
-ERROR: Failed to build installable wheels for some pyproject.toml based projects (antlr4-python3-runtime)
requirements.txt
toomegaconf<2.3
, repeat №5 - same error2.3
to 2.2, 2.1 - same errors except that version 2.0.0 was installedConsole logs attached:
1. 3.11 venv setup.log.txt
2. 3.11 venv omegaconf setup.log.txt
3. 3.11 venv omegaconf==2.2.3 setup.log.txt
4. 3.11 venv antlr4-python3-runtime setup.log.txt
5. 3.11 venv omegaconf setup.log.txt
6. 3.11 venv antlr4-python3-runtime==4.9.3 setup.log.txt
The text was updated successfully, but these errors were encountered: