indygreg / indygreg/PyOxidizer
Windows vcruntime140.dll error
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 256
- PR merge metrics
- No merged PRs in 30d
Description
Pyoxidizer 11.0-pre
Windows 10
When redistributing standalone, one of the issues that comes up for users is the vcruntime140.dll:
This is only an issue if the user never installed visual studio or vc_redist however it comes with python in the python/install folder. I will show the results of each below being run on microsoft sandbox.
Therefore, can we add the option to move the vcruntime140.dll over to the distribution as well?
Error on sandbox:

However, copying dll from python folder allows it to work:

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing standalone redistribution with PyOxidizer 11.0-pre on Windows 10 in the Microsoft sandbox, comparing the failing case with one where vcruntime140.dll is copied from Python's python/install folder. Trace the standalone distribution entry point; done means the resulting distribution works when Visual Studio or vc_redist has never been installed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100