python / python/pymanager

Python Manager MSIX does not install. Secureden?

未关闭
#315 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
344
派生
74
平均合并
1 天 3 小时
30 天内合并 PR
7

描述

Install source and version

  • Installed from the Windows Store
  • Installed with the MSIX from python.org
  • Installed with the MSI from python.org
  • Installed with winget install 9NQ7512CXL7T

Version: 26.1.240.0

Describe the bug
It doesn't install. I click install, it gets to 98%, I then get this error:

App installation failed with error message: AppxManifest.xml(150,26): error 0x80070020: Cannot register the PythonSoftwareFoundation.PythonManager_26.1.240.0_x64__3847v3x7pw1km package because the following error was encountered while registering the windows.appExecutionAlias extension: The process cannot access the file because it is being used by another process.
. Try again and contact the package publisher if the problem persists. (0x80070020)

To Reproduce
Steps to reproduce the behavior:

  1. Click install

Expected behavior
I expect it to install.

Additional context
I can't see any specific logfiles in %TEMP% that go with python manager

I work in a "secure" IT environment (using secureden), and each instance of admin elevation has to be approved by IT.
However the installer/UAC is not asking me to elevate to admin, so I'm not sure if that's the issue. I can't see a way in file explorer to run the .msix as admin, as the "right click > run as admin" option is only for .exe, and I don't fancy asking IT for a admin command prompt :)

The "windows store" is disabled by IT policy.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,使用报告的版本在 Windows 上重现 MSIX 安装失败,并检查 AppxManifest 错误,尤其是 windows.appExecutionAlias 注册失败。issue 未指出任何仓库文件或测试;完成标准是确定安装为何会达到 98%,并为受影响的安全环境提供经过验证的修复方案或明确的解决方法。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
operating-systems, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。