Open leo-liuzy opened 1 year ago
You are right, I tried to reproduce and found this issue as well. It's a conflict caused by mujoco
(which requires a lower version of python) and langchain
(which requires a higher version of python, moving very fast), we will update and fix this error.
I am setting up the environment.
What I found is that in the setup tutorial, you have
conda create -n text2reward python=3.7
However, langchain which is used in
text2reward/code_generation/single_flow/*/generation.py
requires 3.8.installing with 3.7
If I am installing langchain with 3.7. It will not install
langchain.chat_models
andlangchain.callbacks.manager
and making the code-generation no runnable.installing with 3.8
This will make the following part not runnable (Using python3.7 doesn't have this issue)
For the above install, I will get
I try to fix
error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
. But following here doesn't make things working.