'command finished with exit code 2' error when connecting server and PyCharm via ssh (docker image)

Viewed 23

I want to connect docker image and Pycharm. But I have problem when I add remote interpreter in Pycharm through SSH.

I made tenserflow:latest-gpu docker image

docker run -it --runtime=nvidia --name *** -p ***:22 -v ${HOME}/python:/home/*** tensorflow/tensorflow:latest-gpu

But when I add remote interpreter in PyCharm, I get this error. error image

I think server and Pycharm are well connected but

/bin/sh :0 : Illegal option --

error occurs when

> /usr/bin/which python3

how can I solve this error?

0 Answers
Related