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

ModuleNotFoundError: No module named 'exchange.observers' for a fresh install from git #458

Open
yarikoptic opened this issue Dec 13, 2024 · 0 comments

Comments

@yarikoptic
Copy link

py=3; d=venv/$py; python$py -m venv $d && source $d/bin/activate && pip install git+https://github.com/block/goose.git && goose'

finishes for me with

Successfully built goose-ai
Installing collected packages: wcwidth, sortedcontainers, multipledispatch, wrapt, websocket-client, urllib3, uritemplate, typing-extensions, trython, tenacity, soupsieve, sniffio, ruamel.yaml.clib, regex, python-magic, python-dotenv, pysocks, pyparsing, pygments, pycparser, pyasn1, protobuf, prompt-toolkit, packaging, oauthlib, more-itertools, mdurl, MarkupSafe, jeepney, jaraco.context, idna, h11, colorama, click, charset-normalizer, chardet, certifi, cachetools, backoff, attrs, annotated-types, wsproto, ruamel-yaml, rsa, requests, pydantic-core, pyasn1-modules, proto-plus, outcome, markdown-it-py, jinja2, jaraco.functools, jaraco.classes, httplib2, httpcore, griffe, googleapis-common-protos, cffi, beautifulsoup4, anyio, webdriver-manager, trio, tiktoken, rich, requests-oauthlib, pydantic, httpx, google-auth, cryptography, trio-websocket, SecretStorage, langfuse, google-auth-oauthlib, google-auth-httplib2, google-api-core, selenium, keyring, google-api-python-client, ai-exchange, pyshadow, google-workspace, goose-ai
Successfully installed MarkupSafe-3.0.2 SecretStorage-3.3.3 ai-exchange-0.9.9 annotated-types-0.7.0 anyio-4.7.0 attrs-24.2.0 backoff-2.2.1 beautifulsoup4-4.12.3 cachetools-5.5.0 certifi-2024.8.30 cffi-1.17.1 chardet-5.2.0 charset-normalizer-3.4.0 click-8.1.7 colorama-0.4.6 cryptography-44.0.0 google-api-core-2.24.0 google-api-python-client-2.155.0 google-auth-2.37.0 google-auth-httplib2-0.2.0 google-auth-oauthlib-1.2.1 google-workspace-0.20.3 googleapis-common-protos-1.66.0 goose-ai-0.9.11 griffe-1.5.1 h11-0.14.0 httpcore-1.0.7 httplib2-0.22.0 httpx-0.28.1 idna-3.10 jaraco.classes-3.4.0 jaraco.context-6.0.1 jaraco.functools-4.1.0 jeepney-0.8.0 jinja2-3.1.4 keyring-25.5.0 langfuse-2.56.2 markdown-it-py-3.0.0 mdurl-0.1.2 more-itertools-10.5.0 multipledispatch-1.0.0 oauthlib-3.2.2 outcome-1.3.0.post0 packaging-24.2 prompt-toolkit-3.0.48 proto-plus-1.25.0 protobuf-5.29.1 pyasn1-0.6.1 pyasn1-modules-0.4.1 pycparser-2.22 pydantic-2.10.3 pydantic-core-2.27.1 pygments-2.18.0 pyparsing-3.2.0 pyshadow-0.0.5 pysocks-1.7.1 python-dotenv-1.0.1 python-magic-0.4.27 regex-2024.11.6 requests-2.32.3 requests-oauthlib-2.0.0 rich-13.9.4 rsa-4.9 ruamel-yaml-0.18.6 ruamel.yaml.clib-0.2.12 selenium-4.27.1 sniffio-1.3.1 sortedcontainers-2.4.0 soupsieve-2.6 tenacity-9.0.0 tiktoken-0.8.0 trio-0.27.0 trio-websocket-0.11.1 trython-3.3.1 typing-extensions-4.12.2 uritemplate-4.1.1 urllib3-2.2.3 wcwidth-0.2.13 webdriver-manager-4.0.2 websocket-client-1.8.0 wrapt-1.17.0 wsproto-1.2.0
Traceback (most recent call last):
  File "/tmp/venv/3/bin/goose", line 5, in <module>
    from goose.cli.main import cli
  File "/tmp/venv/3/lib/python3.12/site-packages/goose/cli/main.py", line 11, in <module>
    from goose.cli.session import Session
  File "/tmp/venv/3/lib/python3.12/site-packages/goose/cli/session.py", line 7, in <module>
    from exchange.observers import ObserverManager, observe_wrapper
ModuleNotFoundError: No module named 'exchange.observers'

current main is v0.9.11-42-gdba8f72

the same with python 3.13 via pip install -e . in local git clone.

That exchange was added as a first ever extra packages/ recently in d30b524 . But I guess it was not properly added as a component to be installed?

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

No branches or pull requests

1 participant