WinRar 制作自解压程序在 win7 解压运行时找不到 Py_Main
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- devtools, operating-systems
Research direction
Start by reproducing the WinRAR self-extraction flow on 32-bit Windows 7 SP1, comparing automatic execution with manual execution and with runtime/python.exe. Inspect the PyStand code that locates dynamic libraries and resolves Py_Main. Done means the self-extracted executable launches on Windows 7 without the missing Py_Main error while retaining the reported Windows 10/11 behavior.
Written by the indexing model from the issue text.
Description
32位 sp1 win7
WinRar设置解压后运行那个编译后的exe
制作的自解压程序在win10/win11 上可以正常使用,
在win7 上自解压后就报错找不到 Py_Main, 我找到自解压的路径,然后直接双击运行exe,也是可以正常运行的
然后,我把自解压后运行的程序改成了runtime中的python.exe,测试发现是可以运行的
看了PyStand中的代码,都已经找到了动态库,咋找不到Py_Main,但是手动解压或者自解压结束点击exe运行又是能正常运行的
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from skywind3000/PyStand
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
skywind3000/PyStand#111 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
skywind3000/PyStand#109 · 5 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
skywind3000/PyStand#105 · 3 reactions ·
-
文档拉胯 Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
skywind3000/PyStand#104 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
skywind3000/PyStand#102 · 5 comments ·
All issues in skywind3000/PyStand
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·