Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'alfworld.env' #14

Open
BatmanofZuhandArrgh opened this issue Apr 12, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'alfworld.env' #14

BatmanofZuhandArrgh opened this issue Apr 12, 2024 · 2 comments

Comments

@BatmanofZuhandArrgh
Copy link

BatmanofZuhandArrgh commented Apr 12, 2024

Traceback (most recent call last):
File "/home/anhnguyen/Documents/VLM-Planner/src/run_eval.py", line 12, in
import alfworld.agents.environment
File "/home/anhnguyen/miniconda3/envs/vlm-planner0/lib/python3.9/site-packages/alfworld/agents/environment/init.py", line 2, in
from alfworld.agents.environment.alfred_thor_env import AlfredThorEnv
File "/home/anhnguyen/miniconda3/envs/vlm-planner0/lib/python3.9/site-packages/alfworld/agents/environment/alfred_thor_env.py", line 15, in
from alfworld.env.thor_env import ThorEnv
ModuleNotFoundError: No module named 'alfworld.env'

I'm not sure why alfworld installed in site-packages is not like the official code repo, it's missing the env folder.
I'm on Ubuntu 20.04, it's a conda env python=3.9, alfworld=0.2.2

@BatmanofZuhandArrgh
Copy link
Author

https://github.com/alfworld/alfworld/tree/master/alfworld/env

I just added this folder to the site-packages

@chanhee-luke
Copy link
Collaborator

Answered in #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants