Instalattion on Lubuntu

Hello everybody,

I want to install Hass on a eeePC (Azus) on which I already installed Lubuntu (18.04) but after some try, I’m blocked.

I tried the Python virtual environment installation, but I have the following result :

pc@pc-1015CX:~$ python3 -m venv homeassistant
pc@pc-1015CX:~$ cd homeassistant
pc@pc-1015CX:~/homeassistant$ source bin/activate
(homeassistant) pc@pc-1015CX:~/homeassistant$ python3 -m pip install homeassistant
Collecting homeassistant
  Downloading https://files.pythonhosted.org/packages/40/9a/4ddea164074408ca014925e2870949f7d63ed1939bcb62124eb9c7c0035b/homeassistant-0.100.3-py3-none-any.whl (5.5MB)
    100% |████████████████████████████████| 5.5MB 49kB/s
Collecting importlib-metadata==0.23 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/f6/d2/40b3fa882147719744e6aa50ac39cf7a22a913cbcba86a0371176c425a3b/importlib_metadata-0.23-py2.py3-none-any.whl
Collecting aiohttp==3.6.1 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/c2/fb/d5ddf428aba63935d4d4f7d21b365659df968d6793ae1c072273580cd5a0/aiohttp-3.6.1-cp36-cp36m-manylinux1_i686.whl (1.1MB)
    100% |████████████████████████████████| 1.1MB 149kB/s
Collecting requests==2.22.0 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
    100% |████████████████████████████████| 61kB 250kB/s
Collecting bcrypt==3.1.7 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/fa/aa/025a3ab62469b5167bc397837c9ffc486c42a97ef12ceaa6699d8f5a5416/bcrypt-3.1.7.tar.gz (42kB)
    100% |████████████████████████████████| 51kB 282kB/s
Collecting voluptuous==0.11.7 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/24/3b/fe531688c0d9e057fccc0bc9430c0a3d4b90e0d2f015326e659c2944e328/voluptuous-0.11.7.tar.gz (45kB)
    100% |████████████████████████████████| 51kB 272kB/s
Collecting voluptuous-serialize==2.3.0 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/9c/b0/4df1ac9857141ff20d58a97afa66a128f8dd45b80116204e0c4021a4b9a5/voluptuous-serialize-2.3.0.tar.gz
Collecting contextvars==2.4; python_version < "3.7" (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/83/96/55b82d9f13763be9d672622e1b8106c85acb83edd7cc2fa5bc67cd9877e9/contextvars-2.4.tar.gz
Collecting async-timeout==3.0.1 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
Collecting certifi>=2019.6.16 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl (154kB)
    100% |████████████████████████████████| 163kB 252kB/s
Collecting jinja2>=2.10.1 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl (125kB)
    100% |████████████████████████████████| 133kB 247kB/s
Collecting attrs==19.2.0 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/6b/e8/2ecaf86b128a34e225807f03b22664302937ab826bd3b7eccab6754d29ea/attrs-19.2.0-py2.py3-none-any.whl (40kB)
    100% |████████████████████████████████| 40kB 240kB/s
Requirement already satisfied: pip>=8.0.3 in ./lib/python3.6/site-packages (from homeassistant)
Collecting ruamel.yaml==0.15.100 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/9a/ee/55cd64bbff971c181e2d9e1c13aba9a27fd4cd2bee545dbe90c44427c757/ruamel.yaml-0.15.100.tar.gz (318kB)
    100% |████████████████████████████████| 327kB 224kB/s
Collecting astral==1.10.1 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/ff/5d/261f49822b7f77c265197d46cdbaaaaf06f458734e9ac55a140dd75bdf29/astral-1.10.1-py2.py3-none-any.whl
Collecting cryptography==2.7 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/c2/95/f43d02315f4ec074219c6e3124a87eba1d2d12196c2767fadfdc07a83884/cryptography-2.7.tar.gz (495kB)
    100% |████████████████████████████████| 501kB 154kB/s
Collecting python-slugify==3.0.4 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/f5/ef/c868a9ac657405f051a8a501ac5633e769c54228716b8db7f8d717977e57/python-slugify-3.0.4.tar.gz
Collecting pyyaml==5.1.2 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB)
    100% |████████████████████████████████| 266kB 153kB/s
Collecting pytz>=2019.02 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl (509kB)
    100% |████████████████████████████████| 512kB 211kB/s
Collecting PyJWT==1.7.1 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl
Collecting zipp>=0.5 (from importlib-metadata==0.23->homeassistant)
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting yarl<2.0,>=1.0 (from aiohttp==3.6.1->homeassistant)
  Downloading https://files.pythonhosted.org/packages/c5/6f/2307c860ea0fa9a256a08d9d5bcd86226721036ed1807a6dc15898a4f53f/yarl-1.3.0-cp36-cp36m-manylinux1_i686.whl (240kB)
    100% |████████████████████████████████| 245kB 226kB/s
Collecting idna-ssl>=1.0; python_version < "3.7" (from aiohttp==3.6.1->homeassistant)
  Downloading https://files.pythonhosted.org/packages/46/03/07c4894aae38b0de52b52586b24bf189bb83e4ddabfe2e2c8f2419eec6f4/idna-ssl-1.1.0.tar.gz
Collecting chardet<4.0,>=2.0 (from aiohttp==3.6.1->homeassistant)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 268kB/s
Collecting typing-extensions>=3.6.5; python_version < "3.7" (from aiohttp==3.6.1->homeassistant)
  Downloading https://files.pythonhosted.org/packages/27/aa/bd1442cfb0224da1b671ab334d3b0a4302e4161ea916e28904ff9618d471/typing_extensions-3.7.4-py3-none-any.whl
Collecting multidict<5.0,>=4.5 (from aiohttp==3.6.1->homeassistant)
  Downloading https://files.pythonhosted.org/packages/29/62/92a6ba7ed843a289a10c92b1b3272d4efc71e461b9b686b4811b26084ecf/multidict-4.5.2-cp36-cp36m-manylinux1_i686.whl (294kB)
    100% |████████████████████████████████| 296kB 210kB/s
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests==2.22.0->homeassistant)
  Downloading https://files.pythonhosted.org/packages/e0/da/55f51ea951e1b7c63a579c09dd7db825bb730ec1fe9c0180fc77bfb31448/urllib3-1.25.6-py2.py3-none-any.whl (125kB)
    100% |████████████████████████████████| 133kB 246kB/s
Collecting idna<2.9,>=2.5 (from requests==2.22.0->homeassistant)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
    100% |████████████████████████████████| 61kB 246kB/s
Collecting cffi>=1.1 (from bcrypt==3.1.7->homeassistant)
  Downloading https://files.pythonhosted.org/packages/4d/22/cad5003209272e4e151c78c3ed3e9bba608d484240b1411bf5a8c9357cb4/cffi-1.13.1-cp36-cp36m-manylinux1_i686.whl (371kB)
    100% |████████████████████████████████| 378kB 209kB/s
Collecting six>=1.4.1 (from bcrypt==3.1.7->homeassistant)
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting immutables>=0.9 (from contextvars==2.4; python_version < "3.7"->homeassistant)
  Downloading https://files.pythonhosted.org/packages/fd/b7/4cfbaac47fde635b93bfb14c3232e695f9793abfc83e0a47a64be3383bc1/immutables-0.11-cp36-cp36m-manylinux1_i686.whl (88kB)
    100% |████████████████████████████████| 92kB 250kB/s
Collecting MarkupSafe>=0.23 (from jinja2>=2.10.1->homeassistant)
  Downloading https://files.pythonhosted.org/packages/35/25/8560907c79805c1ed2d1b8297c43ad82f5f23a5376d846bc1a2ace2aee53/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_i686.whl
Collecting asn1crypto>=0.21.0 (from cryptography==2.7->homeassistant)
  Downloading https://files.pythonhosted.org/packages/6b/8c/ff300484eca90b397d919408619fae479965bdd8a1df3d6d08d58e491da5/asn1crypto-1.2.0-py2.py3-none-any.whl (103kB)
    100% |████████████████████████████████| 112kB 271kB/s
Collecting text-unidecode>=1.3 (from python-slugify==3.0.4->homeassistant)
  Downloading https://files.pythonhosted.org/packages/a6/a5/c0b6468d3824fe3fde30dbb5e1f687b291608f9473681bbf7dabbf5a87d7/text_unidecode-1.3-py2.py3-none-any.whl (78kB)
    100% |████████████████████████████████| 81kB 302kB/s
Collecting more-itertools (from zipp>=0.5->importlib-metadata==0.23->homeassistant)
  Downloading https://files.pythonhosted.org/packages/45/dc/3241eef99eb45f1def35cf93af35d1cf9ef4c0991792583b8f33ea41b092/more_itertools-7.2.0-py3-none-any.whl (57kB)
    100% |████████████████████████████████| 61kB 339kB/s
Collecting pycparser (from cffi>=1.1->bcrypt==3.1.7->homeassistant)
  Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
    100% |████████████████████████████████| 163kB 626kB/s
