Anyone know how to install Bazarr (companion to Sonarr/Radarr)

I’ve tried installing it using the guide here: GitHub - morpheus65535/bazarr: Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements. You define your preferences by TV show or movie and Bazarr takes care of everything for you.

But python doesn’t seem to run on the Vero4k, or doesn’t install correctly, not sure :slight_smile:

Hi,

Are you running the latest version of OSMC?

If so this should work but with some changes, as kodi still has a requirement for python2. I think this should work:

sudo apt-get install python3-pip
cd bazarr
pip3 install -r requirements.txt
python3 bazarr.py

Thanks Tom.

I get the same errors as when I tried to install it using the guide above. I should be at the last OSMC version, it says October 2020 2020.10-1 in the my osmc menu. This is the error:

osmc@osmc:~$ sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (18.1-5).
The following packages were automatically installed and are no longer required:
  armv7-libass-osmc armv7-libnfs-osmc dh-python gnupg-agent libbind9-140
  libcdio13 libcryptsetup4 libdevmapper-event1.02.1 libdns162 libegl-mesa0
  libegl1 libegl1-mesa libenca0 libevent-2.0-5 libfile-copy-recursive-perl
  libgbm1 libgdbm3 libicu57 libisc160 libisccc140 libisccfg140 libiso9660-8
  liblvm2app2.2 liblwres141 libminiupnpc10 libncurses5 libntfs-3g871
  libnunit-cil-dev libnunit-console-runner2.6.3-cil
  libnunit-core-interfaces2.6.3-cil libnunit-core2.6.3-cil
  libnunit-framework2.6.3-cil libnunit-mocks2.6.3-cil libnunit-util2.6.3-cil
  libperl5.24 libprocps6 libpython3.5-minimal libpython3.5-stdlib libssl1.0.2
  libtinyxml2-4 libunistring0 libwayland-egl1-mesa libwayland-server0
  libwebpmux2 python-imaging python3.5 python3.5-minimal update-inetd
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
osmc@osmc:~$ cd bazarr
-bash: cd: bazarr: No such file or directory
osmc@osmc:~$ pip3 install -r requirements.txt
Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

Hi,

have you installed git ? sudo apt-get install git

then it would be:

git clone https://github.com/morpheus65535/bazarr.git

then try the following again:

Thanks Tom.

Yeah already tried that, using the guide from my first post:

osmc@osmc:~$ sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version (1:2.20.1-2+deb10u3).
The following packages were automatically installed and are no longer required:
  armv7-libass-osmc armv7-libnfs-osmc dh-python gnupg-agent libbind9-140
  libcdio13 libcryptsetup4 libdevmapper-event1.02.1 libdns162 libegl-mesa0
  libegl1 libegl1-mesa libenca0 libevent-2.0-5 libfile-copy-recursive-perl
  libgbm1 libgdbm3 libicu57 libisc160 libisccc140 libisccfg140 libiso9660-8
  liblvm2app2.2 liblwres141 libminiupnpc10 libncurses5 libntfs-3g871
  libnunit-cil-dev libnunit-console-runner2.6.3-cil
  libnunit-core-interfaces2.6.3-cil libnunit-core2.6.3-cil
  libnunit-framework2.6.3-cil libnunit-mocks2.6.3-cil libnunit-util2.6.3-cil
  libperl5.24 libprocps6 libpython3.5-minimal libpython3.5-stdlib libssl1.0.2
  libtinyxml2-4 libunistring0 libwayland-egl1-mesa libwayland-server0
  libwebpmux2 python-imaging python3.5 python3.5-minimal update-inetd
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
osmc@osmc:~$ git clone https://github.com/morpheus65535/bazarr.git
Cloning into 'bazarr'...
remote: Enumerating objects: 341, done.
remote: Counting objects: 100% (341/341), done.
remote: Compressing objects: 100% (189/189), done.
remote: Total 24358 (delta 239), reused 215 (delta 152), pack-reused 24017
Receiving objects: 100% (24358/24358), 306.10 MiB | 7.04 MiB/s, done.
Resolving deltas: 100% (13269/13269), done.
Checking out files: 100% (4635/4635), done.
osmc@osmc:~$
osmc@osmc:~$ pip3 install -r requirements.txt
Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

