marianne-m/brouhaha-maker

Installing datamaker

Opened this issue · 0 comments

Hello,

I was trying to install datamaker environment following the instructions:
conda env create -f env_datamaker.yml
conda activate datamaker

This ended with the following error:
"--------------------------------------------------------------------------"
Pip subprocess error:
Running command git clone --filter=blob:none --quiet 'ssh://****@github.com/fairinternal/speech_augment.git' /home/alexey/Alexey/Sources/brouhaha-maker/src/augment
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet 'ssh://****@github.com/fairinternal/speech_augment.git' /home/alexey/Alexey/Sources/brouhaha-maker/src/augment did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet 'ssh://****@github.com/fairinternal/speech_augment.git' /home/alexey/Alexey/Sources/brouhaha-maker/src/augment did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

failed

CondaEnvException: Pip failed
"--------------------------------------------------------------------------"

This is quite obviously because of a restricted access to 'ssh://****@github.com/fairinternal/speech_augment.git'

Other two small issues I had:

  1. It was necessary (otherwise it was not working) to replace
    - tgt
    - torch-audiomentations
    by
    - pip:
    - tgt
    - torch-audiomentations
    in env_datameker.yml

  2. Finally
    conda env create -f env_datamaker.yml
    was taking forever while solving dependencies, so I needed to run rather
    mamba env create -f env_datamaker.yml

Thanks !