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

v0.30: Documentation #92

Open
VarIr opened this issue Mar 15, 2022 · 5 comments · May be fixed by #106
Open

v0.30: Documentation #92

VarIr opened this issue Mar 15, 2022 · 5 comments · May be fixed by #106
Milestone

Comments

@VarIr
Copy link
Owner

VarIr commented Mar 15, 2022

All documentation must be adapted to the new API, including example use-cases.

@VarIr VarIr added this to the v0.30 milestone Mar 15, 2022
@VarIr
Copy link
Owner Author

VarIr commented Mar 25, 2022

Quickstart example of hubness estimation, hubness reduction and usage in sklearn workflows updated in the readme in #105.
Userguide and further examples upcoming.

@jolespin
Copy link

Is there a beta release for v0.30?

@VarIr
Copy link
Owner Author

VarIr commented May 22, 2024

The main branch here is at v0.30. I just tested the following, which works for me:

conda create --prefix /tmp/scikit-hubness python=3.10
conda activate /tmp/scikit-hubness
pip install https://github.com/VarIr/scikit-hubness/archive/main.tar.gz 
python3
# ... and running the quickstart example code from README.md

@jolespin
Copy link

Awesome, thanks for your help. This works for me too w/ v0.30a.

Apologies for the mixup. If it helps, I was able to reproduce the error from last time which happened both on Apple Silicon and Linux server I have access to.

mamba create -y -n test_env -c conda-forge python=3.10
conda activate test_env
pip install scikit-hubness

Error looks like this:

      OSError: [Errno 66] Directory not empty: '/private/var/folders/kx/9xfkrf_10pj5kdyh9my45twm0000gn/T/pip-install-l7ocvwkq/nmslib_2bcd54c85a904f4b9c86c5b930bdbdd7/.eggs/numpy-1.26.4-py3.10-macosx-10.9-x86_64.egg/numpy-1.26.4.dist-info' -> '/private/var/folders/kx/9xfkrf_10pj5kdyh9my45twm0000gn/T/pip-install-l7ocvwkq/nmslib_2bcd54c85a904f4b9c86c5b930bdbdd7/.eggs/numpy-1.26.4-py3.10-macosx-10.9-x86_64.egg/EGG-INFO'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed cleaning build dir for nmslib
Successfully built annoy falconn
Failed to build scikit-learn nmslib
ERROR: Could not build wheels for scikit-learn, nmslib, which is required to install pyproject.toml-based projects

@VarIr
Copy link
Owner Author

VarIr commented May 23, 2024

Thank you. So building some dependencies fails when installing an old version from PyPI. This is not entirely surprising in particular for nmslib, which hasn't been maintained since 2021 or so.

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

Successfully merging a pull request may close this issue.

2 participants