Comments (4)
mikepugh I also ran into this error. I followed docker installation for Mac with cntk:2.2-cpu-python2.7
, but when I run import cntk
I get the following errors.
Err 1 : ImportError: No module named 'cntk._cntk_py'
Err 2 : ImportError: libnvidia-Machine Learning.so.1: cannot open shared object file: No such file or directory
Issue should be Re-Opened!!!
from cntk-docker.
With docker pull microsoft/cntk
you get GPU version of CNTK. If this is what you want to do, then you need to use nvidia-docker to create container. I.e.
nvidia-docker run -d -p 8888:8888 --name cntk-jupyter-notebooks -t Microsoft/CNTK
After this everything should work.
If you do NOT want a GPU version, then pull another tag. See https://hub.docker.com/r/microsoft/cntk/ for the tag information.
Hope it helps,
Alexey.
from cntk-docker.
I've run into the originally posted import cntk
error on the latest cntk:2.2-cpu-python3.5
docker image. I tested just now with both the 2.1
and 2.0
versions and they work as expected.
from cntk-docker.
Big thanks to @alexeyo26
For future reference, the correct steps for running CPU version should be taken are:
docker pull microsoft/cntk:2.0-cpu-python3.5
docker run -d -p 8888:8888 --name cntk-jupyter-notebooks -t microsoft/cntk:2.0-cpu-python3.5
docker exec -it cntk-jupyter-notebooks bash -c "source /cntk/activate-cntk && jupyter-notebook --no-browser --port=8888 --ip=0.0.0.0 --notebook-dir=/cntk/Tutorials --allow-root"
from cntk-docker.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cntk-docker.