[PR #63] [MERGED] Fix Windows PermissionError in get_llama_cpp() #2436

Closed
opened 2026-11-04 02:00:06 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/63
Author: @alfirus
Created: 9/28/2026
Status: ✅ Merged
Merged: 9/28/2026
Merged by: @Niko1221

Base: main ← Head: fix/windows-llama-cpp-rename-error


📝 Commits (1)

  • 27f48dc Fix Windows PermissionError in get_llama_cpp() by using shutil.move instead of pathlib.replace

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 setup.py (+3 -1)

📄 Description

On Windows, pathlib.Path.replace() fails with PermissionError when renaming the extracted llama.cpp directory. Replaced with shutil.move which is more reliable on Windows.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/63 **Author:** [@alfirus](https://github.com/alfirus) **Created:** 9/28/2026 **Status:** ✅ Merged **Merged:** 9/28/2026 **Merged by:** [@Niko1221](https://github.com/Niko1221) **Base:** `main` ← **Head:** `fix/windows-llama-cpp-rename-error` --- ### 📝 Commits (1) - [`27f48dc`](https://github.com/Niko1221/Strata/commit/27f48dc98e8b019ed68cce5bd317e2b84312d28d) Fix Windows PermissionError in get_llama_cpp() by using shutil.move instead of pathlib.replace ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `setup.py` (+3 -1) </details> ### 📄 Description On Windows, pathlib.Path.replace() fails with PermissionError when renaming the extracted llama.cpp directory. Replaced with shutil.move which is more reliable on Windows. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:00:06 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2436
No description provided.