lucasb-eyer / pydensecrf

Python wrapper to Philipp Krähenbühl's dense (fully connected) CRFs with gaussian edge potentials.
MIT License
1.94k stars 413 forks source link

Problem installation windows #62

Closed arnaudDup closed 6 years ago

arnaudDup commented 6 years ago

Hi, recently i tried to reinstall the librairy on a Windows computer and got the following error:

" LINK : error LNK2001: unresolved external symbol PyInit_pydensecrf/eigen build\temp.win-amd64-3.6\Release\pydensecrf\eigen.cp36-win_amd64.lib : fatal error LNK1120: 1 unresolved externals error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe' failed with exit status 1120"

But the installation works well on a linux computer with the same version of pip and python: pip version = 9.0.1 python version = 3.6.3

Do you have any idea on where the problem could be?

lucasb-eyer commented 6 years ago

Hi,

I'm afraid I can't help here, as I don't have a windows dev machine anymore. There are a few windows-related issues: #61, #47, #36, so there seems to be some problem. I'm happy to accepte PRs fixing this, but can't look into it myself, unfortunately.

lucasb-eyer commented 6 years ago

(Maybe the Cython version is relevant here too, did you try updating to the newest Cython?)

aaronjie commented 6 years ago

I find this problem was solved after Cython installed ;) My environment: python 3.6.4 cython-0.28.3 VS2015 Version 14.0.25431.01 Update 3

lucasb-eyer commented 6 years ago

Thank you for getting back to this, I have added a note to the README.