conda activate You may need to close and restart your shell after running ‘conda init‘.

tags: centos  Deep learning

I just used the company's CentOS7 to run YOLO, and the environment was successful. When I wanted the Conda Activate environment name, I encountered the following errors:

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

The search results on the Internet are as followsSolution link

Simply put, you have n’t entered the Base environment yet, and you ca n’t switch to your new environment, so you need to run first:

source activate
#Cut into the base environment, Source Activate allows you to enter the base environment.

 #Then you can switch to other environments
 Conda Activate's new environment name

 #Exit also use Conda Deaveate

As above.
That's it.

Intelligent Recommendation

Your shell has not been properly configured to use 'conda activate'.

  conda activate environment name Error Your shell has not been properly configured to use 'conda activate'.   Reactivate activate and deactivate with source Then it can be used conda activa...

CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.

conda activate error: Solution: Enter the anconda PowerShell prompt through the Win10 start menu, enter the command set-ExecutionPolicy RemoteSigned, and then enter y to close the interface. Restart M...

Your shell has not been properly configured to use ‘conda activate‘

CONDA activation environment error: CommandNotFounderror: Your Shell Has Not Been Properly configured to use 'conda Activate'. Solution: Then enter conda activate your-env...

Your shell has not been properly configured to use ‘conda activate‘.

Your shell has not been properly configured to use 'conda activate'. Enter Anaconda Prompt  ...

CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘

Problem Description CONDA created a new environment that could not be activated, and the error information was as follows. Cause Analysis The script execution strategy is limited. solution Run Windows...

More Recommendation

Activate the CONDA environment in the shell script

I want to write a Bash script to activate the Python environment, train training using train.py Report: CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. If yo...

You will need to adjust your conda configuration to proceed.

Using $ conda create -n rdkit python=3.6 to create a new environment on the server, the following problems have always appeared: $ conda create -n rdkit python=3.6 Solving environment: failed # >&g...

You will need to adjust your conda configuration to proceed

Conda Tsinghua's mirror can no longer be used:...

conda CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.

enter: Error: Solution: Note: When exiting the anaconda environment, do not use: Will report an error, the reason for the error After that, activate the required environment...

Conda Acitvate Activation Failure: Your Shell Has Not Been Properly Configured To Use 'Conda Activate'.

Article catalog problem the reason solve reference problem A virtual environment is created in Anaconda under Mac, wanting to activate with Conda Activate XXX, but tips: the reason The original enviro...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top