When I open the integrated terminal in PyCharm (PowerShell), I get this error:
Every time I restart PyCharm, the _MEIxxxxx folder name changes (e.g., _MEI131402, _MEI45642), so copying the file there doesn’t help.
However, my real Conda installation is at: D:\software\miniconda
I’ve already tried:
- Re-running
conda init powershell - Manually editing
$PROFILEto callconda-hook.ps1from the real path - Setting
CONDA_ROOTandCONDA_EXEin environment variables
But the problem persists only in PyCharm’s terminal.
Running PowerShell outside PyCharm works fine.
How can I stop Conda from being initialized from the _MEIxxxxx temporary folder when using PyCharm?
![FileNotFoundError: [Errno 2] No such file or directory:
'C:\Users\26396\AppData\Local\Temp_MEI45642\conda\shell\condabin\conda-hook.ps1'](https://mapledrawhubb.com/i.sstatic.net/LhhJQzmd.jpg)
_MEIxxxxxmay suggest that you run some Python code converted to.exeusingPyInstaller.PyInstallercreates self-executable.zipfile (with extension.exe) - when you run it then it creates random folder with name like_MEIxxxxx, extracts all files from.exeto this folder and runs code in this folder. I don't use Windows so I can't help more - but I wonder why you need to useconda init powershell.condawasn’t recognized there until I ranconda init powershell.