Manual upgrade fails

I’ve tried several times to upgrade to 2020.12.1 in the gui but nothing happends. Now I tried doing it manually via ssh but I get an error.

Do anyone have any suggestions on how to fix this so I can upgrade?

➜  ~ pip3 install --upgrade homeassistant                                                                                             
Collecting homeassistant                                                                                                              
  Downloading homeassistant-2020.12.1-py3-none-any.whl (10.1 MB)                                                                      
     |████████████████████████████████| 10.1 MB 14 kB/s                                                                               
Collecting requests==2.25.0                                                                                                           
  Downloading requests-2.25.0-py2.py3-none-any.whl (61 kB)                                                                            
     |████████████████████████████████| 61 kB 463 kB/s                                                                                
Collecting astral==1.10.1                                                                                                             
  Downloading astral-1.10.1-py2.py3-none-any.whl (29 kB)                                                                              
Collecting voluptuous-serialize==2.4.0                                                                                                
  Downloading voluptuous_serialize-2.4.0-py3-none-any.whl (6.7 kB)                                                                    
Requirement already satisfied, skipping upgrade: pip<20.3,>=8.0.3 in /usr/lib/python3.8/site-packages (from homeassistant) (20.1.1)   
Requirement already satisfied, skipping upgrade: jinja2>=2.11.2 in /usr/lib/python3.8/site-packages (from homeassistant) (2.11.2)     
Requirement already satisfied, skipping upgrade: pyyaml==5.3.1 in /usr/lib/python3.8/site-packages (from homeassistant) (5.3.1)       
Collecting certifi>=2020.6.20                                                                                                         
  Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)                                                                         
     |████████████████████████████████| 147 kB 584 kB/s                                                                               
Collecting ruamel.yaml==0.15.100                                                                                                      
  Downloading ruamel.yaml-0.15.100.tar.gz (318 kB)                                                                                    
     |████████████████████████████████| 318 kB 513 kB/s                                                                               
Collecting aiohttp==3.7.1                                                                                                             
  Downloading aiohttp-3.7.1.tar.gz (1.1 MB)                                                                                           
     |████████████████████████████████| 1.1 MB 30 kB/s                                                                                
  Installing build dependencies ... done                                                                                              
  Getting requirements to build wheel ... done                                                                                        
    Preparing wheel metadata ... done                                                                                                 
Requirement already satisfied, skipping upgrade: async-timeout==3.0.1 in /usr/lib/python3.8/site-packages (from homeassistant) (3.0.1)
Collecting ciso8601==2.1.3                                                                                                            
  Downloading ciso8601-2.1.3.tar.gz (15 kB)                                                                                           
Collecting attrs==19.3.0                                                                                                     
  Downloading attrs-19.3.0-py2.py3-none-any.whl (39 kB)                                                                               
Requirement already satisfied, skipping upgrade: pytz>=2020.1 in /usr/lib/python3.8/site-packages (from homeassistant) (2020.4)       
Collecting bcrypt==3.1.7                                                                                                              
  Downloading bcrypt-3.1.7.tar.gz (42 kB)                                                                                             
     |████████████████████████████████| 42 kB 123 kB/s                                                                                
  Installing build dependencies ... error                                                                                             
  ERROR: Command errored out with exit status 1:                                                                                      
   command: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-fwt
ug8sp/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' whe
el 'cffi>=1.1; python_implementation != '"'"'PyPy'"'"''                                                                               
       cwd: None                                                                                                                      
  Complete output (86 lines):                                                                                                         
  Collecting setuptools>=40.8.0                                                                                                       
    Using cached setuptools-51.0.0-py3-none-any.whl (785 kB)                                                                          
  Collecting wheel                                                                                                                    
    Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)                                                                            
  Collecting cffi>=1.1                                                                                                                
    Downloading cffi-1.14.4.tar.gz (471 kB)                                                                                           
  Collecting pycparser                                                                                                                
    Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)                                                                          
  Using legacy setup.py install for cffi, since package 'wheel' is not installed.                                                     
  Installing collected packages: setuptools, wheel, pycparser, cffi                                                                   
      Running setup.py install for cffi: started                                                                                      
      Running setup.py install for cffi: finished with status 'error'                                                                 
      ERROR: Command errored out with exit status 1:                                                                                  
       command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4xzs1mj2/cffi/setup.py'"
'"'; __file__='"'"'/tmp/pip-install-4xzs1mj2/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().repl
ace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-p6_g8ipo/i
nstall-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-fwtug8sp/overlay --compile --install-headers /tmp/pi
p-build-env-fwtug8sp/overlay/include/python3.8/cffi                                                                                   
           cwd: /tmp/pip-install-4xzs1mj2/cffi/                                                                                       
      Complete output (68 lines):                                                                                                     
      Perhaps you should add the directory containing `libffi.pc'                                                             
      to the PKG_CONFIG_PATH environment variable                                                                                     
      Package 'libffi', required by 'virtual:world', not found                                                                        
      Package libffi was not found in the pkg-config search path.                                                                     
      Perhaps you should add the directory containing `libffi.pc'                                                                     
      to the PKG_CONFIG_PATH environment variable                                                                                     
      Package 'libffi', required by 'virtual:world', not found                                                                        
      Package libffi was not found in the pkg-config search path.                                                                     
      Perhaps you should add the directory containing `libffi.pc'                                                                     
      to the PKG_CONFIG_PATH environment variable                                                                                     
      Package 'libffi', required by 'virtual:world', not found                                                                        
      Package libffi was not found in the pkg-config search path.                                                                     
      Perhaps you should add the directory containing `libffi.pc'                                                                     
      to the PKG_CONFIG_PATH environment variable                                                                                     
      Package 'libffi', required by 'virtual:world', not found                                                                        
      Package libffi was not found in the pkg-config search path.                                                                     
      Perhaps you should add the directory containing `libffi.pc'                                                                     
      to the PKG_CONFIG_PATH environment variable                                                                                     
      Package 'libffi', required by 'virtual:world', not found                                                                        
      unable to execute 'gcc': No such file or directory                                                                              
      unable to execute 'gcc': No such file or directory                                                                              
                                                                                                                                      
          No working compiler found, or bogus compiler options passed to                                                              
          the compiler from Python's standard "distutils" module.  See                                                                
          the error messages above.  Likely, the problem is not related                                                               
          to CFFI but generic to the setup.py of any Python package that                                                              
          tries to compile C code.  (Hints: on OS/X 10.8, for errors about                                                            
          -mno-fused-madd see http://stackoverflow.com/questions/22313407/                                                            
          Otherwise, see https://wiki.python.org/moin/CompLangPython or                                                               
          the IRC channel #python on irc.freenode.net.)                                                                               
                                                                                                                                      
          Trying to continue anyway.  If you are trying to install CFFI from
          a build done in a different context, you can ignore this warning.
  
      running install
      running build
      running build_py
      creating build
      creating build/lib.linux-armv7l-3.8
      creating build/lib.linux-armv7l-3.8/cffi
      copying cffi/lock.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/api.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/__init__.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/recompiler.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/verifier.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/cparser.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/error.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/commontypes.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/model.py -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/_embedding.h -> build/lib.linux-armv7l-3.8/cffi
      copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.8/cffi
      running build_ext
      building '_cffi_backend' extension
      creating build/temp.linux-armv7l-3.8
      creating build/temp.linux-armv7l-3.8/c
      gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.8/c/_cffi_backend.o
      unable to execute 'gcc': No such file or directory
      error: command 'gcc' failed with exit status 1
      ----------------------------------------
  ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4xzs1mj2/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4xzs1mj2/cffi/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-record-p6_g8ipo/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-fwtug8sp/overlay --compile --install-headers /tmp/pip-build-env-fwtug8sp/overlay/include/python3.8/cffi Check the logs for full command output.
  ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-fwtug8sp/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel 'cffi>=1.1; python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
➜  ~ 
 *1  [zsh]                                                                                                             Sat 12-19 23:07