vwxyzjn / cleanrl

High-quality single file implementation of Deep Reinforcement Learning algorithms with research-friendly features (PPO, DQN, C51, DDPG, TD3, SAC, PPG)
http://docs.cleanrl.dev
Other
4.91k stars 566 forks source link

WheelValidationError of torch package when running poetry install #367

Closed StoneT2000 closed 1 year ago

StoneT2000 commented 1 year ago

Problem Description

I'm trying setup the dev environment for this repo.

When running poetry install I get the following

  • Installing torch (1.12.1): Failed

  _WheelFileValidationError

  ["In /home/stao/.cache/pypoetry/artifacts/7f/2e/2d/980d8e9c948cda527927def0ef21d60010410b8db138a849111a08e8bf/torch-1.12.1-cp39-cp39-manylinux1_x86_64.whl, hash / size of torch-1.12.1.dist-info/METADATA didn't match RECORD"]

Checklist

Current Behavior

Expected Behavior

Torch should install and poetry install shouldn't complain?

Possible Solution

Steps to Reproduce

Clean fork of this repo, running python3.9 and running poetry install.

vwxyzjn commented 1 year ago

Duplicate of #365. Please downgrade poetry.