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

No module named 'weave_query' #2966

Open
R0bynZhu opened this issue Nov 13, 2024 · 5 comments
Open

No module named 'weave_query' #2966

R0bynZhu opened this issue Nov 13, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@R0bynZhu
Copy link

Python version: 3.11

What did i do:

  1. pip install weave
  2. pip install fastapi uvicorn
  3. weave serve

What i got:
Traceback (most recent call last): File "/Users/xxx/pago/mywandb/.conda/bin/weave", line 8, in <module> sys.exit(cli()) ^^^^^ File "/Users/xxx/pago/mywandb/.conda/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/xxx/pago/mywandb/.conda/lib/python3.11/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/Users/xxx/pago/mywandb/.conda/lib/python3.11/site-packages/click/core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/xxx/pago/mywandb/.conda/lib/python3.11/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/xxx/pago/mywandb/.conda/lib/python3.11/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/xxx/pago/mywandb/.conda/lib/python3.11/site-packages/weave/trace/cli.py", line 52, in serve api.serve( File "/Users/xxx/pago/mywandb/.conda/lib/python3.11/site-packages/weave/trace/api.py", line 208, in serve from weave.trace.serve_fastapi import object_method_app File "/Users/xxx/pago/mywandb/.conda/lib/python3.11/site-packages/weave/trace/serve_fastapi.py", line 8, in <module> from weave_query import cache, op_args, pyfunc_type_util, weave_pydantic # type: ignore ModuleNotFoundError: No module named 'weave_query'

@jwlee64
Copy link
Contributor

jwlee64 commented Nov 20, 2024

Hi @R0bynZhu,
Currently we are not supporting weave serve for the foreseeable future though we will bring it back at some point. weave_query is a dependency that is intentionally not packaged anymore to decrease the overall package size and the download time. I can note this bug and the request for this feature to be fixed.

@jwlee64 jwlee64 added the enhancement New feature or request label Nov 21, 2024
@TeoZosa
Copy link

TeoZosa commented Nov 22, 2024

@jwlee64 I ran into this myself . Would it be a bad idea to at least update the docs and Weave serve references in the Models UI page? I almost showed this in a team demo which would've killed some credibility for the tool.

Image
Image

@jwlee64
Copy link
Contributor

jwlee64 commented Nov 22, 2024

Hi @TeoZosa, we will be removing the references within the app and docs today, and looking into what it takes to fix. Thank you for the patience.

@TeoZosa
Copy link

TeoZosa commented Nov 23, 2024

@jwlee64 sounds good! Likewise, thanks for your support tackling the influx of feedback 😄

@piantic
Copy link

piantic commented Dec 2, 2024

Hi, I also faced this issue. I will wait for supports or updates.

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

No branches or pull requests

4 participants