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

Docker build errors on Mac/Intel #83

Open
lastrk opened this issue Dec 29, 2021 · 1 comment
Open

Docker build errors on Mac/Intel #83

lastrk opened this issue Dec 29, 2021 · 1 comment

Comments

@lastrk
Copy link

lastrk commented Dec 29, 2021

Suggestion: pin python libraries to versions that are known to work with the Docker base image

Here is the output of the following command (as per the Readme.md):

docker build -t gen:v0 .

[+] Building 359.7s (11/16)                                                                                                                                                                           
 => [internal] load build definition from Dockerfile                                                                                                                                             0.0s
 => => transferring dockerfile: 37B                                                                                                                                                              0.0s
 => [internal] load .dockerignore                                                                                                                                                                0.0s
 => => transferring context: 34B                                                                                                                                                                 0.0s
 => [internal] load metadata for docker.io/library/ubuntu:16.04                                                                                                                                  1.6s
 => [ 1/12] FROM docker.io/library/ubuntu:16.04@sha256:0f71fa8d4d2d4292c3c617fda2b36f6dabe5c8b6e34c3dc5b0d17d4e704bd39c                                                                          0.0s
 => [internal] load build context                                                                                                                                                                0.0s
 => => transferring context: 11.32kB                                                                                                                                                             0.0s
 => CACHED [ 2/12] RUN             apt-get update -qq                 && apt-get install -qq -y                     hdf5-tools                     python3-dev                     python3-tk    0.0s
 => CACHED [ 3/12] RUN             apt-get install -qq -y git                                                                                                                                    0.0s
 => CACHED [ 4/12] RUN             git config --global user.name "Gen User"                                                                                                                      0.0s
 => CACHED [ 5/12] RUN             git config --global user.email "[email protected]"                                                                                                            0.0s
 => CACHED [ 6/12] RUN             virtualenv -p /usr/bin/python3 /venv                                                                                                                          0.0s
 => ERROR [ 7/12] RUN             . /venv/bin/activate && pip install jupyter jupytext matplotlib tensorflow torch                                                                             357.9s
------                                                                                                                                                                                                
 > [ 7/12] RUN             . /venv/bin/activate && pip install jupyter jupytext matplotlib tensorflow torch:                                                                                          
