Problem importing CNTK in Azure jupyter notebook
$begingroup$
Vineeth Sai indicated https://stackoverflow.com/questions/53316927/no-module-named-cntk]2 that with the following code `
pip install cntk
`the problem is solved. But I have an error shawn in the attached image.

python jupyter azure-ml
$endgroup$
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
$begingroup$
Vineeth Sai indicated https://stackoverflow.com/questions/53316927/no-module-named-cntk]2 that with the following code `
pip install cntk
`the problem is solved. But I have an error shawn in the attached image.

python jupyter azure-ml
$endgroup$
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
$begingroup$
Vineeth Sai indicated https://stackoverflow.com/questions/53316927/no-module-named-cntk]2 that with the following code `
pip install cntk
`the problem is solved. But I have an error shawn in the attached image.

python jupyter azure-ml
$endgroup$
Vineeth Sai indicated https://stackoverflow.com/questions/53316927/no-module-named-cntk]2 that with the following code `
pip install cntk
`the problem is solved. But I have an error shawn in the attached image.

python jupyter azure-ml
python jupyter azure-ml
edited Dec 24 '18 at 17:06
Random Nerd
708
708
asked Dec 23 '18 at 13:40
Hermes MoralesHermes Morales
194
194
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
Keeping your latest edit in mind, the error in your screenshot is actually just a recommendation to upgrade pip. As suggested, please run pip install --upgrade pip, and it shall upgrade pip package in your environment and shall not re-appear unless a new version of pip get released later on.
$endgroup$
$begingroup$
It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
$endgroup$
– Hermes Morales
Dec 24 '18 at 18:23
$begingroup$
In your screenshot, I see that you've added an additional!beforepip install --upgrade pip, which isn't required. If it still doesn't work, trysudo pip install --upgrade pipas well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.
$endgroup$
– Random Nerd
Dec 25 '18 at 8:47
1
$begingroup$
When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
$endgroup$
– Hermes Morales
Dec 25 '18 at 21:56
$begingroup$
I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
$endgroup$
– Hermes Morales
Dec 25 '18 at 22:22
$begingroup$
If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to runpwdin Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.
$endgroup$
– Random Nerd
Dec 26 '18 at 13:53
|
show 1 more comment
$begingroup$
Try with:
sudo pip install cntk
or:
sudo su [type admin password]
pip install cntk
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "557"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2fdatascience.stackexchange.com%2fquestions%2f43068%2fproblem-importing-cntk-in-azure-jupyter-notebook%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Keeping your latest edit in mind, the error in your screenshot is actually just a recommendation to upgrade pip. As suggested, please run pip install --upgrade pip, and it shall upgrade pip package in your environment and shall not re-appear unless a new version of pip get released later on.
$endgroup$
$begingroup$
It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
$endgroup$
– Hermes Morales
Dec 24 '18 at 18:23
$begingroup$
In your screenshot, I see that you've added an additional!beforepip install --upgrade pip, which isn't required. If it still doesn't work, trysudo pip install --upgrade pipas well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.
$endgroup$
– Random Nerd
Dec 25 '18 at 8:47
1
$begingroup$
When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
$endgroup$
– Hermes Morales
Dec 25 '18 at 21:56
$begingroup$
I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
$endgroup$
– Hermes Morales
Dec 25 '18 at 22:22
$begingroup$
If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to runpwdin Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.
$endgroup$
– Random Nerd
Dec 26 '18 at 13:53
|
show 1 more comment
$begingroup$
Keeping your latest edit in mind, the error in your screenshot is actually just a recommendation to upgrade pip. As suggested, please run pip install --upgrade pip, and it shall upgrade pip package in your environment and shall not re-appear unless a new version of pip get released later on.
$endgroup$
$begingroup$
It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
$endgroup$
– Hermes Morales
Dec 24 '18 at 18:23
$begingroup$
In your screenshot, I see that you've added an additional!beforepip install --upgrade pip, which isn't required. If it still doesn't work, trysudo pip install --upgrade pipas well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.
$endgroup$
– Random Nerd
Dec 25 '18 at 8:47
1
$begingroup$
When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
$endgroup$
– Hermes Morales
Dec 25 '18 at 21:56
$begingroup$
I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
$endgroup$
– Hermes Morales
Dec 25 '18 at 22:22
$begingroup$
If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to runpwdin Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.
$endgroup$
– Random Nerd
Dec 26 '18 at 13:53
|
show 1 more comment
$begingroup$
Keeping your latest edit in mind, the error in your screenshot is actually just a recommendation to upgrade pip. As suggested, please run pip install --upgrade pip, and it shall upgrade pip package in your environment and shall not re-appear unless a new version of pip get released later on.
$endgroup$
Keeping your latest edit in mind, the error in your screenshot is actually just a recommendation to upgrade pip. As suggested, please run pip install --upgrade pip, and it shall upgrade pip package in your environment and shall not re-appear unless a new version of pip get released later on.
answered Dec 23 '18 at 14:52
Random NerdRandom Nerd
708
708
$begingroup$
It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
$endgroup$
– Hermes Morales
Dec 24 '18 at 18:23
$begingroup$
In your screenshot, I see that you've added an additional!beforepip install --upgrade pip, which isn't required. If it still doesn't work, trysudo pip install --upgrade pipas well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.
$endgroup$
– Random Nerd
Dec 25 '18 at 8:47
1
$begingroup$
When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
$endgroup$
– Hermes Morales
Dec 25 '18 at 21:56
$begingroup$
I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
$endgroup$
– Hermes Morales
Dec 25 '18 at 22:22
$begingroup$
If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to runpwdin Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.
$endgroup$
– Random Nerd
Dec 26 '18 at 13:53
|
show 1 more comment
$begingroup$
It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
$endgroup$
– Hermes Morales
Dec 24 '18 at 18:23
$begingroup$
In your screenshot, I see that you've added an additional!beforepip install --upgrade pip, which isn't required. If it still doesn't work, trysudo pip install --upgrade pipas well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.
$endgroup$
– Random Nerd
Dec 25 '18 at 8:47
1
$begingroup$
When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
$endgroup$
– Hermes Morales
Dec 25 '18 at 21:56
$begingroup$
I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
$endgroup$
– Hermes Morales
Dec 25 '18 at 22:22
$begingroup$
If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to runpwdin Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.
$endgroup$
– Random Nerd
Dec 26 '18 at 13:53
$begingroup$
It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
$endgroup$
– Hermes Morales
Dec 24 '18 at 18:23
$begingroup$
It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
$endgroup$
– Hermes Morales
Dec 24 '18 at 18:23
$begingroup$
In your screenshot, I see that you've added an additional
! before pip install --upgrade pip, which isn't required. If it still doesn't work, try sudo pip install --upgrade pip as well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.$endgroup$
– Random Nerd
Dec 25 '18 at 8:47
$begingroup$
In your screenshot, I see that you've added an additional
! before pip install --upgrade pip, which isn't required. If it still doesn't work, try sudo pip install --upgrade pip as well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.$endgroup$
– Random Nerd
Dec 25 '18 at 8:47
1
1
$begingroup$
When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
$endgroup$
– Hermes Morales
Dec 25 '18 at 21:56
$begingroup$
When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
$endgroup$
– Hermes Morales
Dec 25 '18 at 21:56
$begingroup$
I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
$endgroup$
– Hermes Morales
Dec 25 '18 at 22:22
$begingroup$
I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
$endgroup$
– Hermes Morales
Dec 25 '18 at 22:22
$begingroup$
If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to run
pwd in Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.$endgroup$
– Random Nerd
Dec 26 '18 at 13:53
$begingroup$
If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to run
pwd in Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.$endgroup$
– Random Nerd
Dec 26 '18 at 13:53
|
show 1 more comment
$begingroup$
Try with:
sudo pip install cntk
or:
sudo su [type admin password]
pip install cntk
$endgroup$
add a comment |
$begingroup$
Try with:
sudo pip install cntk
or:
sudo su [type admin password]
pip install cntk
$endgroup$
add a comment |
$begingroup$
Try with:
sudo pip install cntk
or:
sudo su [type admin password]
pip install cntk
$endgroup$
Try with:
sudo pip install cntk
or:
sudo su [type admin password]
pip install cntk
answered Dec 25 '18 at 23:51
PawełPaweł
465
465
add a comment |
add a comment |
Thanks for contributing an answer to Data Science Stack Exchange!
- 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.
Use MathJax to format equations. MathJax reference.
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%2fdatascience.stackexchange.com%2fquestions%2f43068%2fproblem-importing-cntk-in-azure-jupyter-notebook%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