Installation error - Windows and Visual Studio #265
Replies: 3 comments 5 replies
-
Are you using Python 3.7? I remember seeing the same error before. |
Beta Was this translation helpful? Give feedback.
-
@julienguegan Do you have the full Visual Studio? I am not sure if the full version of Visual Studio C++ adds all the required libraries to the path. The redistributable from the page linked above (here is a direct link: https://aka.ms/vs/16/release/vc_redist.x64.exe ) does do that (after rebooting your system). Could you try that? |
Beta Was this translation helpful? Give feedback.
-
@julienguegan Understood, I did not mean re-installing Visual Studio though. There is a difference between Visual Studio, the development environment that includes C++ compilers, and the VS redistributable, that only includes the libraries that you need to run applications that were built with it. As ryanloney mentioned above: the easiest way to work around this is to install Python 3.7 on Windows. That does not require the C++ redistributable. This installer should work alongside Python 3.8, so you can keep Python 3.8 in your path and for your other Python development. To use Python 3.7 you can use |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I am trying to
pip install -r requirements.txt
and I have an error when building the library editdistance, it says :Does someone know how to resolve ? It seems to come from file missing in Visual Studio, I have try to add some components but I can't really figure how to find a solution ...
Thank you for your help !
Beta Was this translation helpful? Give feedback.
All reactions