Farama-Foundation / D4RL

A collection of reference environments for offline reinforcement learning
Apache License 2.0
1.25k stars 269 forks source link

[Bug Report] import d4rl No module named 'flow' and 'carla' #211

Open zhushi-math opened 1 year ago

zhushi-math commented 1 year ago

when i installed d4rl, i am going test like that

import gym import d4rl Warning: Flow failed to import. Set the environment variable D4RL_SUPPRESS_IMPORT_ERROR=1 to suppress this message. No module named 'flow' Warning: CARLA failed to import. Set the environment variable D4RL_SUPPRESS_IMPORT_ERROR=1 to suppress this message. No module named 'carla' pybullet build time: May 10 2023 15:34:0

HenryZhang-git commented 1 year ago

hi,have you solved your problem? I had the same problem, perhaps because of the path to pip install . I installed d4rl in a virtual environment, but when I used pip install -e . ,d4rl it was unzipped in the same directory as setup.py

dmksjfl commented 4 months ago

check if you have installed flow and carla. d4rl can still be used if you do not install them

Peterzhoujr commented 1 month ago

check if you have installed flow and carla. d4rl can still be used if you do not install them

Hi I can't find flow, I wonder what module does flow refer to?

dmksjfl commented 1 month ago

check if you have installed flow and carla. d4rl can still be used if you do not install them

Hi I can't find flow, I wonder what module does flow refer to?

I think it is used to run flow-related tasks, e.g., flow-ring-random-v0. It does not matter if you do not run experiments on flow

Peterzhoujr commented 1 month ago

check if you have installed flow and carla. d4rl can still be used if you do not install them

Hi I can't find flow, I wonder what module does flow refer to?

I think it is used to run flow-related tasks, e.g., flow-ring-random-v0. It does not matter if you do not run experiments on flow

thank you for your help