[GH-ISSUE #150] ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects #85

Open
opened 2026-10-15 18:04:17 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @M00nWraith on GitHub (Sep 7, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/150

Every time i try: pip install -r requirements-complete.txt
i get the error in the title. So what am i doing wrong?

Originally created by @M00nWraith on GitHub (Sep 7, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/150 Every time i try: pip install -r requirements-complete.txt i get the error in the title. So what am i doing wrong?
Author
Owner

@Tacx79 commented on GitHub (Sep 11, 2023):

Had the same issue with python 3.11, I solved it by using conda install python=3.9.0 instead of 3.11 after env creation. Make sure you have cpp build tools

<!-- gh-comment-id:1714174542 --> @Tacx79 commented on GitHub (Sep 11, 2023): Had the same issue with python 3.11, I solved it by using `conda install python=3.9.0` instead of 3.11 after env creation. Make sure you have cpp build tools
Author
Owner

@jdbeel commented on GitHub (Oct 9, 2023):

I was unable to make @Tacx79 's solution work but since I hadn't planned on using TTS I removed those requirements from requirements-complete.txt and that fixed the issue for me. A better solution would be great and I'm planning on looking into trying to resolve a better set of requirement versions that works, but that'll take time.

<!-- gh-comment-id:1753348579 --> @jdbeel commented on GitHub (Oct 9, 2023): I was unable to make @Tacx79 's solution work but since I hadn't planned on using TTS I removed those requirements from `requirements-complete.txt` and that fixed the issue for me. A better solution would be great and I'm planning on looking into trying to resolve a better set of requirement versions that works, but that'll take time.
Author
Owner

@lewdcurry commented on GitHub (Oct 10, 2023):

I'm on a clean install of W11 and had the same issue. After's reading @Tacx79 's solution, I installed Visual Studio Community and in the installer selected everything that said build tools (probably not necessary but didn't feel like trial and error). Then restarted the command prompt I was working in (to get any new PATH changes) and was able to do the full requirements-complete.txt install.

<!-- gh-comment-id:1755739849 --> @lewdcurry commented on GitHub (Oct 10, 2023): I'm on a clean install of W11 and had the same issue. After's reading @Tacx79 's solution, I installed Visual Studio Community and in the installer selected everything that said build tools (probably not necessary but didn't feel like trial and error). Then restarted the command prompt I was working in (to get any new PATH changes) and was able to do the full requirements-complete.txt install.
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
SillyTavern/SillyTavern-Extras#85
No description provided.