#10 0.813 DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.                                                                                                                                    
#10 1.039 Collecting jupyter                                                                                                                                                                          
#10 1.271   Downloading jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)                                                                                                                                   
#10 1.462 Collecting jupytext
#10 1.497   Downloading jupytext-1.8.1-py3-none-any.whl (284 kB)
#10 2.034 Collecting matplotlib
#10 2.066   Downloading matplotlib-3.0.3-cp35-cp35m-manylinux1_x86_64.whl (13.0 MB)
#10 4.504 Collecting tensorflow
#10 4.543   Downloading tensorflow-2.3.1-cp35-cp35m-manylinux2010_x86_64.whl (320.4 MB)
#10 88.80 Collecting torch
#10 88.86   Downloading torch-1.5.1-cp35-cp35m-manylinux1_x86_64.whl (753.2 MB)
#10 295.2 Collecting nbconvert
#10 295.3   Downloading nbconvert-5.6.1-py2.py3-none-any.whl (455 kB)
#10 295.6 Collecting qtconsole
#10 295.6   Downloading qtconsole-4.7.7-py2.py3-none-any.whl (118 kB)
#10 295.7 Collecting jupyter-console
#10 295.8   Downloading jupyter_console-6.1.0-py2.py3-none-any.whl (21 kB)
#10 296.0 Collecting ipywidgets
#10 296.0   Downloading ipywidgets-7.6.5-py2.py3-none-any.whl (121 kB)
#10 296.2 Collecting notebook
#10 296.2   Downloading notebook-6.2.0-py3-none-any.whl (9.5 MB)
#10 298.6 Collecting ipykernel
#10 298.6   Downloading ipykernel-5.5.6-py3-none-any.whl (121 kB)
#10 298.8 Collecting nbformat>=4.0.0
#10 298.8   Downloading nbformat-5.1.3-py3-none-any.whl (178 kB)
#10 299.0 Collecting pyyaml
#10 299.1   Downloading PyYAML-5.3.1.tar.gz (269 kB)
#10 299.8 Collecting toml
#10 299.8   Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
#10 300.0 Collecting jsonschema!=2.5.0,>=2.4
#10 300.0   Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
#10 300.1 Collecting jupyter-core
#10 300.1   Downloading jupyter_core-4.6.3-py2.py3-none-any.whl (83 kB)
#10 300.2 Collecting ipython-genutils
#10 300.3   Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
#10 300.3 Collecting traitlets>=4.1
#10 300.4   Downloading traitlets-4.3.3-py2.py3-none-any.whl (75 kB)
#10 300.5 Collecting pyrsistent>=0.14.0
#10 300.6   Downloading pyrsistent-0.17.3.tar.gz (106 kB)
#10 300.9 Requirement already satisfied: setuptools in /venv/lib/python3.5/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.0.0->jupytext) (51.2.0)
#10 301.4 Collecting attrs>=17.4.0
#10 301.5   Downloading attrs-21.3.0-py2.py3-none-any.whl (61 kB)
#10 301.6 Collecting six>=1.11.0
#10 301.6   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
#10 301.8 Collecting importlib-metadata
#10 301.8   Downloading importlib_metadata-2.1.2-py2.py3-none-any.whl (10 kB)
#10 302.0 Collecting decorator
#10 302.0   Downloading decorator-5.1.0-py3-none-any.whl (9.1 kB)
#10 302.1 Collecting python-dateutil>=2.1
#10 302.2   Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
#10 302.3 Collecting cycler>=0.10
#10 302.3   Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
#10 302.5 Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1
#10 302.5   Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
#10 303.3 Collecting numpy>=1.10.0
#10 303.3   Downloading numpy-1.18.5-cp35-cp35m-manylinux1_x86_64.whl (19.9 MB)
#10 307.3 Collecting kiwisolver>=1.0.1
#10 307.3   Downloading kiwisolver-1.1.0-cp35-cp35m-manylinux1_x86_64.whl (90 kB)
#10 307.4 Collecting termcolor>=1.1.0
#10 307.4   Downloading termcolor-1.1.0.tar.gz (3.9 kB)
#10 308.0 Collecting wrapt>=1.11.1
#10 308.0   Downloading wrapt-1.13.3-cp35-cp35m-manylinux2010_x86_64.whl (77 kB)
#10 308.1 Collecting google-pasta>=0.1.8
#10 308.1   Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB)
#10 308.2 Collecting absl-py>=0.7.0
#10 308.3   Downloading absl_py-0.15.0-py3-none-any.whl (132 kB)
#10 308.5 Collecting h5py<2.11.0,>=2.10.0
#10 308.5   Downloading h5py-2.10.0-cp35-cp35m-manylinux1_x86_64.whl (2.8 MB)
#10 309.1 Collecting gast==0.3.3
#10 309.2   Downloading gast-0.3.3-py2.py3-none-any.whl (9.7 kB)
#10 309.3 Collecting tensorboard<3,>=2.3.0
#10 309.3   Downloading tensorboard-2.5.0-py3-none-any.whl (6.0 MB)
#10 312.0 Collecting grpcio>=1.8.6
#10 312.1   Downloading grpcio-1.41.1.tar.gz (21.2 MB)
#10 319.0     ERROR: Command errored out with exit status 1:
#10 319.0      command: /venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_6xb6j0w/grpcio_b54a8a2f93c4445f9d70db85400d5441/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_6xb6j0w/grpcio_b54a8a2f93c4445f9d70db85400d5441/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-2ss084pr
#10 319.0          cwd: /tmp/pip-install-_6xb6j0w/grpcio_b54a8a2f93c4445f9d70db85400d5441/
#10 319.0     Complete output (11 lines):
#10 319.0     Traceback (most recent call last):
#10 319.0       File "<string>", line 1, in <module>
#10 319.0       File "/tmp/pip-install-_6xb6j0w/grpcio_b54a8a2f93c4445f9d70db85400d5441/setup.py", line 256, in <module>
#10 319.0         if check_linker_need_libatomic():
#10 319.0       File "/tmp/pip-install-_6xb6j0w/grpcio_b54a8a2f93c4445f9d70db85400d5441/setup.py", line 206, in check_linker_need_libatomic
#10 319.0         stderr=PIPE)
#10 319.0       File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
#10 319.0         restore_signals, start_new_session)
#10 319.0       File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
#10 319.0         raise child_exception_type(errno_num, err_msg)
#10 319.0     FileNotFoundError: [Errno 2] No such file or directory: 'c++'
#10 319.0     ----------------------------------------
#10 319.0 WARNING: Discarding https://files.pythonhosted.org/packages/bd/81/6c704c002a992b9d6466c739e3e7687e0bb2365d8cd63d7fc8e95d502cb6/grpcio-1.41.1.tar.gz#sha256=9b751271b029432a526a4970dc9b70d93eb6f0963b6a841b574f780b72651969 (from https://pypi.org/simple/grpcio/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
#10 319.0   Downloading grpcio-1.41.0.tar.gz (21.2 MB)
#10 327.8     ERROR: Command errored out with exit status 1:
#10 327.8      command: /venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_6xb6j0w/grpcio_ad90a1a7ac894ee6bcdb77a9ae73af8c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_6xb6j0w/grpcio_ad90a1a7ac894ee6bcdb77a9ae73af8c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ps64peub
#10 327.8          cwd: /tmp/pip-install-_6xb6j0w/grpcio_ad90a1a7ac894ee6bcdb77a9ae73af8c/
#10 327.8     Complete output (11 lines):
#10 327.8     Traceback (most recent call last):
#10 327.8       File "<string>", line 1, in <module>
#10 327.8       File "/tmp/pip-install-_6xb6j0w/grpcio_ad90a1a7ac894ee6bcdb77a9ae73af8c/setup.py", line 256, in <module>
#10 327.8         if check_linker_need_libatomic():
#10 327.8       File "/tmp/pip-install-_6xb6j0w/grpcio_ad90a1a7ac894ee6bcdb77a9ae73af8c/setup.py", line 206, in check_linker_need_libatomic
#10 327.8         stderr=PIPE)
#10 327.8       File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
#10 327.8         restore_signals, start_new_session)
#10 327.8       File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
#10 327.8         raise child_exception_type(errno_num, err_msg)
#10 327.8     FileNotFoundError: [Errno 2] No such file or directory: 'c++'
#10 327.8     ----------------------------------------
#10 327.8 WARNING: Discarding https://files.pythonhosted.org/packages/0b/f2/b14091fd31bfced105d8352f46bbc495518a93ff0debcc7db283258ad655/grpcio-1.41.0.tar.gz#sha256=15c04d695833c739dbb25c88eaf6abd9a461ec0dbd32f44bc8769335a495cf5a (from https://pypi.org/simple/grpcio/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
#10 327.9   Downloading grpcio-1.40.0-cp35-cp35m-manylinux2014_x86_64.whl (4.3 MB)
#10 329.7 Collecting astunparse==1.6.3
#10 329.8   Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
#10 329.9 Collecting opt-einsum>=2.3.2
#10 329.9   Downloading opt_einsum-3.3.0-py3-none-any.whl (65 kB)
#10 330.0 Collecting keras-preprocessing<1.2,>=1.1.1
#10 330.0   Downloading Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
#10 330.1 Collecting tensorflow-estimator<2.4.0,>=2.3.0
#10 330.1   Downloading tensorflow_estimator-2.3.0-py2.py3-none-any.whl (459 kB)
#10 330.2 Requirement already satisfied: wheel>=0.26 in /venv/lib/python3.5/site-packages (from tensorflow) (0.37.1)
#10 330.8 Collecting protobuf>=3.9.2
#10 330.8   Downloading protobuf-3.19.1-py2.py3-none-any.whl (162 kB)
#10 331.2 Collecting google-auth-oauthlib<0.5,>=0.4.1
#10 331.2   Downloading google_auth_oauthlib-0.4.1-py2.py3-none-any.whl (18 kB)
#10 331.5 Collecting google-auth<2,>=1.6.3
#10 331.5   Downloading google_auth-1.23.0-py2.py3-none-any.whl (114 kB)
#10 331.6 Collecting tensorboard-plugin-wit>=1.6.0
#10 331.6   Downloading tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB)
#10 332.0 Collecting requests<3,>=2.21.0
#10 332.0   Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
#10 332.1 Collecting tensorboard<3,>=2.3.0
#10 332.2   Downloading tensorboard-2.4.1-py3-none-any.whl (10.6 MB)
#10 334.8 Collecting markdown>=2.6.8
#10 334.9   Downloading Markdown-3.2.2-py3-none-any.whl (88 kB)
#10 335.0 Collecting werkzeug>=0.11.15
#10 335.0   Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
#10 335.2 Collecting cachetools<5.0,>=2.0.0
#10 335.2   Downloading cachetools-4.2.4-py3-none-any.whl (10 kB)
#10 335.4 Collecting rsa<5,>=3.1.4
#10 335.4   Downloading rsa-4.7.2-py3-none-any.whl (34 kB)
#10 335.5 Collecting pyasn1-modules>=0.2.1
#10 335.6   Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
#10 335.9 Collecting requests-oauthlib>=0.7.0
#10 335.9   Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
#10 336.4 Collecting pyasn1<0.5.0,>=0.4.6
#10 336.4   Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
#10 336.6 Collecting idna<3,>=2.5
#10 336.6   Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
#10 336.7 Collecting chardet<5,>=3.0.2
#10 336.7   Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
#10 337.0 Collecting certifi>=2017.4.17
#10 337.0   Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
#10 337.2 Collecting urllib3<1.27,>=1.21.1
#10 337.3   Downloading urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
#10 337.5 Collecting oauthlib>=3.0.0
#10 337.5   Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
#10 337.8 Collecting future
#10 337.8   Downloading future-0.18.2.tar.gz (829 kB)
#10 338.7 Collecting zipp>=0.5
#10 338.7   Downloading zipp-1.2.0-py2.py3-none-any.whl (4.8 kB)
#10 339.0 Collecting jupyter-client
#10 339.0   Downloading jupyter_client-6.1.12-py3-none-any.whl (112 kB)
#10 339.2 Collecting ipython>=5.0.0
#10 339.3   Downloading ipython-7.9.0-py3-none-any.whl (775 kB)
#10 339.6 Collecting tornado>=4.2
#10 339.6   Downloading tornado-6.1-cp35-cp35m-manylinux2010_x86_64.whl (427 kB)
#10 339.9 Collecting jedi>=0.10
#10 339.9   Downloading jedi-0.17.2-py2.py3-none-any.whl (1.4 MB)
#10 340.5 Collecting prompt-toolkit<2.1.0,>=2.0.0
#10 340.5   Downloading prompt_toolkit-2.0.10-py3-none-any.whl (340 kB)
#10 340.7 Collecting pexpect
#10 340.7   Downloading pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
#10 340.8 Collecting pygments
#10 340.9   Downloading Pygments-2.10.0-py3-none-any.whl (1.0 MB)
#10 341.1 Collecting backcall
#10 341.2   Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
#10 341.3 Collecting pickleshare
#10 341.3   Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
#10 341.4 Collecting parso<0.8.0,>=0.7.0
#10 341.4   Downloading parso-0.7.1-py2.py3-none-any.whl (109 kB)
#10 341.6 Collecting wcwidth
#10 341.6   Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
#10 341.9 Collecting widgetsnbextension~=3.5.0
#10 341.9   Downloading widgetsnbextension-3.5.2-py2.py3-none-any.whl (1.6 MB)
#10 342.5 Collecting jinja2
#10 342.6   Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
#10 342.7 Collecting terminado>=0.8.3
#10 342.8   Downloading terminado-0.8.3-py2.py3-none-any.whl (33 kB)
#10 343.4 Collecting pyzmq>=17
#10 343.5   Downloading pyzmq-20.0.0-cp35-cp35m-manylinux1_x86_64.whl (1.1 MB)
#10 343.8 Collecting prometheus-client
#10 343.9   Downloading prometheus_client-0.12.0-py2.py3-none-any.whl (57 kB)
#10 344.0 Collecting Send2Trash>=1.5.0
#10 344.0   Downloading Send2Trash-1.8.0-py3-none-any.whl (18 kB)
#10 344.1 Collecting argon2-cffi
#10 344.2   Downloading argon2_cffi-21.1.0-cp35-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl (96 kB)
#10 344.7 Collecting ptyprocess
#10 344.7   Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
#10 345.4 Collecting cffi>=1.0.0
#10 345.4   Downloading cffi-1.15.0.tar.gz (484 kB)
#10 346.0 Collecting pycparser
#10 346.0   Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
#10 346.3 Collecting MarkupSafe>=0.23
#10 346.4   Downloading MarkupSafe-1.1.1-cp35-cp35m-manylinux1_x86_64.whl (27 kB)
#10 346.6 Collecting bleach
#10 346.7   Downloading bleach-3.3.1-py2.py3-none-any.whl (146 kB)
#10 346.8 Collecting testpath
#10 346.8   Downloading testpath-0.5.0-py3-none-any.whl (84 kB)
#10 346.9 Collecting pandocfilters>=1.4.1
#10 346.9   Downloading pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
#10 347.0 Collecting mistune<2,>=0.8.1
#10 347.1   Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB)
#10 347.2 Collecting defusedxml
#10 347.2   Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
#10 347.3 Collecting entrypoints>=0.2.2
#10 347.3   Downloading entrypoints-0.3-py2.py3-none-any.whl (11 kB)
#10 347.6 Collecting packaging
#10 347.6   Downloading packaging-20.9-py2.py3-none-any.whl (40 kB)
#10 347.7 Collecting webencodings
#10 347.7   Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
#10 348.3 Collecting qtpy
#10 348.3   Downloading QtPy-1.9.0-py2.py3-none-any.whl (54 kB)
#10 348.6 Building wheels for collected packages: pyrsistent, future, termcolor, cffi, pyyaml
#10 348.6   Building wheel for pyrsistent (setup.py): started
#10 348.9   Building wheel for pyrsistent (setup.py): finished with status 'done'
#10 348.9   Created wheel for pyrsistent: filename=pyrsistent-0.17.3-cp35-cp35m-linux_x86_64.whl size=55875 sha256=3afd9ac9b747216700c2ca2929ab6be891551e1fee83d81e2230eb1fc61bff12
#10 348.9   Stored in directory: /root/.cache/pip/wheels/6e/ce/d7/a149c2d007203e74294d9d641ea6a6504a3d71a0540790e452
#10 349.0   Building wheel for future (setup.py): started
#10 349.5   Building wheel for future (setup.py): finished with status 'done'
#10 349.5   Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491058 sha256=676046f78dd6dc341603166b320f531bfce5d85fce61af13ff6d5e53c77bbb6e
#10 349.5   Stored in directory: /root/.cache/pip/wheels/c4/f0/ae/d4689c4532d1f111462ed6a884a7767d502e511ee65f0d8e1b
#10 349.6   Building wheel for termcolor (setup.py): started
#10 349.9   Building wheel for termcolor (setup.py): finished with status 'done'
#10 349.9   Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4830 sha256=b6882a05b3a7cb0404eb457147c4458df66fa455cb13f38b3c49bfb825ee9863
#10 349.9   Stored in directory: /root/.cache/pip/wheels/91/0e/11/1f1321dce76e9c542907008e4a94ff79f8bf525a3fa32b09f3
#10 349.9   Building wheel for cffi (setup.py): started
#10 350.2   Building wheel for cffi (setup.py): finished with status 'error'
#10 350.2   ERROR: Command errored out with exit status 1:
#10 350.2    command: /venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_6xb6j0w/cffi_a0eb527ac27f4fb6a54d3fbc9f5dfb7f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_6xb6j0w/cffi_a0eb527ac27f4fb6a54d3fbc9f5dfb7f/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-uuxxdx2f
#10 350.2        cwd: /tmp/pip-install-_6xb6j0w/cffi_a0eb527ac27f4fb6a54d3fbc9f5dfb7f/
#10 350.2   Complete output (48 lines):
#10 350.2   unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
#10 350.2   unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
#10 350.2   
#10 350.2       No working compiler found, or bogus compiler options passed to
#10 350.2       the compiler from Python's standard "distutils" module.  See
#10 350.2       the error messages above.  Likely, the problem is not related
#10 350.2       to CFFI but generic to the setup.py of any Python package that
#10 350.2       tries to compile C code.  (Hints: on OS/X 10.8, for errors about
#10 350.2       -mno-fused-madd see http://stackoverflow.com/questions/22313407/
#10 350.2       Otherwise, see https://wiki.python.org/moin/CompLangPython or
#10 350.2       the IRC channel #python on irc.libera.chat.)
#10 350.2   
#10 350.2       Trying to continue anyway.  If you are trying to install CFFI from
#10 350.2       a build done in a different context, you can ignore this warning.
#10 350.2   
#10 350.2   running bdist_wheel
#10 350.2   running build
#10 350.2   running build_py
#10 350.2   creating build
#10 350.2   creating build/lib.linux-x86_64-3.5
#10 350.2   creating build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/__init__.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/verifier.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/cparser.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/error.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/recompiler.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/model.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/lock.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/commontypes.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/api.py -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/_embedding.h -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.5/cffi
#10 350.2   running build_ext
#10 350.2   building '_cffi_backend' extension
#10 350.2   creating build/temp.linux-x86_64-3.5
#10 350.2   creating build/temp.linux-x86_64-3.5/c
#10 350.2   x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.5m -I/venv/include/python3.5m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.5/c/_cffi_backend.o
#10 350.2   unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
#10 350.2   error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
#10 350.2   ----------------------------------------
#10 350.2   ERROR: Failed building wheel for cffi
#10 350.2   Running setup.py clean for cffi
#10 350.5   Building wheel for pyyaml (setup.py): started
#10 350.9   Building wheel for pyyaml (setup.py): finished with status 'done'
#10 350.9   Created wheel for pyyaml: filename=PyYAML-5.3.1-cp35-cp35m-linux_x86_64.whl size=44620 sha256=71e8ebc44c6d07662461c13d43f10be63dbeebdb2a6e9a96e16f470b07d66355
#10 350.9   Stored in directory: /root/.cache/pip/wheels/57/d0/2c/e2003abb5bc1a94c2e8a6fe1c03b8055d074e34c13672e7eb7
#10 350.9 Successfully built pyrsistent future termcolor pyyaml
#10 350.9 Failed to build cffi
#10 351.7 Installing collected packages: zipp, six, ipython-genutils, decorator, wcwidth, traitlets, pyrsistent, pyparsing, ptyprocess, parso, importlib-metadata, attrs, webencodings, tornado, pyzmq, python-dateutil, pygments, pycparser, prompt-toolkit, pickleshare, pexpect, packaging, MarkupSafe, jupyter-core, jsonschema, jedi, backcall, urllib3, testpath, pyasn1, pandocfilters, nbformat, mistune, jupyter-client, jinja2, ipython, idna, entrypoints, defusedxml, chardet, cffi, certifi, bleach, terminado, Send2Trash, rsa, requests, pyasn1-modules, prometheus-client, oauthlib, nbconvert, ipykernel, cachetools, argon2-cffi, requests-oauthlib, notebook, google-auth, widgetsnbextension, werkzeug, tensorboard-plugin-wit, qtpy, protobuf, numpy, markdown, grpcio, google-auth-oauthlib, absl-py, wrapt, toml, termcolor, tensorflow-estimator, tensorboard, qtconsole, pyyaml, opt-einsum, kiwisolver, keras-preprocessing, jupyter-console, ipywidgets, h5py, google-pasta, gast, future, cycler, astunparse, torch, tensorflow, matplotlib, jupytext, jupyter
#10 356.0     Running setup.py install for cffi: started
#10 356.3     Running setup.py install for cffi: finished with status 'error'
#10 356.3     ERROR: Command errored out with exit status 1:
#10 356.3      command: /venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_6xb6j0w/cffi_a0eb527ac27f4fb6a54d3fbc9f5dfb7f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_6xb6j0w/cffi_a0eb527ac27f4fb6a54d3fbc9f5dfb7f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-lwhxwtng/install-record.txt --single-version-externally-managed --compile --install-headers /venv/include/site/python3.5/cffi
#10 356.3          cwd: /tmp/pip-install-_6xb6j0w/cffi_a0eb527ac27f4fb6a54d3fbc9f5dfb7f/
#10 356.3     Complete output (48 lines):
#10 356.3     unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
#10 356.3     unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
#10 356.3     
#10 356.3         No working compiler found, or bogus compiler options passed to
#10 356.3         the compiler from Python's standard "distutils" module.  See
#10 356.3         the error messages above.  Likely, the problem is not related
#10 356.3         to CFFI but generic to the setup.py of any Python package that
#10 356.3         tries to compile C code.  (Hints: on OS/X 10.8, for errors about
#10 356.3         -mno-fused-madd see http://stackoverflow.com/questions/22313407/
#10 356.3         Otherwise, see https://wiki.python.org/moin/CompLangPython or
#10 356.3         the IRC channel #python on irc.libera.chat.)
#10 356.3     
#10 356.3         Trying to continue anyway.  If you are trying to install CFFI from
#10 356.3         a build done in a different context, you can ignore this warning.
#10 356.3     
#10 356.3     running install
#10 356.3     running build
#10 356.3     running build_py
#10 356.3     creating build
#10 356.3     creating build/lib.linux-x86_64-3.5
#10 356.3     creating build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/__init__.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/verifier.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/cparser.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/error.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/recompiler.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/model.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/lock.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/commontypes.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/api.py -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/_embedding.h -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.5/cffi
#10 356.3     running build_ext
#10 356.3     building '_cffi_backend' extension
#10 356.3     creating build/temp.linux-x86_64-3.5
#10 356.3     creating build/temp.linux-x86_64-3.5/c
#10 356.3     x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.5m -I/venv/include/python3.5m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.5/c/_cffi_backend.o
#10 356.3     unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
#10 356.3     error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
#10 356.3     ----------------------------------------
#10 356.3 ERROR: Command errored out with exit status 1: /venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_6xb6j0w/cffi_a0eb527ac27f4fb6a54d3fbc9f5dfb7f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_6xb6j0w/cffi_a0eb527ac27f4fb6a54d3fbc9f5dfb7f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-lwhxwtng/install-record.txt --single-version-externally-managed --compile --install-headers /venv/include/site/python3.5/cffi Check the logs for full command output.
------
executor failed running [/bin/sh -c . /venv/bin/activate && pip install jupyter jupytext matplotlib tensorflow torch]: exit code: 1
@fsaad
Copy link
Collaborator

fsaad commented Jan 2, 2022

Hi @lastrk, have you tried the workaround from #77

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

2 participants