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 error when running run_example.sh on Mac M1 #41

Open
aneeshjain opened this issue Oct 14, 2021 · 9 comments
Open

Docker error when running run_example.sh on Mac M1 #41

aneeshjain opened this issue Oct 14, 2021 · 9 comments

Comments

@aneeshjain
Copy link

I get the following error on running the example script on my Mac M1

executor failed running [/bin/sh -c make -C /allrank install-reqs]: exit code: 2
Unable to find image 'allrank:latest' locally
docker: Error response from daemon: pull access denied for allrank, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

I also have an older MacBook Pro and did not face any such issues when I ran the same file on that. How can I fix this?

@kretes
Copy link
Contributor

kretes commented Dec 23, 2021

It looks one of the steps of building the image failed:
executor failed running [/bin/sh -c make -C /allrank install-reqs]: exit code: 2 - Do you have more logs from this process?

@shriyaakella
Copy link

Has this been resolved? I get the same error.

@sathyarr
Copy link

any update on this? it's 2023. thanks

@kretes
Copy link
Contributor

kretes commented Jul 20, 2023

I don't have access to Mac M1 to reproduce. Please provide full logs from the process, starting from the command being executed. We might debug it this way.

@sathyarr
Copy link

@kretes, I get the same error in Windows WSL (Ubuntu)

@sathyarr
Copy link

$ sh run_example.sh
[+] Building 100.0s (8/9)
 => [internal] load build definition from Dockerfile                                                                                                                                   0.0s
 => => transferring dockerfile: 38B                                                                                                                                                    0.0s
 => [internal] load .dockerignore                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                        0.0s
 => [internal] load metadata for docker.io/library/python:3.7                                                                                                                          2.5s
 => [internal] load build context                                                                                                                                                      0.0s
 => => transferring context: 123B                                                                                                                                                      0.0s
 => [1/5] FROM docker.io/library/python:3.7@sha256:5362766ecaf46aee86aa9a6d9a3d23f7019dc2e5449ce1a97866c4ae0059d692                                                                    0.0s
 => CACHED [2/5] RUN mkdir /allrank                                                                                                                                                    0.0s
 => CACHED [3/5] COPY requirements.txt setup.py Makefile README.md /allrank/                                                                                                           0.0s
 => ERROR [4/5] RUN make -C /allrank install-reqs                                                                                                                                     97.3s
------
 > [4/5] RUN make -C /allrank install-reqs:
