Failed to run "bash 1_clear_workspace.sh"
This is a fresh install on Ubuntu 22.04.3 LTS. The error message is:
(deepfacelab) Tucan@AI-Laptop:~/AI/DeepFaceLab_Linux/scripts$ bash 1_clear_workspace.sh usage: conda [-h] [--no-plugins] [-V] COMMAND ... conda: error: argument COMMAND: invalid choice: 'activate' (choose from 'clean', 'compare', 'config', 'create', 'info', 'init', 'install', 'list', 'notices', 'package', 'remove', 'uninstall', 'rename', 'run', 'search', 'update', 'upgrade', 'build', 'content-trust', 'convert', 'debug', 'develop', 'doctor', 'index', 'inspect', 'metapackage', 'render', 'skeleton', 'server', 'env', 'pack', 'repo', 'token', 'verify')
Anaconda appears to be installed correctly: tucan@AI-Laptop:~/AI/DeepFaceLab_Linux/scripts$ conda info
active environment : base
active env location : /home/tucan/anaconda3
shell level : 3
user config file : /home/tucan/.condarc
populated config files : /home/tucan/.condarc conda version : 23.7.4 conda-build version : 3.26.1 python version : 3.11.5.final.0 virtual packages : __archspec=1=x86_64 __cuda=12.2=0 __glibc=2.35=0 __linux=6.2.0=0 __unix=0=0 base environment : /home/tucan/anaconda3 (writable) conda av data dir : /home/tucan/anaconda3/etc/conda conda av metadata url : None channel URLs : https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/tucan/anaconda3/pkgs /home/tucan/.conda/pkgs envs directories : /home/tucan/anaconda3/envs /home/tucan/.conda/envs platform : linux-64 user-agent : conda/23.7.4 requests/2.31.0 CPython/3.11.5 Linux/6.2.0-39-generic ubuntu/22.04.3 glibc/2.35 aau/0.4.2 c/oJWSFkL-882lEOGAnJN7rQ s/-GluJ0DWcRDd0GSlZW2rpA e/RXP23qFgkph_1G-geAl_IA UID:GID : 1000:1000 netrc file : None offline mode : False
run conda init once and then activate your environment with conda activate env_name
Thank you. I ran both commands. I found thr deepfacelab env_name using the command conda info --envs.
However, I am getting the same error.
Oddly, the error message went away. Now this is what I get: (deepfacelab) tucan@AI-Laptop:~/AI/DeepFaceLab_Linux/scripts$ bash 1_clear_workspace.sh
CondaError: Run 'conda init' before 'conda activate'
Have you used "source" in exchange for "bash"? In my case I found this to work.