When we are using python nni package for hyper-parameter tuning, we have find this error: cannot load file C:\Users\fly165\Documents\WindowsPowerShell\profile.ps1. In this tutorial, we will introduce how to fix this error.
1.Start powershell as administrator
You can follow this tutorial to run powershell as administrator.
2.Type set-ExecutionPolicy RemoteSigned
After having opend powershell, you can type set-ExecutionPolicy RemoteSigned.
Then press Y.
This error will be fixed.