Anaconda Prompt Closing after Keras installation
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]Anaconda3etckerasload_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:
At first, I simply cannot type or enter anything into the window.
After closing and reopening it, the same message opens up, but is followed by a bunch of text I can't read because the window immediately closes afterward.
In the error message provided, the third line has [User] instead of user. That is because my user's folder name on my computer is "FirstName LastName". There is a space which I'm wondering might be the issue.
I don't want to uninstall Anaconda, as I have a project due in a few days and don't want any installation/loss of data issues.
windows command-line python anaconda
add a comment |
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]Anaconda3etckerasload_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:
At first, I simply cannot type or enter anything into the window.
After closing and reopening it, the same message opens up, but is followed by a bunch of text I can't read because the window immediately closes afterward.
In the error message provided, the third line has [User] instead of user. That is because my user's folder name on my computer is "FirstName LastName". There is a space which I'm wondering might be the issue.
I don't want to uninstall Anaconda, as I have a project due in a few days and don't want any installation/loss of data issues.
windows command-line python anaconda
add a comment |
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]Anaconda3etckerasload_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:
At first, I simply cannot type or enter anything into the window.
After closing and reopening it, the same message opens up, but is followed by a bunch of text I can't read because the window immediately closes afterward.
In the error message provided, the third line has [User] instead of user. That is because my user's folder name on my computer is "FirstName LastName". There is a space which I'm wondering might be the issue.
I don't want to uninstall Anaconda, as I have a project due in a few days and don't want any installation/loss of data issues.
windows command-line python anaconda
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]Anaconda3etckerasload_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:
At first, I simply cannot type or enter anything into the window.
After closing and reopening it, the same message opens up, but is followed by a bunch of text I can't read because the window immediately closes afterward.
In the error message provided, the third line has [User] instead of user. That is because my user's folder name on my computer is "FirstName LastName". There is a space which I'm wondering might be the issue.
I don't want to uninstall Anaconda, as I have a project due in a few days and don't want any installation/loss of data issues.
windows command-line python anaconda
windows command-line python anaconda
edited Jan 26 at 7:20
Scott
15.8k113990
15.8k113990
asked Jan 16 at 12:38
Jay kishan PanjiyarJay kishan Panjiyar
11
11
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Yes, the space in your user name is the issue.
If your user name is Jay kishan Panjiyar, type
python "C:UsersJay kishan PanjiyarAnaconda3etckerasload_config.py" > temp.txt
at the prompt, using quotes to tell the system that
that string with spaces in it is all one filename.
Or, if you're in your home directory (C:UsersJay kishan Panjiyar)
when you do this (as your illustration suggests),
it should be good enough to say
python Anaconda3etckerasload_config.py > temp.txt
P.S. Plain > is equivalent to 1>.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1394927%2fanaconda-prompt-closing-after-keras-installation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, the space in your user name is the issue.
If your user name is Jay kishan Panjiyar, type
python "C:UsersJay kishan PanjiyarAnaconda3etckerasload_config.py" > temp.txt
at the prompt, using quotes to tell the system that
that string with spaces in it is all one filename.
Or, if you're in your home directory (C:UsersJay kishan Panjiyar)
when you do this (as your illustration suggests),
it should be good enough to say
python Anaconda3etckerasload_config.py > temp.txt
P.S. Plain > is equivalent to 1>.
add a comment |
Yes, the space in your user name is the issue.
If your user name is Jay kishan Panjiyar, type
python "C:UsersJay kishan PanjiyarAnaconda3etckerasload_config.py" > temp.txt
at the prompt, using quotes to tell the system that
that string with spaces in it is all one filename.
Or, if you're in your home directory (C:UsersJay kishan Panjiyar)
when you do this (as your illustration suggests),
it should be good enough to say
python Anaconda3etckerasload_config.py > temp.txt
P.S. Plain > is equivalent to 1>.
add a comment |
Yes, the space in your user name is the issue.
If your user name is Jay kishan Panjiyar, type
python "C:UsersJay kishan PanjiyarAnaconda3etckerasload_config.py" > temp.txt
at the prompt, using quotes to tell the system that
that string with spaces in it is all one filename.
Or, if you're in your home directory (C:UsersJay kishan Panjiyar)
when you do this (as your illustration suggests),
it should be good enough to say
python Anaconda3etckerasload_config.py > temp.txt
P.S. Plain > is equivalent to 1>.
Yes, the space in your user name is the issue.
If your user name is Jay kishan Panjiyar, type
python "C:UsersJay kishan PanjiyarAnaconda3etckerasload_config.py" > temp.txt
at the prompt, using quotes to tell the system that
that string with spaces in it is all one filename.
Or, if you're in your home directory (C:UsersJay kishan Panjiyar)
when you do this (as your illustration suggests),
it should be good enough to say
python Anaconda3etckerasload_config.py > temp.txt
P.S. Plain > is equivalent to 1>.
answered Jan 26 at 7:16
ScottScott
15.8k113990
15.8k113990
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1394927%2fanaconda-prompt-closing-after-keras-installation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown