daddyparodz / AutoDeOldifyLocal

Automatic installer scripts for DeOldify
MIT License
25 stars 10 forks source link

CommandNotFoundError #1

Closed HibiVixx closed 4 weeks ago

HibiVixx commented 2 years ago

I'm having this problem doing the procedure, but I'm a Ubuntu layman so I'm not sure how to fix it....

------READ THIS------
NOW OPEN ANOTHER SHELL, THEN
RUN THE COMMANDS IN THE TXT FILE [ALSO LISTED HERE]
cd DeOldify
conda activate deoldify
jupyter server --generate-config
jupyter server password
jupyter lab
alex@alex-Ubuntu:~/AutoDeOldifyLocal$ cd DeOldify
alex@alex-Ubuntu:~/AutoDeOldifyLocal/DeOldify$ conda activate deoldify
conda: comando não encontrado
alex@alex-Ubuntu:~/AutoDeOldifyLocal/DeOldify$ ~/miniconda3/bin/conda activate deoldify

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'.

`------READ THIS------
NOW OPEN ANOTHER SHELL, THEN
RUN THE COMMANDS IN THE TXT FILE [ALSO LISTED HERE]
cd DeOldify
conda activate deoldify
jupyter server --generate-config
jupyter server password
jupyter lab
alex@alex-Ubuntu:~/AutoDeOldifyLocal$ cd DeOldify
alex@alex-Ubuntu:~/AutoDeOldifyLocal/DeOldify$ conda activate deoldify
conda: comando não encontrado
alex@alex-Ubuntu:~/AutoDeOldifyLocal/DeOldify$ ~/miniconda3/bin/conda activate deoldify

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'.

alex@alex-Ubuntu:~/AutoDeOldifyLocal/DeOldify$

if you see some snippet in a different language, it's portuguese...

Thank you for your attention

👍🏻😎👍🏻

TechHalloman commented 2 years ago

hi...conda env create -f environment.yml missing

derplayer commented 2 years ago

same problem here on wsl "conda init bash" does not help

DanialPahlavan commented 1 year ago

same problem here on wsl "conda init bash" does not help

Hi,Restart WSL or reinstall conda like anaconda

EMRD95 commented 8 months ago

source ~/.bashrc

daddyparodz commented 4 weeks ago

After restarting the shell or WSL, the problem should go away. Please check the newly updated scripts to see if the issue persists.