Cannot import cntk after update to cntk-2.0.beta15.0
When importing cntk it throws this ImportError. It started after I updated cntk to the newest version. Running on Windows 10 both in powershell and pyscripter
Traceback (most recent call last):
File "c:\repos\cntk\bindings\python\cntk\cntk_py.py", line 15, in swig_import_helper
return importlib.import_module(mname)
File "C:\local\Anaconda3-4.1.1-Windows-x86_64\envs\cntk-py35\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "
Hi @aFuerst, I think you may have the PYTHONPATH environment variable set up from previously setting up CNTK build from source. Can you try unsetting? Unfortunately, PYTHONPATH, if it's there, it will take precedence over the CNTK version installed through binary installation.
Thanks, Mark
Removing that from the path solved it, thank you!
Same error. I installed everything under Python 3.5 virtual environment. I got same error when I tried to install the samples. I can see the modules are installed in the correct folder
myenv3.5\Lib\site-packages
03/27/2017 05:07 PM
Hey @mahilleb-msft I met the same error. But there is no PYTHONPATH environment variable in my system. Could you help me?
Thank you.