Problem
-
When attempting to access the terminal within a project using a Conda environment on a Windows the error below is displayed:
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< Traceback (most recent call last): File "conda\exception_handler.py", line 18, in __call__ File "conda\cli\main.py", line 87, in main_sourced File "conda\activate.py", line 238, in execute File "conda\activate.py", line 220, in hook File "pathlib.py", line 1027, in read_text File "pathlib.py", line 1013, in open FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\<username\\AppData\\Local\\Temp\\_MEI77522\\conda\\shell\\condabin\\conda-hook.ps1' `$ C:\Users\<username>\AppData\Local\miniforge3\_conda.exe shell.powershell hook` -
_conda.exeis specified during project creation.
Cause
PyCharm does not support _conda.exe Recognize _conda.exe as a path to conda executable
Resolution
Change to the path to conda from _conda.exe to valid conda.exe.
Comments
0 comments
Please sign in to leave a comment.