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

Getting warnings when installing clickhouse-connect without numpy #195

Closed
gfleischer-meta opened this issue Jun 5, 2023 · 1 comment · Fixed by #196
Closed

Getting warnings when installing clickhouse-connect without numpy #195

gfleischer-meta opened this issue Jun 5, 2023 · 1 comment · Fixed by #196
Assignees
Labels
bug Something isn't working

Comments

@gfleischer-meta
Copy link

when I include clickhouse_connect in my requirements.txt file and receive the following error message:
clickhouse_connect.driver.ctypes[10]: WARNING Unable to connect ClickHouse Connect C to Numpy API [No module named 'numpy'], falling back to pure Python."

I know installing numpy will solve this issue but I don't want to install numpy and I don't need numpy for my use case( fetch data from clickhosueDB)
One alternative I have considered is specifying an older version of clickhouse_connect that doesn't have numpy as a dependency. However, this may mean missing out on bug fixes and new features introduced in later versions.

I am not using numpy in my project, and I would prefer to avoid unnecessary dependencies to keep my project lightweight.

@gfleischer-meta gfleischer-meta added the bug Something isn't working label Jun 5, 2023
@genzgd
Copy link
Collaborator

genzgd commented Jun 5, 2023

My apologies for that, it should never have been a warning since numpy is definitely not required if you aren't using it (or pandas).

The warning can be safely ignored and will be reduced to a debug message in the next release (which I'm hoping will be this week.)

@genzgd genzgd self-assigned this Jun 5, 2023
@genzgd genzgd linked a pull request Jun 5, 2023 that will close this issue
2 tasks
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

Successfully merging a pull request may close this issue.

2 participants