I am trying to run a project based on a Docker Image (Tensorflow, following instructions from this tutorial) as described in this blog. The Docker is running fine, but I'm unable to import it in PyCharm (professional, does not work in community version). I get the following error message:
Error running main: Can't run remote python interpreter: {"message":"Invalid bind mount spec \"C:/Path-to-project/Project-name:/opt/project:rw\": Invalid volume specification: 'C:/Path-to-project/Project-name:/opt/project:rw'"}
How to solve this?
This is a Windows Linux path problem. To solve it, change project paths to the Docker file to /c/Path-to-project/Project-name
(with a lower case c and forward slashes) in order to solve this problem. Inspired by this link.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With