I installed cntk module in my system but whenever I try to run a code it says no module found
import cntk as C
ModuleNotFoundError: No module named 'cntk'
I installed cntk module in my system but whenever I try to run a code it says no module found
import cntk as C
ModuleNotFoundError: No module named 'cntk'
Copyright © 2021 Jogjafile Inc.
This is very simple problem. You do not have cntk installed*. The answer is same in any "No module named X" questions.
1) Check your python interpreter
inside the same script that throws the error, run
It prints, for example
C:\Python\Python 3.8.6\python.exe. Let's call this<path_to_python>.2) Install the package with the correct interpreter
Instead of
run, (in case or regular Python installation)
or, if the
<path_to_python>points to conda python, you need to activate that conda environment andor install with
* You might have it installed to different python folder/virtual environment.