Skip to content

Conversation

@sergiopaniego
Copy link
Contributor

@sergiopaniego sergiopaniego commented Nov 26, 2025

The current approach generates:

OpenEnv/src/envs/browsergym_env/client.py", line 6, in <module>
    from browsergym_env.models import (
ModuleNotFoundError: No module named 'browsergym_env'

when imported the env when installed via pip

cc @Paulescu

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 26, 2025
@sergiopaniego
Copy link
Contributor Author

@init27 @pankit-eng @jspisak 😄

@burtenshaw
Copy link
Collaborator

@sergiopaniego are you installing the env with uv pip install . ?

@sergiopaniego
Copy link
Contributor Author

It works with uv pip install . or uv pip install git+https://github.com/meta-pytorch/OpenEnv.git. The case where it fails for me is pip install git+https://github.com/meta-pytorch/OpenEnv.git

Copy link
Collaborator

@burtenshaw burtenshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry. Just double checked this and it works, but we need to update this docs page to match.

@burtenshaw burtenshaw merged commit 4bfa75d into meta-pytorch:main Dec 2, 2025
1 check passed
@sergiopaniego sergiopaniego deleted the import-browsergym-env branch December 4, 2025 09:52
@sergiopaniego
Copy link
Contributor Author

I think it's already up-to-date. Let me know if it's not the case (https://meta-pytorch.org/OpenEnv/environment-builder/#5-implement-the-client)

Screenshot 2025-12-04 at 10 53 57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants