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

Missing dependency tqdm #3305

Open
hongbo-miao opened this issue Dec 27, 2024 · 0 comments
Open

Missing dependency tqdm #3305

hongbo-miao opened this issue Dec 27, 2024 · 0 comments

Comments

@hongbo-miao
Copy link

Issue

My pyproject.toml using uv:

[project]
name = "my-project"
version = "1.0.0"
requires-python = "~=3.12.0"
dependencies = [
  "pylance==0.21.0",
]

Currently calling

from lance.vector import vec_to_table

will cause error:

python src/main.py
Traceback (most recent call last):
  File "/Users/hongbo-miao/Clouds/Git/hongbomiao.com/data-storage/lance/src/main.py", line 6, in <module>
    from lance.vector import vec_to_table
  File "/Users/hongbo-miao/Clouds/Git/hongbomiao.com/data-storage/lance/.venv/lib/python3.12/site-packages/lance/vector.py", line 13, in <module>
    from tqdm.auto import tqdm
ModuleNotFoundError: No module named 'tqdm'

Workaround solution

Manually include tqdm

[project]
name = "my-project"
version = "1.0.0"
requires-python = "~=3.12.0"
dependencies = [
  "pylance==0.21.0",
  "tqdm==4.67.1",
]
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