microsoft / microsoft/winget-pkgs

[Package Issue]: Python.Python.3.11

Open
#122,494 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
No language data
Stars
11.1k
Forks
9.7k
Avg merge
1h 32m
Merged PRs (30d)
376

Description

Please confirm these before moving forward
  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue

Installation issue.

Brief description of your issue

I'm trying to compile a C/C++ project that links against the Python shared library. I get LINK : fatal error LNK1181: cannot open input file 'python311.lib' when I try to compile.

I do not see the .dll and .lib files under C:\Windows\System, nor under C:\Windows\System32.

Steps to reproduce

winget install "Python 3.11", then look for the .dll and .lib files.

Actual behavior

The .dll and .lib files are nowhere to be found.

When I searched the system for python311.lib, I found nothing, but when searching for python311.dll I did find the following: "C:\Windows\XtaCache\PYTHON311.DLL.B0042D221DE3416020C90F8CF8481BEE.D6AD4357D02E7232C99B8CEEC19E6D76.x64.mp.5.jc"

Expected behavior

According to the Python documentation, the .dll and .lib files should typically be under C:\Windows\System. If they are installed somewhere else, then I expect the PATH variable to be updated accordingly.

Environment
winget --info
Windows Package Manager v1.6.2771
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2283
System Architecture: Arm64
Package: Microsoft.DesktopAppInstaller v1.21.2771.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
Screenshots and Logs

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reproducing the Python 3.11 installation with the supplied winget command on the stated Windows ARM64 environment, then inspect the installed package contents and manifest. Confirm whether the expected python311.dll and python311.lib files are part of this package and whether the reported paths and PATH behavior are correct; done means the installation behavior is explained and the package metadata or issue disposition reflects that finding.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.