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

poetry add e2b_code_interpreter doesn't work #492

Open
willshang76 opened this issue Dec 5, 2024 · 4 comments
Open

poetry add e2b_code_interpreter doesn't work #492

willshang76 opened this issue Dec 5, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@willshang76
Copy link

Describe the bug
When try to use poetry to install e2b, it fails.

To Reproduce
Steps to reproduce the behavior:

  1. run poetry add e2b_code_interpreter
  2. See the error:

Using version ^1.0.2 for e2b-code-interpreter

Updating dependencies
Resolving dependencies... (1.2s)

list index out of range

@willshang76 willshang76 added the bug Something isn't working label Dec 5, 2024
Copy link

linear bot commented Dec 5, 2024

@hariappi
Copy link

hariappi commented Dec 6, 2024

I'm able to install 1.0.3, @willshang76 are you trying something else?

XX E2B % cd packages/python-sdk
XX python-sdk % poetry add e2b_code_interpreter
Creating virtualenv e2b-ty7UJ1EF-py3.13 in /Users/harinadhappidi/Library/Caches/pypoetry/virtualenvs
Using version ^1.0.3 for e2b-code-interpreter

Updating dependencies
Resolving dependencies... (4.1s)

Package operations: 52 installs, 0 updates, 0 removals

  - Installing typing-extensions (4.12.2)
  - Installing wrapt (1.16.0)
  - Installing nr-stream (1.1.5)
  - Installing nr-date (2.1.0)
  - Installing deprecated (1.2.14)
  - Installing typeapi (2.2.3)
  - Installing databind (4.5.2)
  - Installing certifi (2024.8.30)
  - Installing click (8.1.7)
  - Installing databind-core (4.5.2)
  - Installing databind-json (4.5.2)
  - Installing h11 (0.14.0)
  - Installing idna (3.10)
  - Installing mypy-extensions (1.0.0)
  - Installing packaging (24.1)
  - Installing pathspec (0.12.1)
  - Installing platformdirs (4.3.6)
  - Installing sniffio (1.3.1)
  - Installing zipp (3.20.2)
  - Installing anyio (4.5.2)
  - Installing black (23.12.1)
  - Installing charset-normalizer (3.4.0)
  - Installing docspec (2.2.1)
  - Installing httpcore (1.0.6)
  - Installing importlib-metadata (8.5.0)
  - Installing iniconfig (2.0.0)
  - Installing markupsafe (2.1.5)
  - Installing nr-util (0.8.12)
  - Installing pluggy (1.5.0)
  - Installing tomli (2.0.2)
  - Installing urllib3 (2.2.3)
  - Installing attrs (24.2.0)
  - Installing pyyaml (6.0.2)
  - Installing pytest (7.4.4)
  - Installing httpx (0.27.2)
  - Installing tomli-w (1.0.0)
  - Installing docspec-python (2.2.1)
  - Installing docstring-parser (0.11)
  - Installing execnet (2.1.1)
  - Installing requests (2.32.3)
  - Installing six (1.16.0)
  - Installing python-dotenv (1.0.1)
  - Installing jinja2 (3.1.4)
  - Installing watchdog (4.0.2)
  - Installing yapf (0.40.2)
  - Installing e2b-code-interpreter (1.0.3)
  - Installing protobuf (5.28.3)
  - Installing pydoc-markdown (4.8.2)
  - Installing python-dateutil (2.9.0.post0)
  - Installing pytest-asyncio (0.23.8)
  - Installing pytest-dotenv (0.5.2)
  - Installing pytest-xdist (3.6.1)
Writing lock file

@willshang76
Copy link
Author

I tried to output the logs. poetry add e2b-code-interpreter --verbose. I see the actual error is And because agentops (0.3.18) depends on packaging (23.2) and agentops (0.3.16) depends on packaging (23.2), agentops (>=0.3.6,<0.4.0) requires packaging (23.2). And because e2b-code-interpreter (>=1.0.3,<2.0.0) requires packaging (>=24.1) (1), e2b-code-interpreter (>=1.0.3,<2.0.0) is incompatible with agentops (>=0.3.6,<0.4.0) So, because camel-ai depends on both agentops (^0.3.6) and e2b-code-interpreter (^1.0.3), version solving failed.

The agentops and e2b-code-interpreter requires different packaging version and my project relies on both. How could I solve this kind of problem?

@hariappi
Copy link

may be using separate virtual environment works? Are you using agentops in e2b or that is a different project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants