Cannot run with remote interpreter

I use a docker-compose based remote interpreter for a Django project. I completely reinstalled Docker and PyCharm when my previous setup failed to restart containers and often failed to connect to the `web` container.

Now things are better, but using `Run Task` (Alt+R) results in:

Failed to get real commands on module "my_app": python process died with code 1: 
Traceback (most recent call last):
  File "/opt/.pycharm_helpers/pycharm/", line 25, in <module>
  File "/usr/local/lib/python3.9/site-packages/django/", line 19, in setup
    configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
  File "/usr/local/lib/python3.9/site-packages/django/conf/", line 82, in __getattr__
  File "/usr/local/lib/python3.9/site-packages/django/conf/", line 63, in _setup
    raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Requested setting LOGGING_CONFIG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

Under "Languages & Frameworks | Django", "Settings" points to the appropriate ``, "Manage Script" point to ``. I have no environment variables set.

The "Python Interpreter" of my remote interpreter is set to the correct path inside the container. No environment variables are set their either.

I activates Docker-Compose v2 in Docker Desktop and under "Preferences | Build, Execution, Deployment | Docker | Tools".

Comment actions Permalink


there is a confirmed regression please vote for it in order to be updated on resolution. 


For now, you can install the previous version 2022.1.4


I apologize for the inconvenience.   

Comment actions Permalink

Thanks for your reply. Are you sure that's the same problem? The issue has a Java error attached while mine is a Python error? Where would I have to find the Java error message?

Comment actions Permalink

In  ***Help | Collect logs and Diagnostic Data***, there is an idea.log you may upload it to  the FTP and please let me know the filename. 

Comment actions Permalink

Thank you. I uploaded the file as 

Upload id: 2022_09_28_NoBpo3YFmQRDYNJKYWneZx (file:


Please sign in to leave a comment.