Hi,

After git clone https://github.com/morpheus65535/bazarr.git

You missed out: cd bazarr

Tom

1 Like

Thanks Tom, I cant believe I missed that twice!

Starting the python seems to get into a weird loop of installing dependencies and restarting that doesnt seem to end though:

osmc@osmc:~$ cd bazarr
osmc@osmc:~/bazarr$ pip3 install -r requirements.txt
Requirement already satisfied: lxml>=4.3.0 in /usr/lib/python3/dist-packages (fr                             om -r requirements.txt (line 1)) (4.3.2)
Collecting numpy>=1.12.0 (from -r requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/c5/63/a48648ebc57711348420                             670bb074998f79828291f68aebfff1642be212ec/numpy-1.19.4.zip (7.3MB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 7.3MB 43kB/s
  Installing build dependencies ... done
Collecting webrtcvad-wheels>=2.0.10 (from -r requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/1c/37/56ddf05b6eaf4023b2d3                             eb069954fd9150b452ee326d0ea20af1d0d4b0c2/webrtcvad-wheels-2.0.10.post2.tar.gz (6                             7kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 71kB 2.4MB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'setuptools'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-                             c4ssk4s1/webrtcvad-wheels/
osmc@osmc:~/bazarr$ python3 bazarr.py
Bazarr starting...
2020-11-07 09:18:09,377 - root                             (f73cc5d0) :  INFO (i                             nit:60) - BAZARR installing requirements...
2020-11-07 09:18:38,437 - root                             (f73cc5d0) :  INFO (i                             nit:64) - BAZARR requirements installed.
2020-11-07 09:18:38,438 - root                             (f73cc5d0) :  INFO (i                             nit:70) - Bazarr is being restarted...
Bazarr is restarting...
2020-11-07 09:18:42,228 - root                             (f72f65d0) :  INFO (i                             nit:60) - BAZARR installing requirements...
2020-11-07 09:19:11,269 - root                             (f72f65d0) :  INFO (i                             nit:64) - BAZARR requirements installed.
2020-11-07 09:19:11,270 - root                             (f72f65d0) :  INFO (i                             nit:70) - Bazarr is being restarted...
Bazarr is restarting...
2020-11-07 09:19:14,963 - root                             (f6f1a5d0) :  INFO (i                             nit:60) - BAZARR installing requirements...
2020-11-07 09:19:43,938 - root                             (f6f1a5d0) :  INFO (init:64) - BAZARR requirements installed.
2020-11-07 09:19:43,939 - root                             (f6f1a5d0) :  INFO (init:70) - Bazarr is being restarted...
Bazarr is restarting...
2020-11-07 09:19:47,661 - root                             (f6fce5d0) :  INFO (init:60) - BAZARR installing requirements...

I had real difficult installing the dependencies. Think I installed them manually but it was a PITA. I’d go on their discord as they gave me a lot of help.

Although you can see here the error is
ModuleNotFoundError: No module named β€˜setuptools’

All my knowledge revolving Linux is from googling and asking for support, so I’m not sure how to continue here. Is it easier to set up a docker in this case? Or will the problem with the missing dependencies remain?

You need to install setuptools.

pip3 install setuptools
1 Like

Docker doesn’t work on the latest OSMC release

After installing the setuptools:

osmc@osmc:~/bazarr$ pip3 install setuptools
Collecting setuptools
  Downloading https://files.pythonhosted.org/packages/6d/38/c21ef5034684ffc0412deefbb07d66678332290c14bb5269c85145fbd55e/setuptools-50.3.2-py3-none-any.whl (785kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 788kB 387kB/s
Installing collected packages: setuptools
Successfully installed setuptools-50.3.2
osmc@osmc:~/bazarr$ pip3 install -r requirements.txt
Requirement already satisfied: lxml>=4.3.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) (4.3.2)
Collecting numpy>=1.12.0 (from -r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/c5/63/a48648ebc57711348420670bb074998f79828291f68aebfff1642be212ec/numpy-1.19.4.zip
  Installing build dependencies ... done
Collecting webrtcvad-wheels>=2.0.10 (from -r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/1c/37/56ddf05b6eaf4023b2d3eb069954fd9150b452ee326d0ea20af1d0d4b0c2/webrtcvad-wheels-2.0.10.post2.tar.gz
Building wheels for collected packages: numpy, webrtcvad-wheels
  Running setup.py bdist_wheel for numpy ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-6ncu9dal/numpy/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/pip-wheel-frvaykok --python-tag cp37:
  Running from numpy source directory.
  Cythonizing sources
  Processing numpy/random/_bounded_integers.pxd.in
  Processing numpy/random/mtrand.pyx
  Processing numpy/random/_bounded_integers.pyx.in
  Processing numpy/random/_common.pyx
  Processing numpy/random/_pcg64.pyx
  Processing numpy/random/_sfc64.pyx
  Processing numpy/random/bit_generator.pyx
  Processing numpy/random/_mt19937.pyx
  Processing numpy/random/_generator.pyx
  Processing numpy/random/_philox.pyx
  blas_opt_info:
  blas_mkl_info:
  customize UnixCCompiler
    libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  blis_info:
    libraries blis not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  openblas_info:
    libraries openblas not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  atlas_3_10_blas_threads_info:
  Setting PTATLAS=ATLAS
    libraries tatlas not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  atlas_3_10_blas_info:
    libraries satlas not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  atlas_blas_threads_info:
  Setting PTATLAS=ATLAS
    libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  atlas_blas_info:
    libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  accelerate_info:
    NOT AVAILABLE

  /tmp/pip-install-6ncu9dal/numpy/numpy/distutils/system_info.py:1914: UserWarning:
      Optimized (vendor) Blas libraries are not found.
      Falls back to netlib Blas library which has worse performance.
      A better performance should be easily gained by switching
      Blas library.
    if self._calc_info(blas):
  blas_info:
    libraries blas not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  /tmp/pip-install-6ncu9dal/numpy/numpy/distutils/system_info.py:1914: UserWarning:
      Blas (http://www.netlib.org/blas/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [blas]) or by setting
      the BLAS environment variable.
    if self._calc_info(blas):
  blas_src_info:
    NOT AVAILABLE

  /tmp/pip-install-6ncu9dal/numpy/numpy/distutils/system_info.py:1914: UserWarning:
      Blas (http://www.netlib.org/blas/) sources not found.
      Directories to search for the sources can be specified in the
      numpy/distutils/site.cfg file (section [blas_src]) or by setting
      the BLAS_SRC environment variable.
    if self._calc_info(blas):
    NOT AVAILABLE

  non-existing path in 'numpy/distutils': 'site.cfg'
  lapack_opt_info:
  lapack_mkl_info:
    libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  openblas_lapack_info:
    libraries openblas not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  openblas_clapack_info:
    libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  flame_info:
    libraries flame not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  atlas_3_10_threads_info:
  Setting PTATLAS=ATLAS
    libraries lapack_atlas not found in /usr/local/lib
    libraries tatlas,tatlas not found in /usr/local/lib
    libraries lapack_atlas not found in /usr/lib
    libraries tatlas,tatlas not found in /usr/lib
  <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
    NOT AVAILABLE

  atlas_3_10_info:
    libraries lapack_atlas not found in /usr/local/lib
    libraries satlas,satlas not found in /usr/local/lib
    libraries lapack_atlas not found in /usr/lib
    libraries satlas,satlas not found in /usr/lib
  <class 'numpy.distutils.system_info.atlas_3_10_info'>
    NOT AVAILABLE

  atlas_threads_info:
  Setting PTATLAS=ATLAS
    libraries lapack_atlas not found in /usr/local/lib
    libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
    libraries lapack_atlas not found in /usr/lib
    libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  <class 'numpy.distutils.system_info.atlas_threads_info'>
    NOT AVAILABLE

  atlas_info:
    libraries lapack_atlas not found in /usr/local/lib
    libraries f77blas,cblas,atlas not found in /usr/local/lib
    libraries lapack_atlas not found in /usr/lib
    libraries f77blas,cblas,atlas not found in /usr/lib
  <class 'numpy.distutils.system_info.atlas_info'>
    NOT AVAILABLE

  lapack_info:
    libraries lapack not found in ['/usr/local/lib', '/usr/lib']
    NOT AVAILABLE

  /tmp/pip-install-6ncu9dal/numpy/numpy/distutils/system_info.py:1748: UserWarning:
      Lapack (http://www.netlib.org/lapack/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [lapack]) or by setting
      the LAPACK environment variable.
    return getattr(self, '_calc_info_{}'.format(name))()
  lapack_src_info:
    NOT AVAILABLE

  /tmp/pip-install-6ncu9dal/numpy/numpy/distutils/system_info.py:1748: UserWarning:
      Lapack (http://www.netlib.org/lapack/) sources not found.
      Directories to search for the sources can be specified in the
      numpy/distutils/site.cfg file (section [lapack_src]) or by setting
      the LAPACK_SRC environment variable.
    return getattr(self, '_calc_info_{}'.format(name))()
    NOT AVAILABLE

  numpy_linalg_lapack_lite:
    FOUND:
      language = c

  /usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
    warnings.warn(msg)
  running bdist_wheel
  running build
  running config_cc
  unifing config_cc, config, build_clib, build_ext, build commands --compiler options
  running config_fc
  unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
  running build_src
  build_src
  building py_modules sources
  creating build
  creating build/src.linux-aarch64-3.7
  creating build/src.linux-aarch64-3.7/numpy
  creating build/src.linux-aarch64-3.7/numpy/distutils
  building library "npymath" sources
  Could not locate executable gfortran
  Could not locate executable f95
  Could not locate executable ifort
  Could not locate executable ifc
  Could not locate executable lf95
  Could not locate executable pgfortran
  Could not locate executable nvfortran
  Could not locate executable f90
  Could not locate executable f77
  Could not locate executable fort
  Could not locate executable efort
  Could not locate executable efc
  Could not locate executable g77
  Could not locate executable g95
  Could not locate executable pathf95
  Could not locate executable nagfor
  don't know how to compile Fortran code on platform 'posix'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-6ncu9dal/numpy/setup.py", line 508, in <module>
      setup_package()
    File "/tmp/pip-install-6ncu9dal/numpy/setup.py", line 500, in setup_package
      setup(**metadata)
    File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/core.py", line 169, in setup
      return old_setup(**new_attr)
    File "/tmp/pip-build-env-ymg7l0t6/lib/python3.7/site-packages/setuptools/__init__.py", line 165, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-ymg7l0t6/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 290, in run
      self.run_command('build')
    File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/command/build.py", line 40, in run
      old_build.run(self)
    File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/command/build_src.py", line 144, in run
      self.build_sources()
    File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/command/build_src.py", line 155, in build_sources
      self.build_library_sources(*libname_info)
    File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/command/build_src.py", line 288, in build_library_sources
      sources = self.generate_sources(sources, (lib_name, build_info))
    File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/command/build_src.py", line 378, in generate_sources
      source = func(extension, build_dir)
    File "numpy/core/setup.py", line 663, in get_mathlib_info
      raise RuntimeError("Broken toolchain: cannot link a simple C program")
  RuntimeError: Broken toolchain: cannot link a simple C program

  ----------------------------------------
  Failed building wheel for numpy
  Running setup.py clean for numpy
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-6ncu9dal/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
  Running from numpy source directory.

  `setup.py clean` is not supported, use one of the following instead:

    - `git clean -xdf` (cleans all files)
    - `git clean -Xdf` (cleans all versioned files, doesn't touch
                        files that aren't checked into the git repo)

  Add `--force` to your command to use it anyway if you must (unsupported).


  ----------------------------------------
  Failed cleaning build dir for numpy
  Running setup.py bdist_wheel for webrtcvad-wheels ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-6ncu9dal/webrtcvad-wheels/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/pip-wheel-4e89xdys --python-tag cp37:
  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 webrtcvad-wheels
  Running setup.py clean for webrtcvad-wheels
Failed to build numpy webrtcvad-wheels
Installing collected packages: numpy, webrtcvad-wheels
  Running setup.py install for numpy ... error
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-6ncu9dal/numpy/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-08a_t75n/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    Running from numpy source directory.

    Note: if you need reliable uninstall behavior, then install
    with pip instead of using `setup.py install`:

      - `pip install .`       (from a git repo or downloaded source
                               release)
      - `pip install numpy`   (last NumPy release on PyPi)


    Cythonizing sources
    numpy/random/_bounded_integers.pxd.in has not changed
    Processing numpy/random/_bounded_integers.pyx
    numpy/random/mtrand.pyx has not changed
    numpy/random/_bounded_integers.pyx.in has not changed
    numpy/random/_common.pyx has not changed
    numpy/random/_pcg64.pyx has not changed
    numpy/random/_sfc64.pyx has not changed
    numpy/random/bit_generator.pyx has not changed
    numpy/random/_mt19937.pyx has not changed
    numpy/random/_generator.pyx has not changed
    numpy/random/_philox.pyx has not changed
    blas_opt_info:
    blas_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    blis_info:
      libraries blis not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    openblas_info:
      libraries openblas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_3_10_blas_threads_info:
    Setting PTATLAS=ATLAS
      libraries tatlas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_3_10_blas_info:
      libraries satlas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_blas_threads_info:
    Setting PTATLAS=ATLAS
      libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_blas_info:
      libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    accelerate_info:
      NOT AVAILABLE

    /tmp/pip-install-6ncu9dal/numpy/numpy/distutils/system_info.py:1914: UserWarning:
        Optimized (vendor) Blas libraries are not found.
        Falls back to netlib Blas library which has worse performance.
        A better performance should be easily gained by switching
        Blas library.
      if self._calc_info(blas):
    blas_info:
      libraries blas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    /tmp/pip-install-6ncu9dal/numpy/numpy/distutils/system_info.py:1914: UserWarning:
        Blas (http://www.netlib.org/blas/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [blas]) or by setting
        the BLAS environment variable.
      if self._calc_info(blas):
    blas_src_info:
      NOT AVAILABLE

    /tmp/pip-install-6ncu9dal/numpy/numpy/distutils/system_info.py:1914: UserWarning:
        Blas (http://www.netlib.org/blas/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [blas_src]) or by setting
        the BLAS_SRC environment variable.
      if self._calc_info(blas):
      NOT AVAILABLE

    non-existing path in 'numpy/distutils': 'site.cfg'
    lapack_opt_info:
    lapack_mkl_info:
      libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    openblas_lapack_info:
      libraries openblas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    openblas_clapack_info:
      libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    flame_info:
      libraries flame not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /usr/local/lib
      libraries tatlas,tatlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib
      libraries tatlas,tatlas not found in /usr/lib
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE

    atlas_3_10_info:
      libraries lapack_atlas not found in /usr/local/lib
      libraries satlas,satlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib
      libraries satlas,satlas not found in /usr/lib
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE

    atlas_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /usr/local/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE

    atlas_info:
      libraries lapack_atlas not found in /usr/local/lib
      libraries f77blas,cblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib
      libraries f77blas,cblas,atlas not found in /usr/lib
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE

    lapack_info:
      libraries lapack not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    /tmp/pip-install-6ncu9dal/numpy/numpy/distutils/system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [lapack]) or by setting
        the LAPACK environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
    lapack_src_info:
      NOT AVAILABLE

    /tmp/pip-install-6ncu9dal/numpy/numpy/distutils/system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
      NOT AVAILABLE

    numpy_linalg_lapack_lite:
      FOUND:
        language = c

    /usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
      warnings.warn(msg)
    running install
    running build
    running config_cc
    unifing config_cc, config, build_clib, build_ext, build commands --compiler options
    running config_fc
    unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
    running build_src
    build_src
    building py_modules sources
    building library "npymath" sources
    Could not locate executable gfortran
    Could not locate executable f95
    Could not locate executable ifort
    Could not locate executable ifc
    Could not locate executable lf95
    Could not locate executable pgfortran
    Could not locate executable nvfortran
    Could not locate executable f90
    Could not locate executable f77
    Could not locate executable fort
    Could not locate executable efort
    Could not locate executable efc
    Could not locate executable g77
    Could not locate executable g95
    Could not locate executable pathf95
    Could not locate executable nagfor
    don't know how to compile Fortran code on platform 'posix'
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-6ncu9dal/numpy/setup.py", line 508, in <module>
        setup_package()
      File "/tmp/pip-install-6ncu9dal/numpy/setup.py", line 500, in setup_package
        setup(**metadata)
      File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/core.py", line 169, in setup
        return old_setup(**new_attr)
      File "/tmp/pip-build-env-ymg7l0t6/lib/python3.7/site-packages/setuptools/__init__.py", line 165, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/command/install.py", line 60, in run
        r = self.setuptools_run()
      File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/command/install.py", line 34, in setuptools_run
        return distutils_install.run(self)
      File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run
        self.run_command('build')
      File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/command/build.py", line 40, in run
        old_build.run(self)
      File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/command/build_src.py", line 144, in run
        self.build_sources()
      File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/command/build_src.py", line 155, in build_sources
        self.build_library_sources(*libname_info)
      File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/command/build_src.py", line 288, in build_library_sources
        sources = self.generate_sources(sources, (lib_name, build_info))
      File "/tmp/pip-install-6ncu9dal/numpy/numpy/distutils/command/build_src.py", line 378, in generate_sources
        source = func(extension, build_dir)
      File "numpy/core/setup.py", line 663, in get_mathlib_info
        raise RuntimeError("Broken toolchain: cannot link a simple C program")
    RuntimeError: Broken toolchain: cannot link a simple C program

    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-6ncu9dal/numpy/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-08a_t75n/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-6ncu9dal/numpy/

Hi,

This comes with no guarantees, please make a backup your settings via myosmc, in case a reinstall is required.

Just tried this on a debian vm and had no issues getting to work, the only thing I did did different was install libav libraries rather than ffmpeg as this is what comes with osmc. I would try this:

sudo apt-get install git-core python3-pip python3-distutils
sudo apt-get install libxml2-dev libxslt1-dev python3-libxml2 python3-lxml unrar-free libatlas-base-dev
sudo git clone https://github.com/morpheus65535/bazarr.git /opt/bazarr
cd /opt/bazarr
python3 -m pip install -r requirements.txt
sudo chown -R osmc:osmc /opt/bazarr
python3 bazarr.py

Thanks Tom.

1 Like

Weird, I don’t see the backup option in My OSMC (on any skin), only icons for update, services, log uploader, network, remotes and app store?

MyOSMC β†’ Updates β†’ Backups

Tom.

Right, I forgot to say, the menu for updates seems to be broken, it just opens a weirdly formatted empty window with no text. In Confluence, it opens an empty popup window with β€˜Settings - Logging’ and the options β€˜Ok, Cancel and Defaults’, of which I can choose none.

Automatic updates install fine though.

Hi,

Please provide some logs:

Thanks Tom.

I had to grab a log via SSH, the log uploader didn’t give any feedback:

https://paste.osmc.tv/mericugajo

Hi,

You can backup by just backing up /home/osmc/.kodi folder. Its looks like you may have some file-system corruption, so it may be better to reinstall anyway:

Restoring the .kodi will just restore your kodi settings. You will need to re-setup any addiitonal tools you have installed such as Sonarr/Radarr).

Thanks Tom.

1 Like

I was kind of expecting this, thanks for the guidance and help :slight_smile:

I still remember how much trouble installing some of those extra programs gave me so I’ll save the complete reinstall for a rainy day, and just deal with the manual downloading of subtitles for now :wink:

1 Like