I want is to make this Miniconda work on my device and install the kernels I need for VSCode to run and test our program. (base) PS C:\Users\king> conda install ipykernelĬondaError: Error encountered while attempting to create cache directory.ĭirectory: C:\Users\king\AppData\Local\conda\conda\Cache\noticesĮxception: The system cannot find the file specified: 'C:\\Users\\king\\AppData\\Local\\conda\\conda\\Cache' But, I would not discuss it here to focus on the directory problem. 'conda' is not recognized as an internal or external command, operable program, or batch file.Īlthough Anaconda Powershell Prompt is working (I mean it "somehow fixed" the failed to create directory problem) it still fails to perform some codes because of errors. ĪNACONDA PROMPT (CMD): Failed to create temp directory "C:\temp\conda-\" If you want to re-enable it, run 'Import-Module PS Readline'. See the prompt below.ĪNACONDA POWERSHELL PROMPT: Warning: PowerShell detected that you might be using a screen reader and has disabled PSReadlineįor compatibility purposes. Anyways, I disregard it knowing it will work on the other prompt (cause they are the same right?) but when I opened Anaconda Prompt (CMD), the failed to create directory problem still exists. However, when I opened Anaconda Powershell Prompt, it worked but has other problems with it. But, what worked for me (in the meantime) is the solution provided by Sir Ronil on the question (1) above which happened to be the answer also provided on GitHub ( ). I have already followed some steps provided on the questions, on GitHub, and anywhere online. The problem is the "Failed to create temp directory" every time I open the Anaconda Powershell Prompt. I reinstalled Miniconda on my C drive for the reason that might fix the problem.
0 Comments
Leave a Reply. |