PyCharm / Docker compose

I'm trying to configure PyCharm to use a python environment built by docker-compose, running on Docker for Mac. I get as far as the dialog box below, where I need to fill out the field "Remote project location".

Leaving it blank gives me the "Remote path not provided" error. If I type anything into the box I get "This interpreter type does not support remote project creation". If I click on the folder icon, nothing happens. So I'm stuck.

What do I do to fix this?

 

My docker-compose.yml file:

version: '3'
services:
python:
build: .
image: plato/eas:v1
volumes:
- ./datadir:/datadir

My Dockerfile:

FROM python:3.6-buster

RUN pip install numpy scipy cython astropy

WORKDIR /code
ADD src src

WORKDIR /code/src/python_modules/plato_wp36/
RUN python setup.py develop

0
1 comment

Hi, this is a known issue https://youtrack.jetbrains.com/issue/PY-39628

Please vote, feel free to comment, and try the workaround from there.

0

Please sign in to leave a comment.