Skip to content

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

@smeng9

Description

@smeng9

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions