SillyTavern / SillyTavern-Extras

Extensions API for SillyTavern.
GNU Affero General Public License v3.0
563 stars 133 forks source link

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

Open M00nWraith opened 1 year ago

M00nWraith commented 1 year ago

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

Tacx79 commented 1 year ago

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

jdbeel commented 1 year ago

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.

lewdcurry commented 1 year ago

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.