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

[Issue]: Want to run LocalCommandLineCodeExecutor within an venv #2613

Open
akashDawariLTIM opened this issue May 7, 2024 · 1 comment
Open
Labels
code-execution execute generated code

Comments

@akashDawariLTIM
Copy link

Describe the issue

I want the agent to run their generated code within an venv so that i donot have to install all the unwant packages into my Base python env. Is there any way in LocalCommandLineCodeExecutor to run the code in a venv?

Steps to reproduce

No response

Screenshots and logs

No response

Additional Information

No response

@Gr3atWh173
Copy link
Collaborator

Custom python environments aren't supported yet. IIRC the local executor re-uses whatever environment autogen is being ran on.

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

No branches or pull requests

3 participants