Error with training can't find dlas module, tried manual install #302

Open
opened 2023-07-09 17:14:55 +00:00 by aphixe2000 · 5 comments

I tried to download manually the dlas files from the git page. and then manually run the lines.
python -m pip install -r .\modules\dlas\requirements.txt
python -m pip install -e .\modules\dlas
this error pops up anytime i try to train. i have no problem generating a voice clip with the random voice.

I tried to download manually the dlas files from the git page. and then manually run the lines. python -m pip install -r .\modules\dlas\requirements.txt python -m pip install -e .\modules\dlas\ this error pops up anytime i try to train. i have no problem generating a voice clip with the random voice.

git submodule update --remote

` git submodule update --remote`

I tried the git command and still same issue. this is what console looks like
image
image

i noticed an error if i process requirements.txt in dlas

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torchaudio 2.0.2 requires torch==2.0.1, but you have torch 1.13.1 which is incompatible.
voicefixer 0.1.2 requires librosa<0.9.0,>=0.8.1, but you have librosa 0.6.0 which is incompatible.

image

pip list
Package Version Editable project location


absl-py 1.4.0
aiofiles 23.1.0
aiohttp 3.8.4
aiosignal 1.3.1
altair 5.0.1
annotated-types 0.5.0
antlr4-python3-runtime 4.9.3
anyio 3.7.1
appdirs 1.4.4
async-timeout 4.0.2
attrs 23.1.0
audio2numpy 0.1.2
audioread 3.0.0
axial-positional-embedding 0.2.1
Babel 2.12.1
bcrypt 4.0.1
beartype 0.14.1
bitsandbytes 0.35.0
blinker 1.6.2
cachetools 5.3.1
certifi 2022.12.7
cffi 1.15.1
charset-normalizer 3.0.1
click 8.1.4
clldutils 3.19.0
colorama 0.4.6
colorlog 6.7.0
CoLT5-attention 0.10.14
contourpy 1.1.0
cryptography 41.0.1
csvw 3.1.3
cycler 0.11.0
Cython 0.29.36
decorator 5.1.1
dlas 0.0.1 d:\documents\tortoise-new\ai-voice-cloning\modules\dlas
dlinfo 1.2.1
einops 0.6.1
exceptiongroup 1.1.2
fastapi 0.100.0
ffmpeg 1.4
ffmpeg-python 0.2.0
ffmpy 0.3.0
filelock 3.9.0
fire 0.5.0
fonttools 4.40.0
frozenlist 1.3.3
fsspec 2023.6.0
ftfy 6.1.1
fugashi 1.2.1
future 0.18.3
g-mlp-pytorch 0.1.5
gitdb 4.0.10
GitPython 3.1.31
google-auth 2.21.0
google-auth-oauthlib 1.0.0
gradio 3.23.0
grpcio 1.56.0
gsa-pytorch 0.2.2
h11 0.14.0
httpcore 0.17.3
httpx 0.24.1
huggingface-hub 0.16.4
idna 3.4
importlib-metadata 6.8.0
importlib-resources 6.0.0
inflect 0.2.5
isodate 0.6.1
jaconv 0.3.3
Jinja2 3.1.2
jiwer 3.0.2
joblib 1.3.1
jsonschema 4.18.0
jsonschema-specifications 2023.6.1
kiwisolver 1.4.4
kornia 0.6.12
lambda-networks 0.4.0
language-tags 1.2.0
librosa 0.6.0
linear-attention-transformer 0.19.1
linformer 0.2.1
linkify-it-py 2.0.2
llvmlite 0.40.1
local-attention 1.8.6
loguru 0.6.0
lxml 4.9.3
manga-ocr 0.1.8
Markdown 3.4.3
markdown-it-py 2.2.0
MarkupSafe 2.1.3
matplotlib 3.7.2
mdit-py-plugins 0.3.3
mdurl 0.1.2
mokuro 0.1.6
more-itertools 9.1.0
mpmath 1.3.0
multidict 6.0.4
munch 4.0.0
mup 1.0.0
music-tag 0.4.3
mutagen 1.46.0
natsort 8.2.0
networkx 3.1
numba 0.57.1
numpy 1.23.5
oauthlib 3.2.2
omegaconf 2.3.0
openai-whisper 20230314
opencv-python 4.7.0.68
orjson 3.9.2
packaging 23.0
pandas 2.0.3
paramiko 3.2.0
phonemizer 3.2.1
Pillow 9.4.0
pip 23.1.2
platformdirs 3.8.1
pooch 1.7.0
product-key-memory 0.2.9
progressbar 2.5
protobuf 4.23.4
psutil 5.9.5
pyarrow 12.0.1
pyasn1 0.5.0
pyasn1-modules 0.3.0
pyclipper 1.3.0.post4
pycparser 2.21
pydantic 1.10.11
pydantic_core 2.1.2
pydeck 0.8.1b0
pydub 0.25.1
Pygments 2.15.1
pylatexenc 2.10
Pympler 1.0.1
PyNaCl 1.5.0
pyparsing 3.0.9
pyperclip 1.8.2
python-dateutil 2.8.2
python-multipart 0.0.6
pytorch-fid 0.1.1
pytorch-ssim 0.1
pytz 2023.3
pytz-deprecation-shim 0.1.0.post0
pyworld 0.2.10
PyYAML 6.0
rapidfuzz 2.13.7
rdflib 6.3.2
referencing 0.29.1
regex 2022.10.31
requests 2.28.2
requests-oauthlib 1.3.1
resampy 0.4.2
rfc3986 1.5.0
rich 13.4.2
rotary-embedding-torch 0.2.5
rpds 1.7.1
rpds-py 0.8.10
rsa 4.9
scikit-learn 1.3.0
scipy 1.10.0
scp 0.14.5
seaborn 0.12.2
segments 2.2.1
semantic-version 2.10.0
sentencepiece 0.1.97
setuptools 58.1.0
shapely 2.0.1
six 1.16.0
smmap 5.0.0
sniffio 1.3.0
soundfile 0.12.1
starlette 0.27.0
streamlit 1.24.1
sympy 1.12
tabulate 0.9.0
tb-nightly 2.14.0a20230708
tenacity 8.2.2
tensorboard 2.13.0
tensorboard-data-server 0.7.1
termcolor 2.2.0
tgt 1.4.4
threadpoolctl 3.1.0
tiktoken 0.3.3
tokenizers 0.12.1
toml 0.10.2
toolz 0.12.0
torch 1.13.1
torchaudio 2.0.2
torchlibrosa 0.0.7
torchsummary 1.5.1
torchvision 0.14.1
tornado 6.3.2
tqdm 4.64.1
transformers 4.19.0
typing_extensions 4.7.1
tzdata 2023.3
tzlocal 4.3.1
uc-micro-py 1.0.2
Unidecode 1.0.22
unidic-lite 1.0.8
uritemplate 4.1.1
urllib3 1.26.14
uvicorn 0.22.0
validators 0.20.0
vector-quantize-pytorch 1.6.28
voicefixer 0.1.2
watchdog 3.0.0
wcwidth 0.2.6
websockets 11.0.3
Werkzeug 2.3.6
wheel 0.40.0
win32-setctime 1.1.0
x-clip 0.12.2
x-transformers 1.0.4
yarl 1.9.2
yattag 1.15.0
zipp 3.15.0

