wmayner / pyemd

Fast EMD for Python: a wrapper for Pele and Werman's C++ implementation of the Earth Mover's Distance metric

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'error: Microsoft Visual C++ 14.0 is required' when run pip install

nazmibojan opened this issue · comments

Hi All,

Sorry for this newbie question. I got this error after run pip install pyemd:
building 'pyemd.emd' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

I think I have installed VCC 14.0. This is my program screenshots:
vcc

How can I solve this problem?
Thank you very much.

Regards,
Nazmi

Hi Nazmi,

I'm not very familiar with using Python on Windows, and I can only support PyEMD on Linux and macOS systems. However, I can recommend that you try using Anaconda's distribution of Python: there is a conda-forge build of PyEMD available. I've found that this is often the best way for Windows users to run Python packages.

Cheers,
Will