rte-france / l2rpn-baselines

L2RPN Baselines a repository to host baselines for l2rpn competitions.
https://l2rpn-baselines.readthedocs.io/en/stable/
Mozilla Public License 2.0
81 stars 45 forks source link

Failed to install via pypi on Windows #26

Closed vinault closed 3 years ago

vinault commented 3 years ago

Hi,

I tried to install the package via pip on a windows station and got an error for torch.

Collecting l2rpn_baselines
  Using cached l2rpn_baselines-0.5.0.tar.gz (145 kB)
Requirement already satisfied: grid2op[optional]>=0.9.1.post1 in d:\projects\rte-grid2viz\grid2op (from l2rpn_baselines) (1.2.3)
Collecting tensorflow>=2.2.0
  Using cached tensorflow-2.3.1-cp38-cp38-win_amd64.whl (342.5 MB)
Collecting Keras>=2.3.1
  Using cached Keras-2.4.3-py2.py3-none-any.whl (36 kB)
ERROR: Could not find a version that satisfies the requirement torch>=1.4.0 (from l2rpn_baselines) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch>=1.4.0 (from l2rpn_baselines)

I'm on a Windows 10 machine [version 10.0.19041.508] with Python 3.8.6 running inside a virtualenv.

Cheers

BDonnot commented 3 years ago

I just fixed this issue. I'm waiting for some other baselines before pushing a new package version.

Fix is available when installed from source.