-
Notifications
You must be signed in to change notification settings - Fork 374
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
TypeError: 'numpy.float64' object cannot be interpreted as an integer #343
Comments
I am running into the same problem |
I have the same issue. All embedding models ran into this error. Using Python 3.10 right now! |
So, I switched to a different method, but encountered the same error there. I am using python 3.11, so ymmw, but what helped me was installing older versions of a couple of libraries. Not sure if the second line is required for top2vec. %pip install --user --no-warn-script-location --disable-pip-version-check Cython==0.29.34 numpy==1.23.5 |
Folks, I found the problem and a "fix"! Its actually gcc and hdbscan problem which seems to be a dependency for hdbscan. The fix for me is installing VC+++ 2022 and add the C++ Desktop Development package. pip install now works for hdbscan and enables top2vec to run properly. I hope this helps! |
For me this did not work. After uninstalling hdbscan and cloning + installing manually it did work. As per scikit-learn-contrib/hdbscan#607 |
It is indeed a problem with HDBSCAN, related to this issue. Updating HDBSCAN to 0.8.33 worked for me. |
Hi there,
When trying to run the example code I encounter the following:
All of the libraries are updated to the latest versions, but I have tried downgrading lumpy and hdbscan with no result.
I am fairly new to Python and not sure if there's something I am doing wrong here. I did see some discussion of this error on the hdbscan issues page, but their solution there was to upgrade to the most recent version, which did not help in my case.
The text was updated successfully, but these errors were encountered: