alik-git / duckietown-mbrl-lib

Library for Model Based RL
1 stars 0 forks source link

ModuleNotFoundError: No module named 'torch.fft' when using test/algorithms #2

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]"`

pip install typing-extensions    #different fix

python -m pytest tests/algorithms

Do not do this to fix issue: pip install pytorch-fft

Managed to suppress this according to: #https://github.com/uma-pi1/kge/issues/160#issuecomment-743140569 using the following:

pip install ax-platform
pip install botorch

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

alik-git commented 2 years ago

This issue I did not run into, but I can add those to the requirements file for a fix hopefully.