So I recently downloaded keras through the anaconda prompt (I've downloaded other packages successfully). It actually worked, as I was able to import keras in Jupyter Notebook. However, now I get the following issue when I open the Anaconda Prompt:
C:\Users\[User Name]>python C:\Users\[User Name]\Anaconda3\etc\keras\load_config.py 1>temp.txt
python: can't open file 'C:\Users\[User]': [Errno 2] No such file or directory
C:\Users\[User Name]>set /p KERAS_BACKEND= 0<temp.txt
C:\Users\[User Name]>del temp.txt
C:\Users\[User Name]>python -c "import keras" 1>nul 2>&1
Things to Note:
So, is my folder name having a space the root of the issue? If it is, how do I change it without messing up my computer? If it isn't, do you guys have any ideas of what is the solution to this? Thank you so much, I have two projects due in just a few days :(
Anaconda navigator won't launch Sometimes you will face the issue in which the Anaconda navigator will not be able to start. In order to solve this, make sure to move into the scripts directory C:\Anaconda\Scripts. You may want to refer to the official documentation here.
To install Keras, you will need Anaconda Distribution, which is supported by a company called Continuum Analytics. Anaconda provides a platform for Python and R languages, which is an open-source and free distribution.
After a few days of searching, I found an alternative solution.
Open Anaconda Navigator
Click on Environments
tab ( as shown in the picture)
Click base(root)
(triangle icon) and then click on Open Terminal
By using this solution, you'll be able to open Anaconda Prompt
window and do whatever you want with Anaconda Prompt
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With