Building wheels for collected packages: bcrypt, voluptuous, voluptuous-serialize, contextvars, ruamel.yaml, cryptography, python-slugify, pyyaml, idna-ssl, pycparser
  Running setup.py bdist_wheel for bcrypt ... error
  Complete output from command /home/pc/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vhc05490/bcrypt/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/tmpn_brfnhmpip-wheel- --python-tag cp36:
  warning: no previously-included files found matching 'setup.pyc'
  warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
  warning: no previously-included files matching 'lextab.*' found under directory 'tests'
  warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
  warning: no previously-included files matching 'lextab.*' found under directory 'examples'
  zip_safe flag not set; analyzing archive contents...
  pycparser.ply.__pycache__.lex.cpython-36: module references __file__
  pycparser.ply.__pycache__.lex.cpython-36: module MAY be using inspect.getsourcefile
  pycparser.ply.__pycache__.yacc.cpython-36: module references __file__
  pycparser.ply.__pycache__.yacc.cpython-36: module MAY be using inspect.getsourcefile
  pycparser.ply.__pycache__.yacc.cpython-36: module MAY be using inspect.stack
  pycparser.ply.__pycache__.ygen.cpython-36: module references __file__

  Installed /tmp/pip-build-vhc05490/bcrypt/.eggs/pycparser-2.19-py3.6.egg
  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'

  ----------------------------------------
  Failed building wheel for bcrypt
  Running setup.py clean for bcrypt
  Running setup.py bdist_wheel for voluptuous ... error
  Complete output from command /home/pc/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vhc05490/voluptuous/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/tmp5_jlsazhpip-wheel- --python-tag cp36:
  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    warnings.warn(msg)
  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'

  ----------------------------------------
  Failed building wheel for voluptuous
  Running setup.py clean for voluptuous
  Running setup.py bdist_wheel for voluptuous-serialize ... error
  Complete output from command /home/pc/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vhc05490/voluptuous-serialize/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/tmpi22fmkfupip-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'

  ----------------------------------------
  Failed building wheel for voluptuous-serialize
  Running setup.py clean for voluptuous-serialize
  Running setup.py bdist_wheel for contextvars ... error
  Complete output from command /home/pc/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vhc05490/contextvars/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/tmprouztlzapip-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'

  ----------------------------------------
  Failed building wheel for contextvars
  Running setup.py clean for contextvars
  Running setup.py bdist_wheel for ruamel.yaml ... error
  Complete output from command /home/pc/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vhc05490/ruamel.yaml/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/tmp2strzbwmpip-wheel- --python-tag cp36:
  sys.argv ['-c', 'bdist_wheel', '-d', '/tmp/tmp2strzbwmpip-wheel-', '--python-tag', 'cp36']
  test compiling test_ruamel_yaml
  unable to execute 'i686-linux-gnu-gcc': No such file or directory
  compile error: /tmp/tmp_ruamel_46dqdn6r/test_ruamel_yaml.c
  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'

  ----------------------------------------
  Failed building wheel for ruamel.yaml
  Running setup.py clean for ruamel.yaml
  Running setup.py bdist_wheel for cryptography ... error
  Complete output from command /home/pc/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vhc05490/cryptography/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/tmpmoj4iipopip-wheel- --python-tag cp36:
  warning: no previously-included files found matching 'setup.pyc'
  warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
  warning: no previously-included files matching 'lextab.*' found under directory 'tests'
  warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
  warning: no previously-included files matching 'lextab.*' found under directory 'examples'
  zip_safe flag not set; analyzing archive contents...
  pycparser.ply.__pycache__.lex.cpython-36: module references __file__
  pycparser.ply.__pycache__.lex.cpython-36: module MAY be using inspect.getsourcefile
  pycparser.ply.__pycache__.yacc.cpython-36: module references __file__
  pycparser.ply.__pycache__.yacc.cpython-36: module MAY be using inspect.getsourcefile
  pycparser.ply.__pycache__.yacc.cpython-36: module MAY be using inspect.stack
  pycparser.ply.__pycache__.ygen.cpython-36: module references __file__

  Installed /tmp/pip-build-vhc05490/cryptography/.eggs/pycparser-2.19-py3.6.egg
  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    warnings.warn(msg)
  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'

  ----------------------------------------
  Failed building wheel for cryptography
  Running setup.py clean for cryptography
  Running setup.py bdist_wheel for python-slugify ... error
  Complete output from command /home/pc/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vhc05490/python-slugify/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/tmp7ewh6cc1pip-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'

  ----------------------------------------
  Failed building wheel for python-slugify
  Running setup.py clean for python-slugify
  Running setup.py bdist_wheel for pyyaml ... error
  Complete output from command /home/pc/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vhc05490/pyyaml/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/tmpma4iov1vpip-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'

  ----------------------------------------
  Failed building wheel for pyyaml
  Running setup.py clean for pyyaml
  Running setup.py bdist_wheel for idna-ssl ... error
  Complete output from command /home/pc/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vhc05490/idna-ssl/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/tmp0m9o_7qppip-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'

  ----------------------------------------
  Failed building wheel for idna-ssl
  Running setup.py clean for idna-ssl
  Running setup.py bdist_wheel for pycparser ... error
  Complete output from command /home/pc/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vhc05490/pycparser/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/tmpouksp2rvpip-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'

  ----------------------------------------
  Failed building wheel for pycparser
  Running setup.py clean for pycparser
