Error while WSL distribution introspection

Hello there,

I am looking for a solution about an error encountered during the WSL introspection. Can you tell me if someone encountered this issue too?

C:\WINDOWS\system32\wsl.exe --distribution Ubuntu-22.04 --exec pwd
/mnt/c/Program Files/JetBrains/PyCharm 2022.2.2/jbr/bin
Process finished with exit code 0

C:\WINDOWS\system32\wsl.exe --distribution Ubuntu-22.04 --exec /bin/bash -i -l -c "echo 'intellij: executing command...' && /usr/bin/which python3"
Process finished with exit code -1

intellij: executing command...
/usr/bin/python3
HOME=null

C:\WINDOWS\system32\wsl.exe --distribution Ubuntu-22.04 --exec pwd
/mnt/c/Program Files/JetBrains/PyCharm 2022.2.2/jbr/bin
Process finished with exit code 0

Introspection completed successfully!

As you can see the introspection ends successfully but during the process it fails at the first part. It happens when I try to add a new Python interpreter in my subsystem using the PyCharm tool. 

Even if it's not blocking I would like to know if someone knows what happens and if it is only about PyCharm configuration.

Thanks in advance.

Please sign in to leave a comment.