Using tensor flow in an IDE on windows

I used docker installation as suggested at https://bishnusarker.wordpress.com/2015/11/11/how-to-install-google-tensorflow-in-your-windows-machine-using-docker-image/ to run shadoworflow on my windows 7 computer. I have this and it works on the docker terminal. I would like to know how to import tensorflow library from PyCharm IDE. Any help or pointers would be greatly appreciated as the information on this subject is rather scarce.

+5
source share
2 answers

Since I'm currently struggling with a similar problem, I came across your question. You can run PyCharm on your Windows computer and configure the remote interpreter to mount your python code on the docker image in which your libraries are located and run it there, as described here: https://blog.jetbrains.com/pycharm/ 2015/12 / using-docker-in-pycharm / For tensor flow in particular, it can be interesting also: http://killianlevacher.imtqy.com/blog/posts/post-2016-07-22/post.html

+1
source

There is no way to make it work. Your tensorflow installation is inside the docker container, while PyCharm, running on Windows, is looking for your available Python libraries on Windows; he does not have access to the docker.

Instead, you could try installing and running PyCharm in the docker (I'm not sure how viable it is).

0
source

Source: https://habr.com/ru/post/1244113/


All Articles