Failed to build bcrypt voluptuous voluptuous-serialize contextvars ruamel.yaml cryptography python-slugify pyyaml idna-ssl pycparser
Installing collected packages: more-itertools, zipp, importlib-metadata, multidict, idna, yarl, async-timeout, idna-ssl, chardet, typing-extensions, attrs, aiohttp, certifi, urllib3, requests, pycparser, cffi, six, bcrypt, voluptuous, voluptuous-serialize, immutables, contextvars, MarkupSafe, jinja2, ruamel.yaml, pytz, astral, asn1crypto, cryptography, text-unidecode, python-slugify, pyyaml, PyJWT, homeassistant
  Running setup.py install for idna-ssl ... done
  Running setup.py install for pycparser ... done
  Running setup.py install for bcrypt ... error
    Complete output from command /home/pc/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vhc05490/bcrypt/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-uwwmt4w0-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pc/homeassistant/include/site/python3.6/bcrypt:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-i686-3.6
    creating build/lib.linux-i686-3.6/bcrypt
    copying src/bcrypt/__init__.py -> build/lib.linux-i686-3.6/bcrypt
    copying src/bcrypt/__about__.py -> build/lib.linux-i686-3.6/bcrypt
    running build_ext
    generating cffi module 'build/temp.linux-i686-3.6/_bcrypt.c'
    creating build/temp.linux-i686-3.6
    building '_bcrypt' extension
    creating build/temp.linux-i686-3.6/build
    creating build/temp.linux-i686-3.6/build/temp.linux-i686-3.6
    creating build/temp.linux-i686-3.6/src
    creating build/temp.linux-i686-3.6/src/_csrc
    i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc/_csrc -I/home/pc/homeassistant/include -I/usr/include/python3.6m -c build/temp.linux-i686-3.6/_bcrypt.c -o build/temp.linux-i686-3.6/build/temp.linux-i686-3.6/_bcrypt.o
    unable to execute 'i686-linux-gnu-gcc': No such file or directory
    error: command 'i686-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
Command "/home/pc/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vhc05490/bcrypt/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-uwwmt4w0-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pc/homeassistant/include/site/python3.6/bcrypt" failed with error code 1 in /tmp/pip-build-vhc05490/bcrypt/

And the Hassio installation on linux arch but I have “bash: line 1: 400: command not found” when I execute the command

curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s

Can somebody help me to install it please ?

Thanks in advance.

Does it find curl at all?

which curl

Then try to run the curl command without the bash to see if you get the installer on the terminal output

With the commande “which curl”, I obtain the environment :

pc@pc-1015CX:~$ which curl
/usr/bin/curl

And the curl command without the bash gives me the sh script :

pc@pc-1015CX:~$ curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh"
#!/usr/bin/env bash
set -e

ARCH=$(uname -m)
DOCKER_BINARY=/usr/bin/docker
DOCKER_REPO=homeassistant
DOCKER_SERVICE=docker.service
URL_VERSION="https://version.home-assistant.io/stable.json"
URL_BIN_HASSIO="https://raw.githubusercontent.com/home-assistant/hassio-installer/master/files/hassio-supervisor"
URL_BIN_APPARMOR="https://raw.githubusercontent.com/home-assistant/hassio-installer/master/files/hassio-apparmor"
URL_SERVICE_HASSIO="https://raw.githubusercontent.com/home-assistant/hassio-installer/master/files/hassio-supervisor.service"
URL_SERVICE_APPARMOR="https://raw.githubusercontent.com/home-assistant/hassio-installer/master/files/hassio-apparmor.service"
URL_APPARMOR_PROFILE="https://version.home-assistant.io/apparmor.txt"

# Check env
command -v systemctl > /dev/null 2>&1 || { echo "[Error] Only systemd is supported!"; exit 1; }
command -v docker > /dev/null 2>&1 || { echo "[Error] Please install docker first"; exit 1; }
command -v jq > /dev/null 2>&1 || { echo "[Error] Please install jq first"; exit 1; }
command -v curl > /dev/null 2>&1 || { echo "[Error] Please install curl first"; exit 1; }
command -v avahi-daemon > /dev/null 2>&1 || { echo "[Error] Please install avahi first"; exit 1; }
command -v dbus-daemon > /dev/null 2>&1 || { echo "[Error] Please install dbus first"; exit 1; }
command -v nmcli > /dev/null 2>&1 || echo "[Warning] No NetworkManager support on host."
command -v apparmor_parser > /dev/null 2>&1 || echo "[Warning] No AppArmor support on host."

#detect if running on snapped docker
if snap list docker >/dev/null 2>&1; then
    DOCKER_BINARY=/snap/bin/docker
    DATA_SHARE=/root/snap/docker/common/hassio
    CONFIG=$DATA_SHARE/hassio.json
    DOCKER_SERVICE="snap.docker.dockerd.service"
