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

fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86' #2939

Closed
udaybhaskar4592 opened this issue Nov 17, 2018 · 7 comments
Labels
install Installation issues more-info-needed This issue needs more information

Comments

@udaybhaskar4592
Copy link

How to reproduce the problem

# copy-paste the error message here

Your Environment

  • Operating System:
  • Python Version Used:
  • spaCy Version Used:
  • Environment Information:
    I have solved all the issues related to cl.exe. I am using windows 7 operating system. I have python 3.6.5 (64 bit) installed on it. I tried installing spacy using command pip -U install spacy. Earlier I could install spacy on 3.6.5 and 3.6.6 (32 bit versions). and it also shows
    error: 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\link,exe' failed with exit status 1112

I have searched for this a bit and found this. Kindly look into this and revert.

https://stackoverflow.com/questions/3563756/fatal-error-lnk1112-module-machine-type-x64-conflicts-with-target-machine-typ

Thank you.

@honnibal
Copy link
Member

The best solution is to use a 64-bit version of Python. Previously we did manage to support both 64 bit and 32bit versions, but the difference becomes quite problematic, so to move forward effectively we're dropping support for 32 bit. I'm not entirely sure why you're already seeing an error though, as there should be a 32 bit wheel available for spaCy 2.0.16. If you do pip install spacy==2.0.16, do you get the same error?

@udaybhaskar4592
Copy link
Author

udaybhaskar4592 commented Nov 17, 2018

attach to github
The result is same, even when pip install spacy==2.0.16. is used. I am using 64 bit windows and 64 bit python 3.6.5.
system

@honnibal
Copy link
Member

Your Windows is 64 bit, but I think you'll find that the Python you're using is 32 bit.

@honnibal honnibal added install Installation issues more-info-needed This issue needs more information labels Nov 26, 2018
@honnibal honnibal reopened this Nov 26, 2018
@udaybhaskar4592
Copy link
Author

No, python is also 64 bit version.
Earlier I was using 32 bit python. Then there was no problem with spacy installation.
As I wanted to run tensorflow I upgraded to 64 bit python.
Now I cannot install spacy on 64bit python running on 64bit OS.

@no-response no-response bot removed the more-info-needed This issue needs more information label Nov 26, 2018
@honnibal
Copy link
Member

honnibal commented Dec 6, 2018

Can you try pip install spacy==2.0.18? It should have wheel installation, which will avoid any errors like this.

@honnibal honnibal added the more-info-needed This issue needs more information label Dec 6, 2018
@no-response
Copy link

no-response bot commented Dec 20, 2018

This issue has been automatically closed because there has been no response to a request for more information from the original author. With only the information that is currently in the issue, there's not enough information to take action. If you're the original author, feel free to reopen the issue if you have or find the answers needed to investigate further.

@no-response no-response bot closed this as completed Dec 20, 2018
@lock
Copy link

lock bot commented Jan 19, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
install Installation issues more-info-needed This issue needs more information
Projects
None yet
Development

No branches or pull requests

2 participants