VS Code extension installation error - invalid command 'bdist_wheel'
Posted: Sat May 16, 2020 6:17 am
Hi,
I'm trying to install VS Code extension. But I get an error:
What could I do?
I'm trying to install VS Code extension. But I get an error:
. The log below provides more information about the context:error: invalid command 'bdist_wheel'
About my configuration: I'm using Linux Mint 19.3 (based on Ubuntu 18.04). Python2 and python3 are installed. I provided python3 path to ESP-IDF extension. Before starting the installation of the extension, I installed python-wheel and python3-wheel, and python3-venv (without python3-venv, the installation fails before the above error).Installing package Toolchain for Xtensa (ESP32) based on GCC
Installing tar.gz package Toolchain for Xtensa (ESP32) based on GCC
Installing package Toolchain for ESP32 ULP coprocessor
Installing tar.gz package Toolchain for ESP32 ULP coprocessor
Installing package OpenOCD for ESP32
Installing tar.gz package OpenOCD for ESP32
Installing python virtualenv and ESP-IDF python requirements...
Creating a new Python environment in /home/pascalb/.espressif/python_env/idf4.0_py3.6_env ...
Requirement already satisfied: setuptools in ./lib/python3.6/site-packages (from -r /home/pascalb/esp-idf/requirements.txt (line 4))
Collecting click>=5.0 (from -r /home/pascalb/esp-idf/requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Collecting pyserial>=3.0 (from -r /home/pascalb/esp-idf/requirements.txt (line 9))
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Collecting future>=0.15.2 (from -r /home/pascalb/esp-idf/requirements.txt (line 10))
Using cached https://files.pythonhosted.org/packages ... 8.2.tar.gz
Collecting cryptography>=2.1.4 (from -r /home/pascalb/esp-idf/requirements.txt (line 11))
Using cached https://files.pythonhosted.org/packages ... x86_64.whl
Collecting pyparsing<2.4.0,>=2.0.3 (from -r /home/pascalb/esp-idf/requirements.txt (line 12))
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Collecting pyelftools>=0.22 (from -r /home/pascalb/esp-idf/requirements.txt (line 13))
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Collecting six>=1.4.1 (from cryptography>=2.1.4->-r /home/pascalb/esp-idf/requirements.txt (line 11))
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.1.4->-r /home/pascalb/esp-idf/requirements.txt (line 11))
Using cached https://files.pythonhosted.org/packages ... x86_64.whl
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=2.1.4->-r /home/pascalb/esp-idf/requirements.txt (line 11))
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Building wheels for collected packages: future
Running setup.py bdist_wheel for future: started
Running setup.py bdist_wheel for future: finished with status 'error'
Complete output from command /home/pascalb/.espressif/python_env/idf4.0_py3.6_env/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_yb_nody/future/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpgn5_z3rrpip-wheel- --python-tag cp36:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Running setup.py clean for future
Failed to build future
What could I do?