Comments (14)
Did you try the latest code? I think I actually fixed this yesterday
from annoy.
The underlying python C extension doesn't handle kw arguments so well but I solved it by a dumb wrapper on the Python side
from annoy.
ok, I'll test it again tomorrow. Thank you.
from annoy.
Yes, I confirm that I use the latest version of Annoy (1.5.2), and the described bug still occurs. I'm on Python 3.4.3.
from annoy.
When I meant latest version I meant bleeding edge github master.
I updated master but didn't push it to pypi. I can bump the version and
push. I keep forgetting to do that so in glad you reminded me :)
On Friday, November 13, 2015, Horace89 [email protected] wrote:
Yes, I confirm that I use the latest version of Annoy (1.5.2), and the
described bug still occurs. I'm on Python 3.4.3.—
Reply to this email directly or view it on GitHub
#114 (comment).
from annoy.
I bumped the version to 1.6.0 and pushed it to PyPI
from annoy.
@erikbern
I'm having trouble installing annoy through pip after this update:
Installing collected packages: annoy
Found existing installation: annoy 1.5.2
Uninstalling annoy:
Successfully uninstalled annoy
Running setup.py install for annoy
building 'annoy.annoylib' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/annoymodule.cc -o build/temp.linux-x86_64-2.7/src/annoymodule.o -O3 -march=native -ffast-math
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
src/annoymodule.cc:16:24: fatal error: kissrandom.h: No such file or directory
#include "kissrandom.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Clonning and running python setup.py install
works fine.
from annoy.
let me take a look at it
from annoy.
I had forgotten to include src/kissrandom.h in setup.py.
I added it and pushed 1.6.1.
Sorry about the inconvenience
from annoy.
hm still not working – not sure what's going on. let me try again
from annoy.
try again – had to bump to 1.6.2 :(
from annoy.
Works great now. Thanks for the quick fix!
from annoy.
That's what I call rapid development! :)
Btw PyPI treats rc1
, rc2
tags as proper releases, which pip will ignore when users ask to install (a good option for release checking).
from annoy.
It's working great now! Thanks!
from annoy.
Related Issues (20)
- Support annoy index loading from binary index data
- How many trees should I use? HOT 2
- Memory Leak in Annoy (get_nns_by_vector)? HOT 8
- Annoy Object Not Pickle'able HOT 1
- Add sample weights to distance metric? HOT 3
- Source distribution not availabe for 1.17.2 version HOT 2
- Unable to inherit the AnnoyIndex class HOT 2
- doesn't work correctly if torch tensor is input. But also doesn't throw error. Pls add an assertion that this only takes np arrays not torch tensors HOT 2
- _Vector should use position-only parameter for the index HOT 3
- How do you reduce a vector to 2 coordinates HOT 1
- [Distance] What did I do wrong?
- [MSVC] Annoy failed to run test on Windows HOT 1
- Some segment faults HOT 1
- Regarding updating an existing ANNOY model HOT 2
- Anyone tried storing trees and nodes in DynamoDB? HOT 1
- Is there any workaround to be able to use the Chebyshev distance with this library? HOT 1
- from annoy import AnnoyIndex
- Annoy build failed in MSVC x86 mode
- Using a built Annoy tree in a different device HOT 1
- ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from annoy.