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

Installation fails on Windows 10 - BuildTools 'LINK : fatal error LNK1104' #78

Open
OrianeN opened this issue Jan 3, 2022 · 0 comments

Comments

@OrianeN
Copy link

OrianeN commented Jan 3, 2022

I've succesfully installed and used python-Levenshtein v0.12.2 last year, but weirdly, trying to install it again on a fresh virtual environment is now failing on my machine.

I have:

  • Windows 10
  • Python 3.8.6
  • Visual Studio Build Tools 2019

Here's what I've done:

virtualenv venv_test_windows
pip install python-Levenshtein

Here's the main error I get at the end of the log:

LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'python38.lib'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\link.exe' failed with exit code 1104

Here's the full stdout: python-Levenshtein-error.txt

All I've found about it is this page: https://qastack.fr/programming/133698/why-does-fatal-error-lnk1104-cannot-open-file-c-program-obj-occur-when-i-c - indicating that whitespaces in the path could be an issue. Yet I find it weird because I haven't changed the path to Visual Studio and this was working before (I have the 0.12.2 installed and working in my usual virtual env).

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

No branches or pull requests

1 participant