Xuan Mai Ho
09/21/2022, 12:01 PMBuild and deploy to Dagster Cloud serverless
step:
#15 28.12 g++ -std=c++11 -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/local/include/python3.8 -c buildutils/initlibzmq.cpp -o build/temp.linux-x86_64-cpython-38/buildutils/initlibzmq.o
#15 28.12 error: command 'g++' failed: No such file or directory
#15 28.12 [end of output]
#15 28.12
#15 28.12 note: This error originates from a subprocess, and is likely not a problem with pip.
#15 28.12 ERROR: Failed building wheel for pyzmq
#15 28.12 Successfully built wkflw promise
#15 28.12 Failed to build pyzmq
#15 28.12 ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects
#15 ERROR: process "/bin/sh -c if [ -f \"requirements.txt\" ]; then pip install -r requirements.txt; fi" did not complete successfully: exit code: 1
------
> [ 9/11] RUN if [ -f "requirements.txt" ]; then pip install -r requirements.txt; fi:
#15 28.12 creating build/temp.linux-x86_64-cpython-38/bundled/zeromq/src
#15 28.12 g++ -std=c++11 -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/local/include/python3.8 -c buildutils/initlibzmq.cpp -o build/temp.linux-x86_64-cpython-38/buildutils/initlibzmq.o
#15 28.12 error: command 'g++' failed: No such file or directory
#15 28.12 [end of output]
#15 28.12
#15 28.12 note: This error originates from a subprocess, and is likely not a problem with pip.
#15 28.12 ERROR: Failed building wheel for pyzmq
#15 28.12 Successfully built wkflw promise
#15 28.12 Failed to build pyzmq
#15 28.12 ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects
------
Dockerfile:24
--------------------
23 | # Install the rest of dependencies in case there is a requirements.txt
24 | >>> RUN if [ -f "requirements.txt" ]; then \
25 | >>> pip install -r requirements.txt; \
26 | >>> fi
27 |
--------------------
ERROR: failed to solve: process "/bin/sh -c if [ -f \"requirements.txt\" ]; then pip install -r requirements.txt; fi" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c if [ -f \"requirements.txt\" ]; then pip install -r requirements.txt; fi" did not complete successfully: exit code: 1
Builds were 👌 yesterdaydaniel
09/21/2022, 12:11 PMXuan Mai Ho
09/21/2022, 12:18 PM