Hey guys,
I am having some problems with the tradfri component.
My log shows me:
Could not install all requirements
Component Wiki told me:
The Python version 3.4.4 or greater is required for this component. The component will not initialize without this and will report a Could not install all requirements error in the logs.
My terminal tells me:
/homeassistant$ python3 -V Python 3.5.2
However - i tried to set up the newest version, but I am getting some errors and don’t know from here:
sudo apt-get install python 3.6.3
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘libghc-filemanip-prof-0.3.6.3-aca98’ for regex ‘3.6.3’
Note, selecting ‘libghc-tasty-kat-prof-0.0.3-6f3f2’ for regex ‘3.6.3’
Note, selecting ‘libghc-tagsoup-dev-0.13.6-346bc’ for regex ‘3.6.3’
Note, selecting ‘libghc-sandi-dev-0.3.6-3e3a8’ for regex ‘3.6.3’
Note, selecting ‘libpipebang-camlp4-dev-3g6t3’ for regex ‘3.6.3’
Note, selecting ‘libghc-filemanip-dev-0.3.6.3-01d51:i386’ for regex ‘3.6.3’
Note, selecting ‘libghc-sandi-prof-0.3.6-3e3a8’ for regex ‘3.6.3’
Note, selecting ‘libghc-tasty-kat-dev-0.0.3-6f3f2’ for regex ‘3.6.3’
Note, selecting ‘libghc-filemanip-dev-0.3.6.3-aca98’ for regex ‘3.6.3’
Note, selecting ‘libghc-tagsoup-prof-0.13.6-346bc’ for regex ‘3.6.3’
Note, selecting ‘fp-units-i386-3.0.0:i386’ for regex ‘3.6.3’
Note, selecting ‘libghc-filemanip-prof-0.3.6.3-01d51:i386’ for regex ‘3.6.3’
Note, selecting ‘libghc-filemanip-dev’ instead of ‘libghc-filemanip-dev-0.3.6.3-aca98’
Note, selecting ‘libghc-filemanip-prof’ instead of ‘libghc-filemanip-prof-0.3.6.3-aca98’
Note, selecting ‘libghc-tagsoup-dev’ instead of ‘libghc-tagsoup-dev-0.13.6-346bc’
Note, selecting ‘libghc-tagsoup-prof’ instead of ‘libghc-tagsoup-prof-0.13.6-346bc’
Note, selecting ‘libghc-sandi-dev’ instead of ‘libghc-sandi-dev-0.3.6-3e3a8’
Note, selecting ‘libghc-sandi-prof’ instead of ‘libghc-sandi-prof-0.3.6-3e3a8’
Note, selecting ‘libghc-tasty-kat-dev’ instead of ‘libghc-tasty-kat-dev-0.0.3-6f3f2’
Note, selecting ‘libghc-tasty-kat-prof’ instead of ‘libghc-tasty-kat-prof-0.0.3-6f3f2’
Note, selecting ‘libpipebang-camlp4-dev’ instead of ‘libpipebang-camlp4-dev-3g6t3’
Note, selecting ‘libghc-filemanip-dev:i386’ instead of ‘libghc-filemanip-dev-0.3.6.3-01d51:i386’
Note, selecting ‘libghc-filemanip-prof:i386’ instead of ‘libghc-filemanip-prof-0.3.6.3-01d51:i386’
python is already the newest version (2.7.11-1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:
libghc-filemanip-dev : Depends: libghc-base-dev-4.8.2.0-0d6d1
Depends: libghc-bytestring-dev-0.10.6.0-9a873
Depends: libghc-directory-dev-1.2.2.0-660a7
Depends: libghc-filepath-dev-1.4.0.0-f97d1
Depends: libghc-mtl-dev-2.2.1-3af90
Depends: libghc-unix-compat-dev-0.4.1.4-1e201
Conflicts: libghc-filemanip-dev:i386 but 0.3.6.3-4 is to be installed
libghc-filemanip-dev:i386 : Depends: libghc-base-dev-4.8.2.0-a3ce8:i386
Depends: libghc-bytestring-dev-0.10.6.0-89a6f:i386
Depends: libghc-directory-dev-1.2.2.0-97fb5:i386
Depends: libghc-filepath-dev-1.4.0.0-59267:i386
Depends: libghc-mtl-dev-2.2.1-05005:i386
Depends: libghc-unix-compat-dev-0.4.1.4-cdf42:i386
Conflicts: libghc-filemanip-dev but 0.3.6.3-4 is to be installed
libghc-filemanip-prof : Depends: libghc-base-prof-4.8.2.0-0d6d1
Depends: libghc-bytestring-prof-0.10.6.0-9a873
Depends: libghc-directory-prof-1.2.2.0-660a7
Depends: libghc-filepath-prof-1.4.0.0-f97d1
Depends: libghc-mtl-prof-2.2.1-3af90
Depends: libghc-unix-compat-prof-0.4.1.4-1e201
Conflicts: libghc-filemanip-prof:i386 but 0.3.6.3-4 is to be installed
libghc-filemanip-prof:i386 : Depends: libghc-base-prof-4.8.2.0-a3ce8:i386
Depends: libghc-bytestring-prof-0.10.6.0-89a6f:i386
Depends: libghc-directory-prof-1.2.2.0-97fb5:i386
Depends: libghc-filepath-prof-1.4.0.0-59267:i386
Depends: libghc-mtl-prof-2.2.1-05005:i386
Depends: libghc-unix-compat-prof-0.4.1.4-cdf42:i386
Conflicts: libghc-filemanip-prof but 0.3.6.3-4 is to be installed
libghc-sandi-dev : Depends: libghc-base-dev-4.8.2.0-0d6d1
Depends: libghc-bytestring-dev-0.10.6.0-9a873
Depends: libghc-conduit-dev-1.2.6.1-41894
Depends: libghc-exceptions-dev-0.8.0.2-36aed
libghc-sandi-prof : Depends: libghc-base-prof-4.8.2.0-0d6d1
Depends: libghc-bytestring-prof-0.10.6.0-9a873
Depends: libghc-conduit-prof-1.2.6.1-41894
Depends: libghc-exceptions-prof-0.8.0.2-36aed
libghc-tagsoup-dev : Depends: libghc-base-dev-4.8.2.0-0d6d1
Depends: libghc-bytestring-dev-0.10.6.0-9a873
Depends: libghc-containers-dev-0.5.6.2-59326
Depends: libghc-network-dev-2.6.2.1-25f4f
Depends: libghc-text-dev-1.2.2.0-2c09c
libghc-tagsoup-prof : Depends: libghc-base-prof-4.8.2.0-0d6d1
Depends: libghc-bytestring-prof-0.10.6.0-9a873
Depends: libghc-containers-prof-0.5.6.2-59326
Depends: libghc-network-prof-2.6.2.1-25f4f
Depends: libghc-text-prof-1.2.2.0-2c09c
libghc-tasty-kat-dev : Depends: libghc-base-dev-4.8.2.0-0d6d1
Depends: libghc-bytestring-dev-0.10.6.0-9a873
Depends: libghc-tasty-dev-0.11.0.2-d0fc9
libghc-tasty-kat-prof : Depends: libghc-base-prof-4.8.2.0-0d6d1
Depends: libghc-bytestring-prof-0.10.6.0-9a873
Depends: libghc-tasty-prof-0.11.0.2-d0fc9
libpipebang-camlp4-dev : Depends: camlp4 but it is not going to be installed
Depends: libcamlp4-ocaml-dev-p9wj7
Depends: ocaml-nox-4.02.3
E: Unable to correct problems, you have held broken packages.
Has anyone encountered similar problems or can tell me how I can fix this?
I am running my instance on Ubuntu 16.04.3, homeassistant in Python virtual environment.
Thank you!