Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not an issue but a question #143

Open
redfirebrooks opened this issue Jun 11, 2023 · 1 comment
Open

Not an issue but a question #143

redfirebrooks opened this issue Jun 11, 2023 · 1 comment

Comments

@redfirebrooks
Copy link

redfirebrooks commented Jun 11, 2023

Hello,
I am trying to run domoticz as a docker container.
What should I do to signal the IEAK plug in ?
Should I follow the install process inside the container (shell) or on the host system (which is already running domictz and the IEKA plugin) ?
I tried to install from the container but I have error installing Tradfricoap

root@ed1b3c90927a:/opt/domoticz/userdata/plugins# pip3 install -U tradfricoap
Collecting tradfricoap
  Using cached tradfricoap-0.1.0-py3-none-any.whl
Collecting py3coap (from tradfricoap)
  Using cached py3coap-0.9.4.tar.gz (5.6 kB)
  Preparing metadata (setup.py) ... done
Collecting appdirs (from tradfricoap)
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Building wheels for collected packages: py3coap
  Building wheel for py3coap (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [22 lines of output]
      /usr/local/lib/python3.9/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!
      
              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************
      
      !!
        dist.fetch_build_eggs(dist.setup_requires)
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-armv7l-cpython-39
      creating build/lib.linux-armv7l-cpython-39/py3coap
      copying py3coap/errors.py -> build/lib.linux-armv7l-cpython-39/py3coap
      copying py3coap/__init__.py -> build/lib.linux-armv7l-cpython-39/py3coap
      copying py3coap/py3coap.py -> build/lib.linux-armv7l-cpython-39/py3coap
      running build_ext
      $ GOPATH=/tmp/tmp9uyc50qi go get -d
      error: [Errno 2] No such file or directory: 'go'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for py3coap
  Running setup.py clean for py3coap
Failed to build py3coap
ERROR: Could not build wheels for py3coap, which is required to install pyproject.toml-based projects
root@ed1b3c90927a:/opt/domoticz/userdata/plugins# 
@redfirebrooks
Copy link
Author

redfirebrooks commented Jun 12, 2023

Replying to myself but maybe it could be usefull for someonelse.

The domoticz docker image does not come with golang pre installed.
The answer to my issue was in front of my eyes.
A simple apt update and apt install golang did the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant