#๐Ÿ”’ Issue with a module during requirements install

16 messages ยท Page 1 of 1 (latest)

runic fractal
#

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 ๐Ÿ˜‚

GitHub

A local AI companion that uses a collection of free, open source AI models in order to create two virtual companions that will follow your computer journey wherever you go! - SingularityMan/vector_...

covert oreBOT
#

@runic fractal

Python help channel opened

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.

runic fractal
#

I've also tried making the conda environment with a few different versions of python, as i didn't see version requirements specified anywhere

winged oar
#

@runic fractal

#

oh actually the current release is on 2.1 which should still be working

#

that's just for the dev branch

winged oar
# runic fractal I've also tried making the conda environment with a few different versions of py...

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

runic fractal
#

not sure how torch would be related to distutils, though

winged oar
#

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```
runic fractal
#

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

covert oreBOT
#
Python help channel closed

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.