0
$\begingroup$

Vineeth Sai indicated in this that with the following code:

pip install cntk 

the problem is solved. However, I am getting the error shown in attached image:

enter image description here

$\endgroup$
0
$\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 ! 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
    $\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 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
0
$\begingroup$

Try with:

sudo pip install cntk

or:

sudo su [type admin password]
pip install cntk  
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.