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

Windows has vc_redist.x64.exe install missing when using pymongo_inmemory #122

Open
smeng9 opened this issue Nov 21, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@smeng9
Copy link

smeng9 commented Nov 21, 2024

Describe the bug
I tried to use pymongo_inmemory on a fresh installed windows laptop

After launching mongod.exe it immediately throws an error VCRUNTIME140_1.dll was not found.

To Reproduce

Import pymongo_inmemory in windows then the following error will show up

VCRUNTIME140_1 dll-fixitjpg

Expected behavior

The mongod.exe should launch without a problem.

Logs
If applicable, add any kind of collected logs to help us understand the problem.

Screenshots
If logs are not applicable, add screenshots.

Context:

  • OS: Windows 10
  • Version of pymongo_inmemory 0.4.2
  • Version of mongo you are downloading 8.0
  • Any other additional information about context

The fix to the problem:

In the downloaded mongodb archive, there is a vc_redist.x64.exe file.

This file must be run once to install the vc runtime.

Suggest trying to read windows registry and check if vc runtime is installed.

If not, run this vc_redist.x64.exe file to silently install the dependency.

@smeng9 smeng9 added the bug Something isn't working label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant