container arm64v8 build can't pip install grpcio

19 views
Skip to first unread message

John Jung

unread,
Dec 2, 2020, 4:47:45 PM12/2/20
to grpc.io

Trying to install a service for arm processors and using a debian arm64v8 os.

Running into this weird error, if anyone knows any workarounds...

pip install grpcio

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.

Collecting grpcio

  Using cached grpcio-1.34.0.tar.gz (21.0 MB)

    ERROR: Command errored out with exit status 1:

     command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sqfHWs/grpcio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sqfHWs/grpcio/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-Dh8CWv

         cwd: /tmp/pip-install-sqfHWs/grpcio/

    Complete output (11 lines):

    Traceback (most recent call last):

      File "<string>", line 1, in <module>

      File "/tmp/pip-install-sqfHWs/grpcio/setup.py", line 229, in <module>

        if check_linker_need_libatomic():

      File "/tmp/pip-install-sqfHWs/grpcio/setup.py", line 179, in check_linker_need_libatomic

        stderr=PIPE)

      File "/usr/lib/python2.7/subprocess.py", line 394, in __init__

        errread, errwrite)

      File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child

        raise child_exception

    OSError: [Errno 2] No such file or directory

    ----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Amit Saha

unread,
Dec 2, 2020, 8:13:46 PM12/2/20
to John Jung, grpc.io
It looks like it is trying to execute an external program and it cannot find that. Perhaps worth looking into the grpcio/setup.py file.

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/a20330b9-addf-4aca-8133-d912d9dba162n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages