The term 'conda' is not recognized as the name of a cmdlet
Solution worked for me:
Step 1:
You must be logged into Windows as Administrator then do this
Right-click the Start Button, choose Powershell (admin)
Paste this into Powershell and hit Enter
set-executionpolicy remotesigned
Step 2:
- Install the latest Anaconda + PowerShell
- Open Anaconda prompt, and type "conda init powershell"
- Open PowerShell and it should work.
Basically creates a file at "%userprofile%\Documents\WindowsPowerShell\profile.ps1" that PowerShell will execute every time it initiates, connecting it to PowerShell.
Source: https://hackf5.medium.com/how-to-enable-anaconda-in-powershell-7-on-windows-394ba62c3f9c













网友评论