alik-git / duckietown-mbrl-lib

Library for Model Based RL
1 stars 0 forks source link

No module named 'typing_extensions' during test/algorithms #1

Open paulcrouther opened 2 years ago

paulcrouther commented 2 years ago

Steps to reproduce

  1. Follow the readme guide to install and activate the RLDucky virtualenv
  2. Follow the readme and clone the duckietown-mbrl repo:
  3. Run python -m pytest tests/algorithms

Observed Results

Expected Results

Relevant Code

git clone https://github.com/alik-git/duckietown-mbrl-lib
cd duckietown-mbrl-lib
conda activate RLDucky
pip install -e ".[ducky]"`

python -m pytest tests/algorithms

Managed to suppress this according to: https://stackoverflow.com/questions/69108343/modulenotfounderror-no-module-named-typing-extensions using the following:

pip install typing-extensions

Which updates to most recent versions. Probably an issue with MBRL and not this repo directly.

alik-git commented 2 years ago

Yeah so this should be fixed in this commit but I'm not sure since pytorch is also included in those requirements, but still isn't installed for some reason. Weird.