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

Problem installation windows #62

Closed
arnaudDup opened this issue Apr 18, 2018 · 4 comments
Closed

Problem installation windows #62

arnaudDup opened this issue Apr 18, 2018 · 4 comments

Comments

@arnaudDup
Copy link

arnaudDup commented Apr 18, 2018

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
Copy link
Owner

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
Copy link
Owner

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

@aaronjie
Copy link

aaronjie commented Jun 27, 2018

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants