Cannot Open Local - failed to start [powershell.exe, -NoExit, -ExecutionPloicy, Bypass, -file, ]

Answered

here is the Error shown in the terminal:

Cannot open Local
Failed to start [powershell.exe, -NoExit, -ExecutionPolicy, Bypass, -File, C:\Program Files\JetBrains\GoLand 2024.1.4\plugins\terminal\shell-integrations\powershell\powershell-integration.ps1] in C:\Users\Ayush (JSOC)\GolandProjects\awesomeProject1, [columns=180, rows=10], envs={CommonProgramFiles=>C:\Program Files\Common Files, =::=>::\, EFC_13180=>1, GO111MODULE=>on, ProgramData=>C:\ProgramData, COMPUTERNAME=>LAPTOP-N9PT57FI, SystemDrive=>C:, OnlineServices=>Online Services, USERDOMAIN=>LAPTOP-N9PT57FI, OneDriveConsumer=>C:\Users\Ayush (JSOC)\OneDrive, OneDrive=>C:\Users\Ayush (JSOC)\OneDrive, CommonProgramFiles(x86)=>C:\Program Files (x86)\Common Files, TEMP=>C:\Users\AYUSH(~1\AppData\Local\Temp, TMP=>C:\Users\AYUSH(~1\AppData\Local\Temp, _INTELLIJ_FORCE_SET_GOPATH=>C:\Users\Ayush (JSOC)\go, ProgramFiles=>C:\Program Files, USERDOMAIN_ROAMINGPROFILE=>LAPTOP-N9PT57FI, windir=>C:\WINDOWS, PROCESSOR_LEVEL=>6, ComSpec=>C:\WINDOWS\system32\cmd.exe, NUMBER_OF_PROCESSORS=>20, PROCESSOR_ARCHITECTURE=>AMD64, OS=>Windows_NT, JETBRAINS_INTELLIJ_COMMAND_END_MARKER=>PnZ5A3NiZL87e9a7glPYnIrEeufFjWUaIU0Aqrhm5QyPMjHtkLGiKjileJT0eRF5, _INTELLIJ_FORCE_SET_GO111MODULE=>on, ProgramFiles(x86)=>C:\Program Files (x86), PSModulePath=>C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules, PATHEXT=>.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, RegionCode=>APJ, PROCESSOR_IDENTIFIER=>Intel64 Family 6 Model 154 Stepping 3, GenuineIntel, APPDATA=>C:\Users\Ayush (JSOC)\AppData\Roaming, LOCALAPPDATA=>C:\Users\Ayush (JSOC)\AppData\Local, _INTELLIJ_FORCE_PREPEND_PATH=>C:\Program Files\Go\bin;C:\Users\Ayush (JSOC)\go\bin;, MIC_LD_LIBRARY_PATH=>C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\mic, HOMEPATH=>\Users\Ayush (JSOC), SystemRoot=>C:\WINDOWS, INTEL_DEV_REDIST=>C:\Program Files (x86)\Common Files\Intel\Shared Libraries\, LOGONSERVER=>\\LAPTOP-N9PT57FI, TERMINAL_EMULATOR=>JetBrains-JediTerm, SESSIONNAME=>Console, HOMEDRIVE=>C:, DriverData=>C:\Windows\System32\Drivers\DriverData, GOROOT=>C:/Program Files/Go, Path=>C:\Program Files\Go\bin;C:\Users\Ayush (JSOC)\go\bin;D:\imp SOFTWARE\xampp\php;C:\Program Files\Git\cmd;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\nodejs\;C:\Program Files\Go\bin, PUBLIC=>C:\Users\Public, IDEA_INITIAL_DIRECTORY=>C:\Users\Ayush (JSOC)\Desktop, PROCESSOR_REVISION=>9a03, platformcode=>M7, _INTELLIJ_FORCE_SET_GOROOT=>C:/Program Files/Go, ALLUSERSPROFILE=>C:\ProgramData, USERPROFILE=>C:\Users\Ayush (JSOC), USERNAME=>Ayush (JSOC), GOPATH=>C:\Users\Ayush (JSOC)\go, CommonProgramW6432=>C:\Program Files\Common Files, ProgramW6432=>C:\Program Files, ZES_ENABLE_SYSMAN=>1, TERM_SESSION_ID=>12570783-2f7c-4196-95be-6af02a54d7b2}


See IDE log (Help | Show Log in Explorer) for the details.

 

0
1 comment

Hi, please check if the correct  System variables are set on Windows. Also, double-check if it's point correctly at  PyCharm at File | Settings | Tools | Terminal

In case the issue persists,  please attach the zipped IDE UI logs from Help | Collect Logs and Diagnostic Data  at https://uploads.jetbrains.com/ and share it's uploadID

0

Please sign in to leave a comment.