Useful or not, from you.
platformio-vscode-ide ModuleNotFoundError: No module named 'distutils.spawn'

Description of problem

Leave a comment...

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

  • https://github.com/platformio/platformio-vscode-ide/issues

Configuration

VSCode: 1.32.3 PIO IDE: v1.6.0 System: Linux, 4.15.0-45-generic, x64

Exception

Error: Could not create PIO Core Virtual Environment. Please create it manually -> http://bit.ly/pio-core-virtualenv 
 Error: Virtualenv Create: Traceback (most recent call last):
  File "/home/danibaal98/.platformio/.cache/tmp-4562yE7EWDppJxLM/virtualenv-16.1.0/src/virtualenv.py", line 20, in <module>
    import distutils.spawn
ModuleNotFoundError: No module named 'distutils.spawn'


	at t.value (/home/danibaal98/.vscode/extensions/platformio.platformio-ide-1.6.0/node_modules/platformio-node-helpers/dist/index.js:1:25327)
That's a useful answer
Without any help

Please provide an output from a system Terminal

echo $PATH
echo $PYTHONPATH
python --version
pip --version
pip list