You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
ImportError: cannot import name 'EnvVars' from 'e2b' (C:\Users....venv\Lib\site-packages\e2b_init_.py)
To Reproduce
install e2b and e2b_code_interpreter, and use code interpreter as normal.
I belive this to be related to some recent update, as I simply migrated one my code from one project to another, and installed e2b fresh, using poetry. The same code is running as normal in my "old" project, and this import error is not present.
Expected behavior
To not encounter this ImportError:
Browser console output
Console logs from your browser's developer tool console.
Terminal commands & output
Traceback (most recent call last):
File "C:\Users\main.py", line 5, in
from cb import Chatbot
File "C:\Users\cb.py", line 10, in
from e2b_repl import PythonAstREPLTool_e2b
File "C:\Users\e2b_repl.py", line 20, in
from e2b_code_interpreter import CodeInterpreter
File "C:\Users.venv\Lib\site-packages\e2b_code_interpreter_init_.py", line 3, in
from .main import CodeInterpreter, JupyterExtension
File "C:\Users.venv\Lib\site-packages\e2b_code_interpreter\main.py", line 12, in
from e2b import EnvVars, ProcessMessage, Sandbox
ImportError: cannot import name 'EnvVars' from 'e2b'
Desktop (please complete the following information):
OS: Windows 11
The text was updated successfully, but these errors were encountered:
Describe the bug
ImportError: cannot import name 'EnvVars' from 'e2b' (C:\Users....venv\Lib\site-packages\e2b_init_.py)
To Reproduce
install e2b and e2b_code_interpreter, and use code interpreter as normal.
I belive this to be related to some recent update, as I simply migrated one my code from one project to another, and installed e2b fresh, using poetry. The same code is running as normal in my "old" project, and this import error is not present.
Expected behavior
To not encounter this ImportError:
Browser console output
Console logs from your browser's developer tool console.
Terminal commands & output
Traceback (most recent call last):
File "C:\Users\main.py", line 5, in
from cb import Chatbot
File "C:\Users\cb.py", line 10, in
from e2b_repl import PythonAstREPLTool_e2b
File "C:\Users\e2b_repl.py", line 20, in
from e2b_code_interpreter import CodeInterpreter
File "C:\Users.venv\Lib\site-packages\e2b_code_interpreter_init_.py", line 3, in
from .main import CodeInterpreter, JupyterExtension
File "C:\Users.venv\Lib\site-packages\e2b_code_interpreter\main.py", line 12, in
from e2b import EnvVars, ProcessMessage, Sandbox
ImportError: cannot import name 'EnvVars' from 'e2b'
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: