AssertionError during OpenAI baselines installation on Windows using pip install -e command

I’m trying to set up OpenAI baselines on my Windows machine but running into issues

I’m pretty new to Python development and trying to install the OpenAI baselines package by following the instructions from their official site. However, when I run the command pip install -e ., I get this error:

assert LooseVersion(re.sub(r'-?rc\d+$', '', tensorflow_version.version)) >= LooseVersion('1.4.0')
AssertionError

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Documents\baselines\

I think there might be a version mismatch with TensorFlow, but I’m not sure how to edit the setup.py file or if that’s the right move. Has anyone else faced this problem? What’s the best way to fix this installation error?