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

Unexpected keyword argument cachedir when importing #679

Open
kallewesterling opened this issue Jan 27, 2023 · 4 comments
Open

Unexpected keyword argument cachedir when importing #679

kallewesterling opened this issue Jan 27, 2023 · 4 comments

Comments

@kallewesterling
Copy link
Contributor

Hello,

Trying to set up panoptes_aggregation on a Google Colab, and encountering a TypeError when doing so: __init__() got an unexpected keyword argument 'cachedir':

image

It works fine on my local machine, but not in Google Colab.

Might be related to #643 somehow?

@CKrawczyk
Copy link
Collaborator

Odd, the error is coming from HDBSCAN's code, not the aggregation code. I wonder if Colab is installing it correctly.

Try import hdbscan in the same notebook and see if it gives the same error.

@CKrawczyk
Copy link
Collaborator

Ah, here we go: https://stackoverflow.com/a/73830525/1052418

Right, I think I need to make a new release of the aggregation code for the HDBSCAN version to be updated correctly to fix this.

Try installing aggregation from git directly with

pip install -U git+https://github.com/zooniverse/aggregation-for-caesar.git

and see if that clears up the issue, if so I will make a new release to PyPI.

@kallewesterling
Copy link
Contributor Author

kallewesterling commented Feb 15, 2023

Sorry for the tardy response but it looks like it still runs into the same issue:

image

@timstallmann
Copy link
Contributor

I was able to fix this locally by running pip install -U hdbscan, while waiting for an updated version of panoptes_aggregation to be released

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

3 participants