so i uninstalled all pip packages and then i see this when running setup_cuda.bat
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'D:\Documents\tortoise-new\ai-voice-cloning\venv\Lib\site-packages\bitsandbytes\init.py'

I tried the git command and still same issue. this is what console looks like ![image](/attachments/90d2fcda-90c6-4d77-93cb-773bc33cea63) ![image](/attachments/b90f6a62-62de-4a63-a80d-0756ac9390a6) i noticed an error if i process requirements.txt in dlas ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. torchaudio 2.0.2 requires torch==2.0.1, but you have torch 1.13.1 which is incompatible. voicefixer 0.1.2 requires librosa<0.9.0,>=0.8.1, but you have librosa 0.6.0 which is incompatible. ![image](/attachments/4701c50b-dc7b-45d6-bae5-cb5446d07dc6) pip list Package Version Editable project location ---------------------------- --------------- ------------------------------------------------------- absl-py 1.4.0 aiofiles 23.1.0 aiohttp 3.8.4 aiosignal 1.3.1 altair 5.0.1 annotated-types 0.5.0 antlr4-python3-runtime 4.9.3 anyio 3.7.1 appdirs 1.4.4 async-timeout 4.0.2 attrs 23.1.0 audio2numpy 0.1.2 audioread 3.0.0 axial-positional-embedding 0.2.1 Babel 2.12.1 bcrypt 4.0.1 beartype 0.14.1 bitsandbytes 0.35.0 blinker 1.6.2 cachetools 5.3.1 certifi 2022.12.7 cffi 1.15.1 charset-normalizer 3.0.1 click 8.1.4 clldutils 3.19.0 colorama 0.4.6 colorlog 6.7.0 CoLT5-attention 0.10.14 contourpy 1.1.0 cryptography 41.0.1 csvw 3.1.3 cycler 0.11.0 Cython 0.29.36 decorator 5.1.1 dlas 0.0.1 d:\documents\tortoise-new\ai-voice-cloning\modules\dlas dlinfo 1.2.1 einops 0.6.1 exceptiongroup 1.1.2 fastapi 0.100.0 ffmpeg 1.4 ffmpeg-python 0.2.0 ffmpy 0.3.0 filelock 3.9.0 fire 0.5.0 fonttools 4.40.0 frozenlist 1.3.3 fsspec 2023.6.0 ftfy 6.1.1 fugashi 1.2.1 future 0.18.3 g-mlp-pytorch 0.1.5 gitdb 4.0.10 GitPython 3.1.31 google-auth 2.21.0 google-auth-oauthlib 1.0.0 gradio 3.23.0 grpcio 1.56.0 gsa-pytorch 0.2.2 h11 0.14.0 httpcore 0.17.3 httpx 0.24.1 huggingface-hub 0.16.4 idna 3.4 importlib-metadata 6.8.0 importlib-resources 6.0.0 inflect 0.2.5 isodate 0.6.1 jaconv 0.3.3 Jinja2 3.1.2 jiwer 3.0.2 joblib 1.3.1 jsonschema 4.18.0 jsonschema-specifications 2023.6.1 kiwisolver 1.4.4 kornia 0.6.12 lambda-networks 0.4.0 language-tags 1.2.0 librosa 0.6.0 linear-attention-transformer 0.19.1 linformer 0.2.1 linkify-it-py 2.0.2 llvmlite 0.40.1 local-attention 1.8.6 loguru 0.6.0 lxml 4.9.3 manga-ocr 0.1.8 Markdown 3.4.3 markdown-it-py 2.2.0 MarkupSafe 2.1.3 matplotlib 3.7.2 mdit-py-plugins 0.3.3 mdurl 0.1.2 mokuro 0.1.6 more-itertools 9.1.0 mpmath 1.3.0 multidict 6.0.4 munch 4.0.0 mup 1.0.0 music-tag 0.4.3 mutagen 1.46.0 natsort 8.2.0 networkx 3.1 numba 0.57.1 numpy 1.23.5 oauthlib 3.2.2 omegaconf 2.3.0 openai-whisper 20230314 opencv-python 4.7.0.68 orjson 3.9.2 packaging 23.0 pandas 2.0.3 paramiko 3.2.0 phonemizer 3.2.1 Pillow 9.4.0 pip 23.1.2 platformdirs 3.8.1 pooch 1.7.0 product-key-memory 0.2.9 progressbar 2.5 protobuf 4.23.4 psutil 5.9.5 pyarrow 12.0.1 pyasn1 0.5.0 pyasn1-modules 0.3.0 pyclipper 1.3.0.post4 pycparser 2.21 pydantic 1.10.11 pydantic_core 2.1.2 pydeck 0.8.1b0 pydub 0.25.1 Pygments 2.15.1 pylatexenc 2.10 Pympler 1.0.1 PyNaCl 1.5.0 pyparsing 3.0.9 pyperclip 1.8.2 python-dateutil 2.8.2 python-multipart 0.0.6 pytorch-fid 0.1.1 pytorch-ssim 0.1 pytz 2023.3 pytz-deprecation-shim 0.1.0.post0 pyworld 0.2.10 PyYAML 6.0 rapidfuzz 2.13.7 rdflib 6.3.2 referencing 0.29.1 regex 2022.10.31 requests 2.28.2 requests-oauthlib 1.3.1 resampy 0.4.2 rfc3986 1.5.0 rich 13.4.2 rotary-embedding-torch 0.2.5 rpds 1.7.1 rpds-py 0.8.10 rsa 4.9 scikit-learn 1.3.0 scipy 1.10.0 scp 0.14.5 seaborn 0.12.2 segments 2.2.1 semantic-version 2.10.0 sentencepiece 0.1.97 setuptools 58.1.0 shapely 2.0.1 six 1.16.0 smmap 5.0.0 sniffio 1.3.0 soundfile 0.12.1 starlette 0.27.0 streamlit 1.24.1 sympy 1.12 tabulate 0.9.0 tb-nightly 2.14.0a20230708 tenacity 8.2.2 tensorboard 2.13.0 tensorboard-data-server 0.7.1 termcolor 2.2.0 tgt 1.4.4 threadpoolctl 3.1.0 tiktoken 0.3.3 tokenizers 0.12.1 toml 0.10.2 toolz 0.12.0 torch 1.13.1 torchaudio 2.0.2 torchlibrosa 0.0.7 torchsummary 1.5.1 torchvision 0.14.1 tornado 6.3.2 tqdm 4.64.1 transformers 4.19.0 typing_extensions 4.7.1 tzdata 2023.3 tzlocal 4.3.1 uc-micro-py 1.0.2 Unidecode 1.0.22 unidic-lite 1.0.8 uritemplate 4.1.1 urllib3 1.26.14 uvicorn 0.22.0 validators 0.20.0 vector-quantize-pytorch 1.6.28 voicefixer 0.1.2 watchdog 3.0.0 wcwidth 0.2.6 websockets 11.0.3 Werkzeug 2.3.6 wheel 0.40.0 win32-setctime 1.1.0 x-clip 0.12.2 x-transformers 1.0.4 yarl 1.9.2 yattag 1.15.0 zipp 3.15.0 so i uninstalled all pip packages and then i see this when running setup_cuda.bat ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'D:\\Documents\\tortoise-new\\ai-voice-cloning\\venv\\Lib\\site-packages\\bitsandbytes\\__init__.py'

Might be better to re-clone the whole repo and run setup again.

Might be better to re-clone the whole repo and run setup again.

Running into similar issue - did you ever get through it? I followed your commands to install dlas as well.

Running into similar issue - did you ever get through it? I followed your commands to install dlas as well.

For anyone else running into this issue, the following commands worked:
python -m pip install -r .\modules\dlas\requirements.txt
python -m pip install -e .\modules\dlas

I don't understand why doing "pip install dlas" wasn't functioning for me; perhaps it's not officially supported to install like that.

For anyone else running into this issue, the following commands worked: python -m pip install -r .\modules\dlas\requirements.txt python -m pip install -e .\modules\dlas I don't understand why doing "pip install dlas" wasn't functioning for me; perhaps it's not officially supported to install like that.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
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: mrq/ai-voice-cloning#302
No description provided.