Installing a python wrapper for a c++ library
I am trying to install the python wrapper for the ANN (approx near neighbors) c++ library: link is http://www.scipy.org/scipy/scikits/wiki/AnnWrapper . I am on Windows 7 32-bit.
Unfortunately the documentation is a bit terse and I am a newbie to programming in general, so I cannot decipher the instructions found within. I have not built a C++ library before and am not even sure how t开发者_Go百科o get that far. Can anyone please guide?
Thanks!
gene
To install Rob Hetland's wrapper you'll need to execute the following command (or one very similar depending on the C compiler installed on your system) in the directory that you've extracted the archive into:
python setup.py build install
or
python setup.py build install --compiler=mingw32
If you don't have a C compiler, or are getting errors, try looking here:
potential issue + answer
potential issue + answer
Ming32 - gcc compatible compiler for Windows
Using Microsoft Visual Studio Express
精彩评论