error
`(deepfacelab) can@kali:~/DeepFaceLab_Linux/scripts$ bash 1_clear_workspace.sh
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run
$ conda init <SHELL_NAME>
Currently supported shells are:
- bash
- fish
- tcsh
- xonsh
- zsh
- powershell
See 'conda init --help' for more information and options.
IMPORTANT: You may need to close and restart your shell after running 'conda init'. `
Edit env.sh in the scripts directory, add one line:
#!/usr/bin/env bash
# Add the following line here, change ~/anaconda3 to the place you install anaconda.
source ~/anaconda3/etc/profile.d/conda.sh
# Below are the original lines in this file.
conda activate deepfacelab
...
Try this~
Hello, I am having the same issue and editing the env.sh file does not help :(
@TheLisaRei
you did not write the path correctly, probably.
Try find Conda where conda
Hello, I am having the same issue and editing the env.sh file does not help :(
add this line before conda activate deepfacelabin env.sh
@TheLisaRei you did not write the path correctly, probably. Try find Conda
where conda
Thanks, that wasn't it but somehow it all works now, don't remember how I fixed it - just remember it did make me cry at one point. Cheers
Hello, I am having the same issue and editing the env.sh file does not help :(
add this line before
conda activate deepfacelabin env.sh
it didn't work on my machine.
Add: source ~/anaconda3/etc/profile.d/conda.sh to ~/DeepFaceLab_Linux/scripts/env.sh
`#!/usr/bin/env bash source ~/anaconda3/etc/profile.d/conda.sh conda activate deepfacelab cd .. export DFL_PYTHON="python3.7" export DFL_WORKSPACE="workspace/"
if [ ! -d "$DFL_WORKSPACE" ]; then mkdir "$DFL_WORKSPACE" mkdir "$DFL_WORKSPACE/data_src" mkdir "$DFL_WORKSPACE/data_src/aligned" mkdir "$DFL_WORKSPACE/data_src/aligned_debug" mkdir "$DFL_WORKSPACE/data_dst" mkdir "$DFL_WORKSPACE/data_dst/aligned" mkdir "$DFL_WORKSPACE/data_dst/aligned_debug" mkdir "$DFL_WORKSPACE/model" fi
export DFL_ROOT="./" export DFL_SRC="./DeepFaceLab" `