#8 0.881 make: Entering directory '/allrank'
#8 0.881 pip install -r requirements.txt
#8 6.066 Collecting pytest
#8 7.008   Downloading pytest-7.4.0-py3-none-any.whl (323 kB)
#8 8.472      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 323.6/323.6 kB 215.9 kB/s eta 0:00:00
#8 8.614 Collecting flake8>=3.3.0
#8 8.708   Downloading flake8-5.0.4-py2.py3-none-any.whl (61 kB)
#8 8.780      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.9/61.9 kB 871.7 kB/s eta 0:00:00
#8 8.837 Collecting flake8-blind-except==0.1.1
#8 8.929   Downloading flake8-blind-except-0.1.1.tar.gz (2.5 kB)
#8 8.946   Preparing metadata (setup.py): started
#8 9.545   Preparing metadata (setup.py): finished with status 'done'
#8 9.637 Collecting flake8-debugger==1.4.0
#8 9.785   Downloading flake8-debugger-1.4.0.tar.gz (3.5 kB)
#8 9.820   Preparing metadata (setup.py): started
#8 10.35   Preparing metadata (setup.py): finished with status 'done'
#8 10.45 Collecting flake8-print==2.0.2
#8 10.54   Downloading flake8-print-2.0.2.tar.gz (2.8 kB)
#8 10.58   Preparing metadata (setup.py): started
#8 11.14   Preparing metadata (setup.py): finished with status 'done'
#8 11.28 Collecting flake8-tuple==0.2.13
#8 11.42   Downloading flake8_tuple-0.2.13.tar.gz (4.6 kB)
#8 11.47   Preparing metadata (setup.py): started
#8 12.22   Preparing metadata (setup.py): finished with status 'done'
#8 12.71 Collecting mypy==0.790
#8 12.81   Downloading mypy-0.790-cp37-cp37m-manylinux1_x86_64.whl (21.0 MB)
#8 26.86      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.0/21.0 MB 1.6 MB/s eta 0:00:00
#8 27.03 Requirement already satisfied: setuptools in /usr/local/lib/python3.7/site-packages (from flake8-blind-except==0.1.1->-r requirements.txt (line 6)) (57.5.0)
#8 27.12 Collecting six
#8 27.22   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
#8 27.31 Collecting typing-extensions>=3.7.4
#8 27.40   Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
#8 27.76 Collecting typed-ast<1.5.0,>=1.4.0
#8 27.87   Downloading typed_ast-1.4.3-cp37-cp37m-manylinux1_x86_64.whl (743 kB)
#8 28.32      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 743.4/743.4 kB 1.7 MB/s eta 0:00:00
#8 28.37 Collecting mypy-extensions<0.5.0,>=0.4.3
#8 28.46   Downloading mypy_extensions-0.4.4.tar.gz (4.2 kB)
#8 28.51   Preparing metadata (setup.py): started
#8 29.07   Preparing metadata (setup.py): finished with status 'done'
#8 29.23 Collecting exceptiongroup>=1.0.0rc8
#8 29.34   Downloading exceptiongroup-1.1.2-py3-none-any.whl (14 kB)
#8 29.45 Collecting iniconfig
#8 29.56   Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
#8 29.72 Collecting pluggy<2.0,>=0.12
#8 29.82   Downloading pluggy-1.2.0-py3-none-any.whl (17 kB)
#8 30.10 Collecting packaging
#8 30.21   Downloading packaging-23.1-py3-none-any.whl (48 kB)
#8 30.25      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 1.4 MB/s eta 0:00:00
#8 30.55 Collecting importlib-metadata>=0.12
#8 30.65   Downloading importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
#8 30.85 Collecting tomli>=1.0.0
#8 30.96   Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
#8 31.12 Collecting importlib-metadata>=0.12
#8 31.21   Downloading importlib_metadata-4.2.0-py3-none-any.whl (16 kB)
#8 31.30 Collecting mccabe<0.8.0,>=0.7.0
#8 31.39   Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
#8 31.54 Collecting pycodestyle<2.10.0,>=2.9.0
#8 31.64   Downloading pycodestyle-2.9.1-py2.py3-none-any.whl (41 kB)
#8 31.67      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.5/41.5 kB 1.7 MB/s eta 0:00:00
#8 31.76 Collecting pyflakes<2.6.0,>=2.5.0
#8 31.88   Downloading pyflakes-2.5.0-py2.py3-none-any.whl (66 kB)
#8 31.93      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.1/66.1 kB 1.7 MB/s eta 0:00:00
#8 32.12 Collecting zipp>=0.5
#8 32.22   Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB)
#8 32.74 Building wheels for collected packages: flake8-blind-except, flake8-debugger, flake8-print, flake8-tuple, mypy-extensions
#8 32.75   Building wheel for flake8-blind-except (setup.py): started
#8 33.44   Building wheel for flake8-blind-except (setup.py): finished with status 'done'
#8 33.44   Created wheel for flake8-blind-except: filename=flake8_blind_except-0.1.1-py3-none-any.whl size=3045 sha256=46991ce695de67c0985a26fc9d0bb061be621876ace4fbd74cebacb26387a9ce
#8 33.44   Stored in directory: /root/.cache/pip/wheels/3a/7b/77/2c970634dc59899b5b1d6f3a2a01847286b7c7cc22894673a8
#8 33.45   Building wheel for flake8-debugger (setup.py): started
#8 34.07   Building wheel for flake8-debugger (setup.py): finished with status 'done'
#8 34.07   Created wheel for flake8-debugger: filename=flake8_debugger-1.4.0-py3-none-any.whl size=3718 sha256=45ec0de8d241c2c1a80a59e4e08578e758e63ed94e92c59c22bd9c79becd8f78
#8 34.07   Stored in directory: /root/.cache/pip/wheels/37/c3/05/9d1dc4225824051fade41a0f70fc408e5f8589eddef38136f4
#8 34.09   Building wheel for flake8-print (setup.py): started
#8 34.63   Building wheel for flake8-print (setup.py): finished with status 'done'
#8 34.63   Created wheel for flake8-print: filename=flake8_print-2.0.2-py3-none-any.whl size=2875 sha256=d2b33c7416c47d32a32d59c18507c63776431a5497fe4d5a5cdd09dbc0c72847
#8 34.63   Stored in directory: /root/.cache/pip/wheels/cb/24/de/83773a4ed0ab4288c9e2398eadcf749ae17dcb61c219dcf731
#8 34.64   Building wheel for flake8-tuple (setup.py): started
#8 35.32   Building wheel for flake8-tuple (setup.py): finished with status 'done'
#8 35.33   Created wheel for flake8-tuple: filename=flake8_tuple-0.2.13-py2.py3-none-any.whl size=4817 sha256=31805ed480344ddca7503b10bb1b475cb200dde7661c95c500ae0e95f60e670c
#8 35.33   Stored in directory: /root/.cache/pip/wheels/59/ec/9e/b5d414a7887707a47403003df478b0da95710bae73720db324
#8 35.34   Building wheel for mypy-extensions (setup.py): started
#8 36.08   Building wheel for mypy-extensions (setup.py): finished with status 'done'
#8 36.08   Created wheel for mypy-extensions: filename=mypy_extensions-0.4.4-py2.py3-none-any.whl size=4494 sha256=b23e90d4d633dac416a3bc80fde584c2529c5f00f637c764c3290a3c6083644e
#8 36.08   Stored in directory: /root/.cache/pip/wheels/97/cf/58/bf015bb6184d3acc0945bae055dd1966df277e81de6ded76dc
#8 36.09 Successfully built flake8-blind-except flake8-debugger flake8-print flake8-tuple mypy-extensions
#8 36.42 Installing collected packages: typed-ast, zipp, typing-extensions, tomli, six, pyflakes, pycodestyle, packaging, mypy-extensions, mccabe, iniconfig, flake8-blind-except, exceptiongroup, mypy, importlib-metadata, pluggy, flake8, pytest, flake8-tuple, flake8-print, flake8-debugger
#8 40.77 Successfully installed exceptiongroup-1.1.2 flake8-5.0.4 flake8-blind-except-0.1.1 flake8-debugger-1.4.0 flake8-print-2.0.2 flake8-tuple-0.2.13 importlib-metadata-4.2.0 iniconfig-2.0.0 mccabe-0.7.0 mypy-0.790 mypy-extensions-0.4.4 packaging-23.1 pluggy-1.2.0 pycodestyle-2.9.1 pyflakes-2.5.0 pytest-7.4.0 six-1.16.0 tomli-2.0.1 typed-ast-1.4.3 typing-extensions-4.7.1 zipp-3.15.0
#8 40.78 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#8 41.33
#8 41.33 [notice] A new release of pip is available: 23.0.1 -> 23.2
#8 41.33 [notice] To update, run: pip install --upgrade pip
#8 41.64 python setup.py install
#8 42.28 running install
#8 42.52 running bdist_egg
#8 42.52 running egg_info
#8 42.52 creating allRank.egg-info
#8 42.52 writing allRank.egg-info/PKG-INFO
#8 42.53 writing dependency_links to allRank.egg-info/dependency_links.txt
#8 42.53 writing entry points to allRank.egg-info/entry_points.txt
#8 42.53 writing requirements to allRank.egg-info/requires.txt
#8 42.53 writing top-level names to allRank.egg-info/top_level.txt
#8 42.53 writing manifest file 'allRank.egg-info/SOURCES.txt'
#8 42.53 reading manifest file 'allRank.egg-info/SOURCES.txt'
#8 42.53 writing manifest file 'allRank.egg-info/SOURCES.txt'
#8 42.53 installing library code to build/bdist.linux-x86_64/egg
#8 42.53 running install_lib
#8 42.53 warning: install_lib: 'build/lib' does not exist -- no Python modules to install
#8 42.53
#8 42.54 creating build
#8 42.54 creating build/bdist.linux-x86_64
#8 42.54 creating build/bdist.linux-x86_64/egg
#8 42.54 creating build/bdist.linux-x86_64/egg/EGG-INFO
#8 42.54 copying allRank.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
#8 42.54 copying allRank.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
#8 42.54 copying allRank.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
#8 42.54 copying allRank.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
#8 42.54 copying allRank.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
#8 42.54 copying allRank.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
#8 42.54 copying allRank.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
#8 42.54 creating dist
#8 42.54 creating 'dist/allRank-1.4.3-py3.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
#8 42.55 removing 'build/bdist.linux-x86_64/egg' (and everything under it)
#8 42.56 Processing allRank-1.4.3-py3.7.egg
#8 42.56 creating /usr/local/lib/python3.7/site-packages/allRank-1.4.3-py3.7.egg
#8 42.56 Extracting allRank-1.4.3-py3.7.egg to /usr/local/lib/python3.7/site-packages
#8 42.57 Adding allRank 1.4.3 to easy-install.pth file
#8 42.58 Installing allRank script to /usr/local/bin
#8 42.58
#8 42.58 Installed /usr/local/lib/python3.7/site-packages/allRank-1.4.3-py3.7.egg
#8 42.58 Processing dependencies for allRank==1.4.3
#8 42.61 Searching for google-auth==1.27.1
#8 42.61 Reading https://pypi.org/simple/google-auth/
#8 43.76 Downloading https://files.pythonhosted.org/packages/0b/2f/1aa41b81d8ed16c22c02dbc7a1c9890dc81f826958063d7e2ae16f475a5e/google_auth-1.27.1-py2.py3-none-any.whl#sha256=63a5636d7eacfe6ef5b7e36e112b3149fa1c5b5ad77dd6df54910459bcd6b89f
#8 45.28 Best match: google-auth 1.27.1
#8 45.28 Processing google_auth-1.27.1-py2.py3-none-any.whl
#8 45.28 Installing google_auth-1.27.1-py2.py3-none-any.whl to /usr/local/lib/python3.7/site-packages
#8 45.41 Adding google-auth 1.27.1 to easy-install.pth file
#8 45.41
#8 45.41 Installed /usr/local/lib/python3.7/site-packages/google_auth-1.27.1-py3.7.egg
#8 45.43 Searching for gcsfs==0.6.2
#8 45.43 Reading https://pypi.org/simple/gcsfs/
#8 45.82 Downloading https://files.pythonhosted.org/packages/ce/5c/bc61dbd2e5b61d84486a96a64ca43512c9ac085487464562182f58406290/gcsfs-0.6.2-py2.py3-none-any.whl#sha256=26403295ea32c04828bc1e516834468ba8e5149ab737fb34738f5a4c921706c8
#8 46.48 Best match: gcsfs 0.6.2
#8 46.48 Processing gcsfs-0.6.2-py2.py3-none-any.whl
#8 46.48 Installing gcsfs-0.6.2-py2.py3-none-any.whl to /usr/local/lib/python3.7/site-packages
#8 46.54 Adding gcsfs 0.6.2 to easy-install.pth file
#8 46.55
#8 46.55 Installed /usr/local/lib/python3.7/site-packages/gcsfs-0.6.2-py3.7.egg
#8 46.56 Searching for tensorboardX>=2.1.0
#8 46.56 Reading https://pypi.org/simple/tensorboardX/
#8 46.98 Downloading https://files.pythonhosted.org/packages/02/bd/673947dde6b3a43f4ffc3abaf103947c4fb574ac8b7c32747f2421f1f7c9/tensorboardX-2.6.1-py2.py3-none-any.whl#sha256=4960feb79b1b84fd2b020885b09fd70962caec277d4bc194f338a6c203cd78ca
#8 47.98 Best match: tensorboardX 2.6.1
#8 47.98 Processing tensorboardX-2.6.1-py2.py3-none-any.whl
#8 47.98 Installing tensorboardX-2.6.1-py2.py3-none-any.whl to /usr/local/lib/python3.7/site-packages
#8 48.06 Adding tensorboardX 2.6.1 to easy-install.pth file
#8 48.06
#8 48.06 Installed /usr/local/lib/python3.7/site-packages/tensorboardX-2.6.1-py3.7.egg
#8 48.06 Searching for flatten_dict>=0.3.0
#8 48.06 Reading https://pypi.org/simple/flatten_dict/
#8 48.44 Downloading https://files.pythonhosted.org/packages/43/f5/ee39c6e92acc742c052f137b47c210cd0a1b72dcd3f98495528bb4d27761/flatten_dict-0.4.2-py2.py3-none-any.whl#sha256=7e245b20c4c718981212210eec4284a330c9f713e632e98765560e05421e48ad
#8 48.87 Best match: flatten-dict 0.4.2
#8 48.87 Processing flatten_dict-0.4.2-py2.py3-none-any.whl
#8 48.88 Installing flatten_dict-0.4.2-py2.py3-none-any.whl to /usr/local/lib/python3.7/site-packages
#8 48.93 Adding flatten-dict 0.4.2 to easy-install.pth file
#8 48.94
#8 48.94 Installed /usr/local/lib/python3.7/site-packages/flatten_dict-0.4.2-py3.7.egg
#8 48.94 Searching for attrs>=19.3.0
#8 48.94 Reading https://pypi.org/simple/attrs/
#8 49.38 Downloading https://files.pythonhosted.org/packages/f0/eb/fcb708c7bf5056045e9e98f62b93bd7467eb718b0202e7698eb11d66416c/attrs-23.1.0-py3-none-any.whl#sha256=1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04
#8 50.33 Best match: attrs 23.1.0
#8 50.33 Processing attrs-23.1.0-py3-none-any.whl
#8 50.33 Installing attrs-23.1.0-py3-none-any.whl to /usr/local/lib/python3.7/site-packages
#8 50.49 Adding attrs 23.1.0 to easy-install.pth file
#8 50.50
#8 50.50 Installed /usr/local/lib/python3.7/site-packages/attrs-23.1.0-py3.7.egg
#8 50.52 Searching for scipy>=1.4.1
#8 50.52 Reading https://pypi.org/simple/scipy/
#8 52.49 Downloading https://files.pythonhosted.org/packages/a6/98/fceb84466a74b8fe74ce2dcc3a0a89cb7b4a689d4775e0fb4c95f335ef6a/scipy-1.11.1.tar.gz#sha256=fb5b492fa035334fd249f0973cc79ecad8b09c604b42a127a677b45a9a3d4289
#8 90.55 Best match: scipy 1.11.1
#8 90.55 Processing scipy-1.11.1.tar.gz
#8 96.73 Writing /tmp/easy_install-wp6o1yvs/scipy-1.11.1/setup.cfg
#8 96.73 Running scipy-1.11.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-wp6o1yvs/scipy-1.11.1/egg-dist-tmp-c04zb8ze
#8 97.20 Traceback (most recent call last):
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/sandbox.py", line 152, in save_modules
#8 97.20     yield saved
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/sandbox.py", line 193, in setup_context
#8 97.20     yield
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/sandbox.py", line 254, in run_setup
#8 97.20     _execfile(setup_script, ns)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/sandbox.py", line 43, in _execfile
#8 97.20     exec(code, globals, locals)
#8 97.20   File "/tmp/easy_install-wp6o1yvs/scipy-1.11.1/setup.py", line 33, in <module>
#8 97.20     packages=find_packages(exclude=["tests"]),
#8 97.20 RuntimeError: Python version >= 3.9 required.
#8 97.20
#8 97.20 During handling of the above exception, another exception occurred:
#8 97.20
#8 97.20 Traceback (most recent call last):
#8 97.20   File "setup.py", line 36, in <module>
#8 97.20     zip_safe=False,
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
#8 97.20     return distutils.core.setup(**attrs)
#8 97.20   File "/usr/local/lib/python3.7/distutils/core.py", line 148, in setup
#8 97.20     dist.run_commands()
#8 97.20   File "/usr/local/lib/python3.7/distutils/dist.py", line 966, in run_commands
#8 97.20     self.run_command(cmd)
#8 97.20   File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
#8 97.20     cmd_obj.run()
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run
#8 97.20     self.do_egg_install()
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/command/install.py", line 117, in do_egg_install
#8 97.20     cmd.run(show_deprecation=False)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 408, in run
#8 97.20     self.easy_install(spec, not self.no_deps)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 650, in easy_install
#8 97.20     return self.install_item(None, spec, tmpdir, deps, True)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 697, in install_item
#8 97.20     self.process_distribution(spec, dist, deps)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 745, in process_distribution
#8 97.20     [requirement], self.local_index, self.easy_install
#8 97.20   File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 768, in resolve
#8 97.20     replace_conflicting=replace_conflicting
#8 97.20   File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1051, in best_match
#8 97.20     return self.obtain(req, installer)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1063, in obtain
#8 97.20     return installer(requirement)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 669, in easy_install
#8 97.20     return self.install_item(spec, dist.location, tmpdir, deps)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 695, in install_item
#8 97.20     dists = self.install_eggs(spec, download, tmpdir)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 890, in install_eggs
#8 97.20     return self.build_and_install(setup_script, setup_base)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 1162, in build_and_install
#8 97.20     self.run_setup(setup_script, setup_base, args)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/command/easy_install.py", line 1146, in run_setup
#8 97.20     run_setup(setup_script, args)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/sandbox.py", line 257, in run_setup
#8 97.20     raise
#8 97.20   File "/usr/local/lib/python3.7/contextlib.py", line 130, in __exit__
#8 97.20     self.gen.throw(type, value, traceback)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/sandbox.py", line 193, in setup_context
#8 97.20     yield
#8 97.20   File "/usr/local/lib/python3.7/contextlib.py", line 130, in __exit__
#8 97.20     self.gen.throw(type, value, traceback)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/sandbox.py", line 164, in save_modules
#8 97.20     saved_exc.resume()
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/sandbox.py", line 139, in resume
#8 97.20     raise exc.with_traceback(self._tb)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/sandbox.py", line 152, in save_modules
#8 97.20     yield saved
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/sandbox.py", line 193, in setup_context
#8 97.20     yield
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/sandbox.py", line 254, in run_setup
#8 97.20     _execfile(setup_script, ns)
#8 97.20   File "/usr/local/lib/python3.7/site-packages/setuptools/sandbox.py", line 43, in _execfile
#8 97.20     exec(code, globals, locals)
#8 97.20   File "/tmp/easy_install-wp6o1yvs/scipy-1.11.1/setup.py", line 33, in <module>
#8 97.20     packages=find_packages(exclude=["tests"]),
#8 97.20 RuntimeError: Python version >= 3.9 required.
#8 97.23 make: *** [Makefile:14: install-reqs] Error 1
#8 97.23 make: Leaving directory '/allrank'
------
executor failed running [/bin/sh -c make -C /allrank install-reqs]: exit code: 2
Unable to find image 'allrank:latest' locally
docker: Error response from daemon: pull access denied for allrank, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

@sathyarr
Copy link

So, Python version >= 3.9 required.

@kretes
Copy link
Contributor

kretes commented Jul 21, 2023

Ok, that's another issue. If you try and checkout the branch used in this PR #51 it should work - it's updated to support current versions of all libs.

@sathyarr
Copy link

Sure, will try that.
btw, is allrank:latest a public image supposed to be available in Docker hub?

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

4 participants