Tutorial Example

Fix PowerShell cannot Load WindowsPowerShell\profile.ps1 on Windows 10 – PowerShell Tutorial

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.

Best Practice to Open Powershell on Windows 10

2.Type set-ExecutionPolicy RemoteSigned

After having opend powershell, you can type set-ExecutionPolicy RemoteSigned.

Then press Y.

This error will be fixed.