This method worked for me.
                        
                        Run PowerShell and run the command to open the profile in your text editor:
                        
                        
                        
                            notepad $PROFILE
                        
                        
                        
                        In the profile file that opens, add this text from a new line 
                        
                        
                        
                            # >>> conda initialize >>>
                        
                            # !! Contents within this block are managed by 'conda init' !!
                        
                            (& "C:\Users\ivans\anaconda3\shell\condabin\conda-hook.ps1") | Out-Null
                        
                            # <<< conda initialize <<<
                        
                        
                        
                        Save the file and restart the terminal
                        
                
             
            
                
                    
                        This method worked for me.
                        
                        Run PowerShell and run the command to open the profile in your text editor:
                        
                        
                        
                            notepad $PROFILE
                        
                        
                        
                        In the profile file that opens, add this text from a new line 
                        
                        
                        
                            # >>> conda initialize >>>
                        
                            # !! Contents within this block are managed by 'conda init' !!
                        
                            (& "C:\Users\ivans\anaconda3\shell\condabin\conda-hook.ps1") | Out-Null
                        
                            # <<< conda initialize <<<
                        
                        
                        
                        Save the file and restart the terminal