fi

# Parse command line parameters
while [[ $# -gt 0 ]]; do
    arg="$1"

    case $arg in
        -m|--machine)
            MACHINE=$2
            shift
            ;;
        -d|--data-share)
            DATA_SHARE=$2
            shift
            ;;
        -p|--prefix)
            PREFIX=$2
            shift
            ;;
        -s|--sysconfdir)
            SYSCONFDIR=$2
            shift
            ;;
        *)
            echo "[Error] Unrecognized option $1"
            exit 1
            ;;
    esac
    shift
done

PREFIX=${PREFIX:-/usr}
SYSCONFDIR=${SYSCONFDIR:-/etc}
DATA_SHARE=${DATA_SHARE:-$PREFIX/share/hassio}
CONFIG=$SYSCONFDIR/hassio.json

# Generate hardware options
case $ARCH in
    "i386" | "i686")
        MACHINE=${MACHINE:=qemux86}
        HOMEASSISTANT_DOCKER="$DOCKER_REPO/$MACHINE-homeassistant"
        HASSIO_DOCKER="$DOCKER_REPO/i386-hassio-supervisor"
    ;;
    "x86_64")
        MACHINE=${MACHINE:=qemux86-64}
        HOMEASSISTANT_DOCKER="$DOCKER_REPO/$MACHINE-homeassistant"
        HASSIO_DOCKER="$DOCKER_REPO/amd64-hassio-supervisor"
    ;;
    "arm" |"armv6l")
        if [ -z $MACHINE ]; then
            echo "[ERROR] Please set machine for $ARCH"
            exit 1
        fi
        HOMEASSISTANT_DOCKER="$DOCKER_REPO/$MACHINE-homeassistant"
        HASSIO_DOCKER="$DOCKER_REPO/armhf-hassio-supervisor"
    ;;
    "armv7l")
        if [ -z $MACHINE ]; then
            echo "[ERROR] Please set machine for $ARCH"
            exit 1
        fi
        HOMEASSISTANT_DOCKER="$DOCKER_REPO/$MACHINE-homeassistant"
        HASSIO_DOCKER="$DOCKER_REPO/armv7-hassio-supervisor"
    ;;
    "aarch64")
        if [ -z $MACHINE ]; then
            echo "[ERROR] Please set machine for $ARCH"
            exit 1
        fi
        HOMEASSISTANT_DOCKER="$DOCKER_REPO/$MACHINE-homeassistant"
        HASSIO_DOCKER="$DOCKER_REPO/aarch64-hassio-supervisor"
    ;;
    *)
        echo "[Error] $ARCH unknown!"
        exit 1
    ;;
esac

if [ -z "${HOMEASSISTANT_DOCKER}" ]; then
    echo "[Error] Found no Home Assistant Docker images for this host!"
fi

### Main

# Init folders
if [ ! -d "$DATA_SHARE" ]; then
    mkdir -p "$DATA_SHARE"
fi

# Read infos from web
HASSIO_VERSION=$(curl -s $URL_VERSION | jq -e -r '.supervisor')

##
# Write config
cat > "$CONFIG" <<- EOF
{
    "supervisor": "${HASSIO_DOCKER}",
    "homeassistant": "${HOMEASSISTANT_DOCKER}",
    "data": "${DATA_SHARE}"
}
EOF

##
# Pull supervisor image
echo "[Info] Install supervisor Docker container"
docker pull "$HASSIO_DOCKER:$HASSIO_VERSION" > /dev/null
docker tag "$HASSIO_DOCKER:$HASSIO_VERSION" "$HASSIO_DOCKER:latest" > /dev/null

##
# Install Hass.io Supervisor
echo "[Info] Install supervisor startup scripts"
curl -sL ${URL_BIN_HASSIO} > "${PREFIX}"/sbin/hassio-supervisor
curl -sL ${URL_SERVICE_HASSIO} > "${SYSCONFDIR}"/systemd/system/hassio-supervisor.service

sed -i "s,%%HASSIO_CONFIG%%,${CONFIG},g" "${PREFIX}"/sbin/hassio-supervisor
sed -i -e "s,%%DOCKER_BINARY%%,${DOCKER_BINARY},g" \
       -e "s,%%DOCKER_SERVICE%%,${DOCKER_SERVICE},g" \
       -e "s,%%HASSIO_BINARY%%,${PREFIX}/sbin/hassio-supervisor,g" \
       "${SYSCONFDIR}"/systemd/system/hassio-supervisor.service

chmod a+x "${PREFIX}"/sbin/hassio-supervisor
systemctl enable hassio-supervisor.service

