Will preface by saying that I am still learning, so this is probably something obvious that I have missed.
I have cloned a repo from github (vector_companion, https://github.com/SingularityMan/vector_companion ) I have set up a conda environment, python version 3.10.6. When using pip install -r requirements i am having a problem that I believe comes from the coqui-tts requirement. I only know this by trying to 'pip install' the requirements one at a time after the first time I got an error, and 'pip install coqui_tts==0.24.1' is the one that makes the error.
From what I can understand, the issue is with the module 'distutils.msvccompiler'. However, the module appears to be installed. I have also tried installing setuptools. I do have VS build tools installed, if that makes any difference. If needed, I can post the code from terminal instead of screenshot. (wasn't sure how to tag this post, sorry in advance)
I'm open to try about anything, I've spent a few hours web searching and trying to get help from chatgpt at this point ๐
#๐ Issue with a module during requirements install
16 messages ยท Page 1 of 1 (latest)
@runic fractal
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
I've also tried making the conda environment with a few different versions of python, as i didn't see version requirements specified anywhere
are you on an intel macbook? this could be the error
@runic fractal
oh actually the current release is on 2.1 which should still be working
that's just for the dev branch
looks like there might be a fix here if you make sure setuptools is up to date with conda install "setuptools <65"
good luck hope that works
I isn't a macbook, it is Windows. I actually tried 'conda install "setuptools <65" justa bit before you posted that haha.
But I read through the link you put in and am wondering if torch might be the issue here.
">>> import torch
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'torch'
exit()"
not sure how torch would be related to distutils, though
try installing torch 2.1
# CUDA 11.8
pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cu118
# CUDA 12.1
pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cu121
# CPU only
pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu```
Installed torch for my version of CUDA, verified with import both in and out of conda. Still have the same error stemming from (I think) coqui-tts and msvccompiler
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.