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
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/tmp.7AdGxEBAbU/my-package/.venv/lib/python3.11/site-packages/clickhouse_driver/__init__.py", line 2, in <module>
from .client import Client
File "/tmp/tmp.7AdGxEBAbU/my-package/.venv/lib/python3.11/site-packages/clickhouse_driver/client.py", line 10, in <module>
from .block import ColumnOrientedBlock, RowOrientedBlock
File "/tmp/tmp.7AdGxEBAbU/my-package/.venv/lib/python3.11/site-packages/clickhouse_driver/block.py", line 2, in <module>
from .reader import read_varint, read_binary_uint8, read_binary_int32
File "/tmp/tmp.7AdGxEBAbU/my-package/.venv/lib/python3.11/site-packages/clickhouse_driver/reader.py", line 3, in <module>
from .varint import read_varint
ModuleNotFoundError: No module named 'clickhouse_driver.varint'
However this doesn't reproduce with clickhouse-driver = "^0.2.6" as a dependency.
Also this doesn't reproduce in a Ubuntu 22.04 container
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
while it fails on my machine (both are using python3.11):
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
Describe the bug
ModuleNotFoundError: No module named 'clickhouse_driver.varint'
To Reproduce
poetry new --src my-package; cd my-package
clickhouse-driver = { git = "https://github.com/mymarilyn/clickhouse-driver.git", branch = "master" }
to dependenciespoetry install
poetry run python -c "import clickhouse_driver"
Fails with
However this doesn't reproduce with
clickhouse-driver = "^0.2.6"
as a dependency.Also this doesn't reproduce in a Ubuntu 22.04 container
while it fails on my machine (both are using python3.11):
Versions
24e8b35
.Related #271 #137
The text was updated successfully, but these errors were encountered: