Open picto3000 opened 2 years ago
It should, although I'll admit I have never tested it on an amd64 platform. Here's the build config and I don't see any obvious issues. https://github.com/jshridha/inkbird/blob/19bc819b6beec1d137592fde1ee547a479aca953/azure-pipelines.yml#L46
I think have a machine I can test it on, so I'll see if I can replicate your issues.
I think I've just found the same thing
So I've figured out how to get it to run. Small change to the Docker file:
FROM arm32v6/python:3.7-alpine as builder
to
FROM python:3.7-alpine as builder
And there's another further down. But I did get a error with bluepy
Building wheel for bluepy (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-uyam3gry
cwd: /tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d/
Complete output (12 lines):
/usr/local/lib/python3.7/site-packages/setuptools/dist.py:700: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
running bdist_wheel
running build
running build_py
Working dir is /tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d
execute make -C ./bluepy clean
Failed to compile bluepy-helper. Exiting install.
Command was 'make -C ./bluepy clean' in /tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d
Return code was 2
Output was:
b"make: Entering directory '/tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d/bluepy'\nrm -rf *.o bluepy-helper TAGS ./bluez-5.47\nmake: /bin/sh: Operation not permitted\nmake: *** [Makefile:50: clean] Error 127\nmake: Leaving directory '/tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d/bluepy'\n"
----------------------------------------
ERROR: Failed building wheel for bluepy
I'm receiving the following error when starting the container on my IntelNuc running Ubuntu. DockerHub lists an amd64 tag, but the project just references raspberry pi. Does this project support amd64?