#
# Install Hass.io AppArmor
if command -v apparmor_parser > /dev/null 2>&1; then
    echo "[Info] Install AppArmor scripts"
    mkdir -p "${DATA_SHARE}"/apparmor
    curl -sL ${URL_BIN_APPARMOR} > "${PREFIX}"/sbin/hassio-apparmor
    curl -sL ${URL_SERVICE_APPARMOR} > "${SYSCONFDIR}"/systemd/system/hassio-apparmor.service
    curl -sL ${URL_APPARMOR_PROFILE} > "${DATA_SHARE}"/apparmor/hassio-supervisor

    sed -i "s,%%HASSIO_CONFIG%%,${CONFIG},g" "${PREFIX}"/sbin/hassio-apparmor
    sed -i -e "s,%%DOCKER_SERVICE%%,${DOCKER_SERVICE},g" \
           -e "s,%%HASSIO_APPARMOR_BINARY%%,${PREFIX}/sbin/hassio-apparmor,g" \
           "${SYSCONFDIR}"/systemd/system/hassio-apparmor.service

    chmod a+x "${PREFIX}"/sbin/hassio-apparmor
    systemctl enable hassio-apparmor.service
    systemctl start hassio-apparmor.service
fi

##
# Init system
echo "[Info] Run Hass.io"
systemctl start hassio-supervisor.service

(I hope I didn’t make mistakes in my terms… )

Did you install docker and all the pre-requisites before trying to run the hassio script?

I tried to execute the curl command with putty…
I tried from the PC directly and the response is “400: invalid request”

Yes, I installed docker and theoretically, all other pre-requisites :confused:

Can you tell me what version of python you are using?

Try python3 -V from console

Python 3.7 is recommended for the VENV method.

Probably your install is outdated. Try the following with the venv activated:

pip install --upgrade pip
pip install --upgrade wheel

Then try again

I think I have a better result than previously but I have still have an error for the first methode,
I execute pip install --upgrade commands an my new result is :

(homeassistant) pc@pc-1015CX:~/homeassistant$ python3 -m pip install homeassistant
Collecting homeassistant
  Using cached https://files.pythonhosted.org/packages/40/9a/4ddea164074408ca014925e2870949f7d63ed1939bcb62124eb9c7c0035b/homeassistant-0.100.3-py3-none-any.whl
Requirement already satisfied: async-timeout==3.0.1 in ./lib/python3.6/site-packages (from homeassistant) (3.0.1)
Requirement already satisfied: importlib-metadata==0.23 in ./lib/python3.6/site-packages (from homeassistant) (0.23)
Requirement already satisfied: voluptuous-serialize==2.3.0 in ./lib/python3.6/site-packages (from homeassistant) (2.3.0)
Collecting bcrypt==3.1.7
  Using cached https://files.pythonhosted.org/packages/fa/aa/025a3ab62469b5167bc397837c9ffc486c42a97ef12ceaa6699d8f5a5416/bcrypt-3.1.7.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: contextvars==2.4; python_version < "3.7" in ./lib/python3.6/site-packages (from homeassistant) (2.4)
Requirement already satisfied: attrs==19.2.0 in ./lib/python3.6/site-packages (from homeassistant) (19.2.0)
Requirement already satisfied: jinja2>=2.10.1 in ./lib/python3.6/site-packages (from homeassistant) (2.10.3)
Collecting cryptography==2.7
  Using cached https://files.pythonhosted.org/packages/c2/95/f43d02315f4ec074219c6e3124a87eba1d2d12196c2767fadfdc07a83884/cryptography-2.7.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: requests==2.22.0 in ./lib/python3.6/site-packages (from homeassistant) (2.22.0)
