indygreg / indygreg/PyOxidizer

Windows vcruntime140.dll error

Open
#353 26 comments 1 reaction 0 assignees View on GitHub
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:
![image](https://user-images.githubusercontent.com/55164720/103559545-4b3ef980-4e84-11eb-94b9-495d0f37bc8d.png)

However, copying dll from python folder allows it to work:
![image](https://user-images.githubusercontent.com/55164720/103559690-8b05e100-4e84-11eb-8740-7c287403350c.png)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.