princeton-nlp / WebShop

[NeurIPS 2022] 🛒WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents
https://webshop-pnlp.github.io
MIT License
275 stars 62 forks source link

ModuleNotFoundError: No module named 'web_agent_site' for Python package #39

Closed lewtun closed 2 months ago

lewtun commented 2 months ago

I'm submitting a ...

What is the current behavior?

I am trying to run webshop via the Python package on pip. The installation seems to work fine, but afterwards I am not able to import WebAgentTextEnv due to the following error:

ModuleNotFoundError: No module named 'web_agent_site'

Steps to Reproduce

Run pip install webshop followed by

import gym
from web_agent_site.envs import WebAgentTextEnv

What is the expected behavior?

That I can import the WebAgentTextEnv as described in the usage section of the README.

Motivation for Change

I would like to integrate WebAgentTextEnv within my own training scripts and installing everything from source is a big hassle due to dependency conflicts and manual downloads. It would be great to have the Python package dependencies setup so that it is the exact minimum needed to use the environment

Please tell us about your environment:

nischalj10 commented 2 months ago

I am unable to install websop package through pip. can you share your env details?

ysymyth commented 2 months ago

can you try if local install via readme works? pip might be maintain overdued

lewtun commented 2 months ago

Yes I can confirm the local install works. Perhaps it makes sense to remove the pip part of the README if there's no plan to update it?

ysymyth commented 2 months ago

removed!