Requirement already satisfied: astral==1.10.1 in ./lib/python3.6/site-packages (from homeassistant) (1.10.1)
Requirement already satisfied: voluptuous==0.11.7 in ./lib/python3.6/site-packages (from homeassistant) (0.11.7)
Requirement already satisfied: pip>=8.0.3 in ./lib/python3.6/site-packages (from homeassistant) (19.3.1)
Requirement already satisfied: pyyaml==5.1.2 in ./lib/python3.6/site-packages (from homeassistant) (5.1.2)
Requirement already satisfied: PyJWT==1.7.1 in ./lib/python3.6/site-packages (from homeassistant) (1.7.1)
Requirement already satisfied: ruamel.yaml==0.15.100 in ./lib/python3.6/site-packages (from homeassistant) (0.15.100)
Requirement already satisfied: aiohttp==3.6.1 in ./lib/python3.6/site-packages (from homeassistant) (3.6.1)
Requirement already satisfied: python-slugify==3.0.4 in ./lib/python3.6/site-packages (from homeassistant) (3.0.4)
Requirement already satisfied: pytz>=2019.02 in ./lib/python3.6/site-packages (from homeassistant) (2019.3)
Requirement already satisfied: certifi>=2019.6.16 in ./lib/python3.6/site-packages (from homeassistant) (2019.9.11)
Requirement already satisfied: zipp>=0.5 in ./lib/python3.6/site-packages (from importlib-metadata==0.23->homeassistant) (0.6.0)
Requirement already satisfied: six>=1.4.1 in ./lib/python3.6/site-packages (from bcrypt==3.1.7->homeassistant) (1.12.0)
Requirement already satisfied: cffi>=1.1 in ./lib/python3.6/site-packages (from bcrypt==3.1.7->homeassistant) (1.13.1)
Requirement already satisfied: immutables>=0.9 in ./lib/python3.6/site-packages (from contextvars==2.4; python_version < "3.7"->homeassistant) (0.11)
Requirement already satisfied: MarkupSafe>=0.23 in ./lib/python3.6/site-packages (from jinja2>=2.10.1->homeassistant) (1.1.1)
Requirement already satisfied: asn1crypto>=0.21.0 in ./lib/python3.6/site-packages (from cryptography==2.7->homeassistant) (1.2.0)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./lib/python3.6/site-packages (from requests==2.22.0->homeassistant) (1.25.6)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./lib/python3.6/site-packages (from requests==2.22.0->homeassistant) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in ./lib/python3.6/site-packages (from requests==2.22.0->homeassistant) (2.8)
Requirement already satisfied: multidict<5.0,>=4.5 in ./lib/python3.6/site-packages (from aiohttp==3.6.1->homeassistant) (4.5.2)
Requirement already satisfied: yarl<2.0,>=1.0 in ./lib/python3.6/site-packages (from aiohttp==3.6.1->homeassistant) (1.3.0)
Requirement already satisfied: idna-ssl>=1.0; python_version < "3.7" in ./lib/python3.6/site-packages (from aiohttp==3.6.1->homeassistant) (1.1.0)
Requirement already satisfied: typing-extensions>=3.6.5; python_version < "3.7" in ./lib/python3.6/site-packages (from aiohttp==3.6.1->homeassistant) (3.7.4)
Requirement already satisfied: text-unidecode>=1.3 in ./lib/python3.6/site-packages (from python-slugify==3.0.4->homeassistant) (1.3)
Requirement already satisfied: more-itertools in ./lib/python3.6/site-packages (from zipp>=0.5->importlib-metadata==0.23->homeassistant) (7.2.0)
Requirement already satisfied: pycparser in ./lib/python3.6/site-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.19)
Building wheels for collected packages: bcrypt, cryptography
  Building wheel for bcrypt (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/pc/homeassistant/bin/python3 /home/pc/homeassistant/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpcogmdp3v
       cwd: /tmp/pip-install-j83dpfvb/bcrypt
  Complete output (22 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-i686-3.6
  creating build/lib.linux-i686-3.6/bcrypt
  copying src/bcrypt/__init__.py -> build/lib.linux-i686-3.6/bcrypt
  copying src/bcrypt/__about__.py -> build/lib.linux-i686-3.6/bcrypt
  running build_ext
  generating cffi module 'build/temp.linux-i686-3.6/_bcrypt.c'
  creating build/temp.linux-i686-3.6
  building '_bcrypt' extension
  creating build/temp.linux-i686-3.6/build
  creating build/temp.linux-i686-3.6/build/temp.linux-i686-3.6
  creating build/temp.linux-i686-3.6/src
  creating build/temp.linux-i686-3.6/src/_csrc
  i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc/_csrc -I/home/pc/homeassistant/include -I/usr/include/python3.6m -c build/temp.linux-i686-3.6/_bcrypt.c -o build/temp.linux-i686-3.6/build/temp.linux-i686-3.6/_bcrypt.o
  build/temp.linux-i686-3.6/_bcrypt.c:22:12: fatal error: pyconfig.h: Aucun fichier ou dossier de ce type
   #  include <pyconfig.h>
              ^~~~~~~~~~~~
  compilation terminated.
  error: command 'i686-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for bcrypt
  Running setup.py clean for bcrypt
  Building wheel for cryptography (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/pc/homeassistant/bin/python3 /home/pc/homeassistant/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmphn5gnmgi
       cwd: /tmp/pip-install-j83dpfvb/cryptography
  Complete output (136 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-i686-3.6
  creating build/lib.linux-i686-3.6/cryptography
  copying src/cryptography/exceptions.py -> build/lib.linux-i686-3.6/cryptography
  copying src/cryptography/fernet.py -> build/lib.linux-i686-3.6/cryptography
  copying src/cryptography/__init__.py -> build/lib.linux-i686-3.6/cryptography
  copying src/cryptography/utils.py -> build/lib.linux-i686-3.6/cryptography
  copying src/cryptography/__about__.py -> build/lib.linux-i686-3.6/cryptography
  creating build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/base.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/__init__.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/extensions.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/oid.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/name.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/general_name.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/ocsp.py -> build/lib.linux-i686-3.6/cryptography/x509
  creating build/lib.linux-i686-3.6/cryptography/hazmat
  copying src/cryptography/hazmat/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat
  copying src/cryptography/hazmat/_oid.py -> build/lib.linux-i686-3.6/cryptography/hazmat
  creating build/lib.linux-i686-3.6/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends
  creating build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  creating build/lib.linux-i686-3.6/cryptography/hazmat/bindings
  copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/bindings
  creating build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ocsp.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  creating build/lib.linux-i686-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/serialization
  creating build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  creating build/lib.linux-i686-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/ciphers
  creating build/lib.linux-i686-3.6/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/twofactor
  creating build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  creating build/lib.linux-i686-3.6/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-i686-3.6/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-i686-3.6/cryptography/hazmat/bindings/openssl
  running egg_info
  writing src/cryptography.egg-info/PKG-INFO
  writing dependency_links to src/cryptography.egg-info/dependency_links.txt
  writing requirements to src/cryptography.egg-info/requires.txt
  writing top-level names to src/cryptography.egg-info/top_level.txt
  reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  no previously-included directories found matching 'docs/_build'
  warning: no previously-included files found matching 'vectors'
  warning: no previously-included files matching '*' found under directory 'vectors'
  warning: no previously-included files found matching 'azure-pipelines.yml'
  warning: no previously-included files found matching '.azure-pipelines'
  warning: no previously-included files found matching '.travis.yml'
  warning: no previously-included files found matching '.travis'
  warning: no previously-included files matching '*' found under directory '.azure-pipelines'
  warning: no previously-included files matching '*' found under directory '.travis'
  warning: no previously-included files found matching 'release.py'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching 'codecov.yml'
  warning: no previously-included files found matching 'dev-requirements.txt'
  warning: no previously-included files found matching 'rtd-requirements.txt'
  warning: no previously-included files found matching 'tox.ini'
  writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
  running build_ext
  generating cffi module 'build/temp.linux-i686-3.6/_padding.c'
  creating build/temp.linux-i686-3.6
  generating cffi module 'build/temp.linux-i686-3.6/_constant_time.c'
  generating cffi module 'build/temp.linux-i686-3.6/_openssl.c'
  building '_openssl' extension
  creating build/temp.linux-i686-3.6/build
  creating build/temp.linux-i686-3.6/build/temp.linux-i686-3.6
  i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pc/homeassistant/include -I/usr/include/python3.6m -c build/temp.linux-i686-3.6/_openssl.c -o build/temp.linux-i686-3.6/build/temp.linux-i686-3.6/_openssl.o -Wconversion -Wno-error=sign-conversion
  build/temp.linux-i686-3.6/_openssl.c:22:12: fatal error: pyconfig.h: Aucun fichier ou dossier de ce type
   #  include <pyconfig.h>
              ^~~~~~~~~~~~
  compilation terminated.
  error: command 'i686-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for cryptography
  Running setup.py clean for cryptography
Failed to build bcrypt cryptography
ERROR: Could not build wheels for bcrypt, cryptography which use PEP 517 and cannot be installed directly

And for the second I still have the same error.
My version is :
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

and my python version is 3.6.8 I have no further version available…

what happens when you download the script directly and run it straight from your machine?

You don’t NEED the curl to pipe to bash, you can just run the script yourself

I Had a mistake on my command, that’s why I had error 400.
But I must have docker installed firts to execute the script, and when I try to apt-get install it, it seem’s to be ok :

(homeassistant) pc@pc-1015CX:~/homeassistant$ sudo apt-get install docker
[sudo] Mot de passe de pc :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
docker est déjà la version la plus récente (1.5-1build1).
Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
  libllvm7
Veuillez utiliser « sudo apt autoremove » pour le supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

It seems you didn’t really read the documentation.

You also need to have Docker-CE installed. There are well-documented procedures for installing Docker on Ubuntu at Docker.com, you can find installation steps for your Linux distribution in the menu on the left.

Some distributions, like Ubuntu, have a docker.io package available. Using that packages will cause issues! Be sure to install the official Docker-CE from the above listed URL.

Docker is not always ready with a release when a new Ubuntu version is out. Check if your version of Ubuntu is supported by docker here.

I read that and I visited the docker site but I stopped the procedure in the middle cause the apt-get update didn’t worked and gives me :

N: Le fichier configuré « stable/binary-i386/Packages » ne sera pas pris en compte car le dépôt « https://download.docker.com/linux/ubuntu bionic InRelease » ne prend pas en charge l'architecture « i386 »

I still tried to continue but it doesn’t work at all… :frowning:

Is it totaly dead for me to install Hass on my eeePC or is there an other way to proceed ?

You’re running 32 bit OS? That’s why nothing works.

1 Like

Unfortunatelly, the processor isn’t compatible with 64bit OS :confused:
So I’m gonna install it on an other device…

Thanks for your help !