Skip to content

Commit

Permalink
bugfix: Fixed 3.11.6 Python errors with installing dependencies (ss22…
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladisvell authored Nov 17, 2023
1 parent 00dee92 commit 14f0ff5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tools/bootstrap/python311._pth
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
python311.zip
.
..\..\..

import site
2 changes: 1 addition & 1 deletion tools/bootstrap/python_.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if (!(Test-Path $PythonExe -PathType Leaf)) {
[System.IO.Compression.ZipFile]::ExtractToDirectory($Archive, $PythonDir)

# Copy a ._pth file without "import site" commented, so pip will work
Copy-Item "$Bootstrap/python37._pth" $PythonDir `
Copy-Item "$Bootstrap/python311._pth" $PythonDir `
-ErrorAction Stop

Remove-Item $Archive
Expand Down

0 comments on commit 14f0ff5

Please sign in to comment.