Closed suoych closed 1 year ago
Does the same error occur if you import it directly in a python console?
from calvin_env.envs.tasks import Tasks
Yeah I tried before and it says there is no module named calvin_env.envs
@lukashermann
Does the same error occur if you import it directly in a python console?
from calvin_env.envs.tasks import Tasks
And if you run pip list
it shows calvin_env
?
I don't know what could be the problem.
And if you run
pip list
it showscalvin_env
? I don't know what could be the problem.
Yeah, it shows calvin_env, pip show calvin_env is also available. I'll try to figure it out by myself then, thanks for your patience anyway.
What happens if you only do import calvin_env
?
I guess the problem is unrelated to our code since you are the first to spot this error, but keep me updated if you find the solution!
@lukashermann Hi, I found the problem. After I installed the calvin_env, I ran the training code in the root directory of hulc project, which will cause the "import" command in python to import the calvin_env folder first instead of the installed lib.
The solution is to run the training code in another directory or install the calvin_env lib in another directory.
Sorry for my negligence and thanks again for your reply.
What happens if you only do
import calvin_env
? I guess the problem is unrelated to our code since you are the first to spot this error, but keep me updated if you find the solution!
Hi, thanks for sharing your work, I met this problem when I followed the instructions run the training code.
I successfully installed the calvin_env.
I don't know why this happens, there might be something wrong with the calvin_env? It would be so nice if you could answer my question, thanks again.