Wheels error Ikea Tradfri plugin Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
Basssment
Posts: 38
Joined: Thursday 18 October 2018 14:04
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: netherlands, Kuuk
Contact:

Wheels error Ikea Tradfri plugin

Post by Basssment »

Hello all,
After having ikea tradfri working perfectly in version 1.1 on domoticz I had to start all over after my rpi 3b does not work anymore.
when installing the Ikea Tradfri plugin from Moroen I found a newer version.
https://github.com/moroen/IKEA-Tradfri- ... ree/pycoap

When installing i get an error at step 3

This is the outcome

Code: Select all

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://test.pypi.org/simple/
Requirement already satisfied: appdirs in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (1.4.3)
Collecting pycoap
  Using cached https://test-files.pythonhosted.org/packages/af/0a/598363239febfbbc8562b6ca31e20c09ba7adb2ee3545d1bdfe1106a0fe3/pycoap-0.5.3.tar.gz
Building wheels for collected packages: pycoap
  Building wheel for pycoap (setup.py) ... 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-85khm2uf/pycoap/setup.py'"'"'; __file__='"'"'/tmp/pip-install-85khm2uf/pycoap/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-v351atbh --python-tag cp37
       cwd: /tmp/pip-install-85khm2uf/pycoap/
  Complete output (11 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-armv7l-3.7
  creating build/lib.linux-armv7l-3.7/pycoap
  copying pycoap/pycoap.py -> build/lib.linux-armv7l-3.7/pycoap
  copying pycoap/__init__.py -> build/lib.linux-armv7l-3.7/pycoap
  running build_ext
  $ GOPATH=/tmp/tmpofd9612o go get -d
  error: [Errno 2] No such file or directory: 'go': 'go'
  ----------------------------------------
  ERROR: Failed building wheel for pycoap
Moroen already reports that golang compiler should be installed.
After doing that the outcome above is the same.

Anyone got a clue what is could do to make it work?
I'm pretty new to linux so don't be to hard on me ;)

Bas
Basssment
Posts: 38
Joined: Thursday 18 October 2018 14:04
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: netherlands, Kuuk
Contact:

Re: Wheels error Ikea Tradfri plugin

Post by Basssment »

Solved this by doing the following:

Code: Select all

sudo apt install golang
pip3 install -r requirements.txt
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest