Manu10744 opened a new issue #121:
URL: https://github.com/apache/openwhisk-runtime-python/issues/121


   <!--
   Do NOT share passwords, credentials or other confidential information.
   
   Before creating a new issue, please check if there is one already open that
   fits the defect you are reporting.
   If you open an issue and realize later it is a duplicate of a pre-existing
   open issue, please close yours and add a comment to the other.
   
   Issues can be created for either defects or enhancement requests. If you are 
a committer than please add the labels "bug" or "feature". If you are not a 
committer please make clear in the comments which one it is, so that committers 
can add these labels later.
   
   If you are reporting a defect, please edit the issue description to include 
the
   information shown below.
   
   If you are reporting an enhancement request, please include information on 
what you are trying to achieve and why that enhancement would help you.
   
   For more information about reporting issues, see
   
https://github.com/apache/openwhisk/blob/master/CONTRIBUTING.md#raising-issues
   
   Use the commands below to provide key information from your environment:
   You do not have to include this information if this is a feature request.
   -->
   
   The python package `spacy` is not installable using the image 
`openwhisk/python3action:latest`.
   
   ## Environment details:
   
   * OpenWhisk deployed with helm charts according to the documentation on 
Kubernetes v1.22.5 provided by Docker Desktop
   * Docker Desktop 4.4.4 (73704) 
   *  My OS is Windows 10 Version 21H1 (Build 19043.1466)
   * Docker version 20.10.12, build e91ed57
   
   ## Steps to reproduce the issue:
   
   1.   If not already done, pull `openwhisk/python3action:latest`
   2.   Run `docker run -it --entrypoint bash openwhisk/python3action`
   3.   try to install `spacy` by executing `pip install spacy` (doesnt matter 
if an empty venv is activated or not, installation fails in both cases)
   
   
   ## Provide the expected results and outputs:
   
   ```
   pip successfully installs the `spacy` package.
   ```
   
   
   ## Provide the actual results and outputs:
   
   The installation takes ages and eventually fails with a giant error message. 
Then it tries another spacy version, fails again and so on..
   
   ```bash
   bash-5.0# pip install spacy
   Collecting spacy
     Using cached spacy-3.2.1.tar.gz (1.1 MB)
     Installing build dependencies ... error
     ERROR: Command errored out with exit status 1:
      command: /usr/local/bin/python /usr/local/lib/python3.6/site-packages/pip 
install --ignore-installed --no-user --prefi
   x /tmp/pip-build-env-2gi28qr1/overlay --no-warn-script-location --no-binary 
:none: --only-binary :none: -i https://pypi.o
   rg/simple -- setuptools 'cython>=0.25,<3.0' 'cymem>=2.0.2,<2.1.0' 
'preshed>=3.0.2,<3.1.0' 'murmurhash>=0.28.0,<1.1.0' 'th
   inc>=8.0.12,<8.1.0' 'blis>=0.4.0,<0.8.0' pathy 'numpy>=1.15.0'
          cwd: None
     Complete output (467 lines):
     Collecting setuptools
       Using cached setuptools-59.6.0-py3-none-any.whl (952 kB)
     Collecting cython<3.0,>=0.25
       Using cached Cython-0.29.27-cp36-cp36m-musllinux_1_1_x86_64.whl (2.0 MB)
     Collecting cymem<2.1.0,>=2.0.2
       Using cached cymem-2.0.6.tar.gz (8.2 kB)
       Installing build dependencies: started
       Installing build dependencies: finished with status 'done'
       Getting requirements to build wheel: started
       Getting requirements to build wheel: finished with status 'done'
       Installing backend dependencies: started
       Installing backend dependencies: finished with status 'done'
       Preparing metadata (pyproject.toml): started
       Preparing metadata (pyproject.toml): finished with status 'done'
     Collecting preshed<3.1.0,>=3.0.2
       Using cached preshed-3.0.6.tar.gz (14 kB)
       Installing build dependencies: started
       Installing build dependencies: finished with status 'error'
       ERROR: Command errored out with exit status 1:
        command: /usr/local/bin/python 
/usr/local/lib/python3.6/site-packages/pip install --ignore-installed --no-user 
--pre
   fix /tmp/pip-build-env-42wiw3cz/overlay --no-warn-script-location 
--no-binary :none: --only-binary :none: -i https://pypi
   .org/simple -- setuptools 'cython>=0.28' 'cymem>=2.0.2,<2.1.0' 
'murmurhash>=0.28.0,<1.1.0'
            cwd: None
       Complete output (92 lines):
       Collecting setuptools
         Using cached setuptools-59.6.0-py3-none-any.whl (952 kB)
       Collecting cython>=0.28
         Using cached Cython-0.29.27-cp36-cp36m-musllinux_1_1_x86_64.whl (2.0 
MB)
       Collecting cymem<2.1.0,>=2.0.2
         Using cached cymem-2.0.6.tar.gz (8.2 kB)
         Installing build dependencies: started
         Installing build dependencies: finished with status 'done'
         Getting requirements to build wheel: started
         Getting requirements to build wheel: finished with status 'done'
         Installing backend dependencies: started
         Installing backend dependencies: finished with status 'done'
         Preparing metadata (pyproject.toml): started
         Preparing metadata (pyproject.toml): finished with status 'done'
       Collecting murmurhash<1.1.0,>=0.28.0
         Using cached murmurhash-1.0.6.tar.gz (12 kB)
         Installing build dependencies: started
         Installing build dependencies: finished with status 'done'
         Getting requirements to build wheel: started
         Getting requirements to build wheel: finished with status 'done'
         Installing backend dependencies: started
         Installing backend dependencies: finished with status 'done'
         Preparing metadata (pyproject.toml): started
         Preparing metadata (pyproject.toml): finished with status 'done'
       Building wheels for collected packages: cymem, murmurhash
         Building wheel for cymem (pyproject.toml): started
         Building wheel for cymem (pyproject.toml): finished with status 'error'
         ERROR: Command errored out with exit status 1:
          command: /usr/local/bin/python 
/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py
    build_wheel /tmp/tmpb_m2je78
              cwd: 
/tmp/pip-install-ahv57u_g/cymem_f26c05fe306949e1ab1cff17a3a51127
         Complete output (22 lines):
         running bdist_wheel
         running build
         running build_py
         creating build
         creating build/lib.linux-x86_64-3.6
         creating build/lib.linux-x86_64-3.6/cymem
         copying cymem/about.py -> build/lib.linux-x86_64-3.6/cymem
         copying cymem/__init__.py -> build/lib.linux-x86_64-3.6/cymem
         package init file 'cymem/tests/__init__.py' not found (or not a 
regular file)
         creating build/lib.linux-x86_64-3.6/cymem/tests
         copying cymem/tests/test_import.py -> 
build/lib.linux-x86_64-3.6/cymem/tests
         copying cymem/cymem.pyx -> build/lib.linux-x86_64-3.6/cymem
         copying cymem/__init__.pxd -> build/lib.linux-x86_64-3.6/cymem
         copying cymem/cymem.pxd -> build/lib.linux-x86_64-3.6/cymem
         running build_ext
         building 'cymem.cymem' extension
         creating build/temp.linux-x86_64-3.6
         creating build/temp.linux-x86_64-3.6/cymem
         gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall 
-DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local
   /include/python3.6m -I/usr/local/include/python3.6m -c cymem/cymem.cpp -o 
build/temp.linux-x86_64-3.6/cymem/cymem.o -O3 -
   Wno-strict-prototypes -Wno-unused-function
         gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or 
directory
         compilation terminated.
         error: command 'gcc' failed with exit status 1
         ----------------------------------------
         ERROR: Failed building wheel for cymem
         Building wheel for murmurhash (pyproject.toml): started
         Building wheel for murmurhash (pyproject.toml): finished with status 
'error'
         ERROR: Command errored out with exit status 1:
          command: /usr/local/bin/python 
/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py
    build_wheel /tmp/tmpolmdizsb
              cwd: 
/tmp/pip-install-ahv57u_g/murmurhash_c0239049015c499294a01a81ea1460f9
         Complete output (27 lines):
         running bdist_wheel
         running build
         running build_py
         creating build
         creating build/lib.linux-x86_64-3.6
         creating build/lib.linux-x86_64-3.6/murmurhash
         copying murmurhash/about.py -> build/lib.linux-x86_64-3.6/murmurhash
         copying murmurhash/__init__.py -> build/lib.linux-x86_64-3.6/murmurhash
         creating build/lib.linux-x86_64-3.6/murmurhash/tests
         copying murmurhash/tests/test_import.py -> 
build/lib.linux-x86_64-3.6/murmurhash/tests
         copying murmurhash/tests/test_against_mmh3.py -> 
build/lib.linux-x86_64-3.6/murmurhash/tests
         copying murmurhash/tests/__init__.py -> 
build/lib.linux-x86_64-3.6/murmurhash/tests
         copying murmurhash/mrmr.pyx -> build/lib.linux-x86_64-3.6/murmurhash
         copying murmurhash/__init__.pxd -> 
build/lib.linux-x86_64-3.6/murmurhash
         copying murmurhash/mrmr.pxd -> build/lib.linux-x86_64-3.6/murmurhash
         creating build/lib.linux-x86_64-3.6/murmurhash/include
         creating build/lib.linux-x86_64-3.6/murmurhash/include/murmurhash
         copying murmurhash/include/murmurhash/MurmurHash2.h -> 
build/lib.linux-x86_64-3.6/murmurhash/include/murmurhash
         copying murmurhash/include/murmurhash/MurmurHash3.h -> 
build/lib.linux-x86_64-3.6/murmurhash/include/murmurhash
         running build_ext
         building 'murmurhash.mrmr' extension
         creating build/temp.linux-x86_64-3.6
         creating build/temp.linux-x86_64-3.6/murmurhash
         gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall 
-DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local
   /include/python3.6m 
-I/tmp/pip-install-ahv57u_g/murmurhash_c0239049015c499294a01a81ea1460f9/murmurhash/include
 -I/usr/loc
   al/include/python3.6m -c murmurhash/mrmr.cpp -o 
build/temp.linux-x86_64-3.6/murmurhash/mrmr.o -O3 -Wno-strict-prototypes
   -Wno-unused-function
         gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or 
directory
         compilation terminated.
         error: command 'gcc' failed with exit status 1
         ----------------------------------------
         ERROR: Failed building wheel for murmurhash
       Failed to build cymem murmurhash
       ERROR: Could not build wheels for cymem, murmurhash, which is required 
to install pyproject.toml-based projects
       ----------------------------------------
     WARNING: Discarding 
https://files.pythonhosted.org/packages/c7/2e/f8ad19fa853727dfeee1114ee4ff45f10f259cbddf5cd23289992
   
c06ccf4/preshed-3.0.6.tar.gz#sha256=fb3b7588a3a0f2f2f1bf3fe403361b2b031212b73a37025aea1df7215af3772a
 (from https://pypi.o
   rg/simple/preshed/). Command errored out with exit status 1: 
/usr/local/bin/python /usr/local/lib/python3.6/site-packages
   /pip install --ignore-installed --no-user --prefix 
/tmp/pip-build-env-42wiw3cz/overlay --no-warn-script-location --no-bin
   ary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 
'cython>=0.28' 'cymem>=2.0.2,<2.1.0' 'murmurhash
   >=0.28.0,<1.1.0' Check the logs for full command output.
       Using cached preshed-3.0.5.tar.gz (14 kB)
       Installing build dependencies: started
       Installing build dependencies: finished with status 'error'
       ERROR: Command errored out with exit status 1:
        command: /usr/local/bin/python 
/usr/local/lib/python3.6/site-packages/pip install --ignore-installed --no-user 
--pre
   fix /tmp/pip-build-env-v0wra3qo/overlay --no-warn-script-location 
--no-binary :none: --only-binary :none: -i https://pypi
   .org/simple -- setuptools 'cython>=0.28' 'cymem>=2.0.2,<2.1.0' 
'murmurhash>=0.28.0,<1.1.0'
            cwd: None
       Complete output (92 lines):
       Collecting setuptools
         Using cached setuptools-59.6.0-py3-none-any.whl (952 kB)
       Collecting cython>=0.28
         Using cached Cython-0.29.27-cp36-cp36m-musllinux_1_1_x86_64.whl (2.0 
MB)
       Collecting cymem<2.1.0,>=2.0.2
         Using cached cymem-2.0.6.tar.gz (8.2 kB)
         Installing build dependencies: started
         Installing build dependencies: finished with status 'done'
         Getting requirements to build wheel: started
         Getting requirements to build wheel: finished with status 'done'
         Installing backend dependencies: started
         Installing backend dependencies: finished with status 'done'
         Preparing metadata (pyproject.toml): started
         Preparing metadata (pyproject.toml): finished with status 'done'
       Collecting murmurhash<1.1.0,>=0.28.0
         Using cached murmurhash-1.0.6.tar.gz (12 kB)
         Installing build dependencies: started
         Installing build dependencies: finished with status 'done'
         Getting requirements to build wheel: started
         Getting requirements to build wheel: finished with status 'done'
         Installing backend dependencies: started
         Installing backend dependencies: finished with status 'done'
         Preparing metadata (pyproject.toml): started
         Preparing metadata (pyproject.toml): finished with status 'done'
       Building wheels for collected packages: cymem, murmurhash
         Building wheel for cymem (pyproject.toml): started
         Building wheel for cymem (pyproject.toml): finished with status 'error'
         ERROR: Command errored out with exit status 1:
          command: /usr/local/bin/python 
/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py
    build_wheel /tmp/tmp7h2rk9kr
              cwd: 
/tmp/pip-install-ae5f_mku/cymem_28a2b0ed807d40c4929d2ca57ce61e5c
         Complete output (22 lines):
         running bdist_wheel
         running build
         running build_py
         creating build
         creating build/lib.linux-x86_64-3.6
         creating build/lib.linux-x86_64-3.6/cymem
         copying cymem/about.py -> build/lib.linux-x86_64-3.6/cymem
         copying cymem/__init__.py -> build/lib.linux-x86_64-3.6/cymem
         package init file 'cymem/tests/__init__.py' not found (or not a 
regular file)
         creating build/lib.linux-x86_64-3.6/cymem/tests
         copying cymem/tests/test_import.py -> 
build/lib.linux-x86_64-3.6/cymem/tests
         copying cymem/cymem.pyx -> build/lib.linux-x86_64-3.6/cymem
         copying cymem/__init__.pxd -> build/lib.linux-x86_64-3.6/cymem
         copying cymem/cymem.pxd -> build/lib.linux-x86_64-3.6/cymem
         running build_ext
         building 'cymem.cymem' extension
         creating build/temp.linux-x86_64-3.6
         creating build/temp.linux-x86_64-3.6/cymem
         gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall 
-DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local
   /include/python3.6m -I/usr/local/include/python3.6m -c cymem/cymem.cpp -o 
build/temp.linux-x86_64-3.6/cymem/cymem.o -O3 -
   Wno-strict-prototypes -Wno-unused-function
         gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or 
directory
         compilation terminated.
         error: command 'gcc' failed with exit status 1
         ----------------------------------------
         ERROR: Failed building wheel for cymem
         Building wheel for murmurhash (pyproject.toml): started
         Building wheel for murmurhash (pyproject.toml): finished with status 
'error'
         ERROR: Command errored out with exit status 1:
          command: /usr/local/bin/python 
/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py
    build_wheel /tmp/tmpr3iwmlih
              cwd: 
/tmp/pip-install-ae5f_mku/murmurhash_ec986e3bb3104c998236cbfd16697e62
         Complete output (27 lines):
         running bdist_wheel
         running build
         running build_py
         creating build
         creating build/lib.linux-x86_64-3.6
         creating build/lib.linux-x86_64-3.6/murmurhash
         copying murmurhash/about.py -> build/lib.linux-x86_64-3.6/murmurhash
         copying murmurhash/__init__.py -> build/lib.linux-x86_64-3.6/murmurhash
         creating build/lib.linux-x86_64-3.6/murmurhash/tests
         copying murmurhash/tests/test_import.py -> 
build/lib.linux-x86_64-3.6/murmurhash/tests
         copying murmurhash/tests/test_against_mmh3.py -> 
build/lib.linux-x86_64-3.6/murmurhash/tests
         copying murmurhash/tests/__init__.py -> 
build/lib.linux-x86_64-3.6/murmurhash/tests
         copying murmurhash/mrmr.pyx -> build/lib.linux-x86_64-3.6/murmurhash
         copying murmurhash/__init__.pxd -> 
build/lib.linux-x86_64-3.6/murmurhash
         copying murmurhash/mrmr.pxd -> build/lib.linux-x86_64-3.6/murmurhash
         creating build/lib.linux-x86_64-3.6/murmurhash/include
         creating build/lib.linux-x86_64-3.6/murmurhash/include/murmurhash
         copying murmurhash/include/murmurhash/MurmurHash2.h -> 
build/lib.linux-x86_64-3.6/murmurhash/include/murmurhash
         copying murmurhash/include/murmurhash/MurmurHash3.h -> 
build/lib.linux-x86_64-3.6/murmurhash/include/murmurhash
         running build_ext
         building 'murmurhash.mrmr' extension
         creating build/temp.linux-x86_64-3.6
         creating build/temp.linux-x86_64-3.6/murmurhash
         gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall 
-DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local
   /include/python3.6m 
-I/tmp/pip-install-ae5f_mku/murmurhash_ec986e3bb3104c998236cbfd16697e62/murmurhash/include
 -I/usr/loc
   al/include/python3.6m -c murmurhash/mrmr.cpp -o 
build/temp.linux-x86_64-3.6/murmurhash/mrmr.o -O3 -Wno-strict-prototypes
   -Wno-unused-function
         gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or 
directory
         compilation terminated.
         error: command 'gcc' failed with exit status 1
         ----------------------------------------
         ERROR: Failed building wheel for murmurhash
       Failed to build cymem murmurhash
       ERROR: Could not build wheels for cymem, murmurhash, which is required 
to install pyproject.toml-based projects
       ----------------------------------------
     WARNING: Discarding 
https://files.pythonhosted.org/packages/ee/87/cabd3dc3d7ebd9b62252faca25ec5f1fec627ea88ca7ffd2924d0
   
2e1516e/preshed-3.0.5.tar.gz#sha256=c6d3dba39ed5059aaf99767017b9568c75b2d0780c3481e204b1daecde00360e
 (from https://pypi.o
   rg/simple/preshed/). Command errored out with exit status 1: 
/usr/local/bin/python /usr/local/lib/python3.6/site-packages
   /pip install --ignore-installed --no-user --prefix 
/tmp/pip-build-env-v0wra3qo/overlay --no-warn-script-location --no-bin
   ary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 
'cython>=0.28' 'cymem>=2.0.2,<2.1.0' 'murmurhash
   >=0.28.0,<1.1.0' Check the logs for full command output.
       Downloading preshed-3.0.4.tar.gz (170 kB)
       Preparing metadata (setup.py): started
       Preparing metadata (setup.py): finished with status 'error'
       ERROR: Command errored out with exit status 1:
        command: /usr/local/bin/python -c 'import io, os, sys, setuptools, 
tokenize; sys.argv[0] = '"'"'/tmp/pip-install-q3w
   y5c7p/preshed_6bd4e10d084947b19396d9d4e6bc27ca/setup.py'"'"'; 
__file__='"'"'/tmp/pip-install-q3wy5c7p/preshed_6bd4e10d084
   947b19396d9d4e6bc27ca/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', 
open)(__file__) if os.path.exists(__file__) els
   e io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = 
f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.cl
   ose();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 
/tmp/pip-pip-egg-info-71fhjpkz
            cwd: 
/tmp/pip-install-q3wy5c7p/preshed_6bd4e10d084947b19396d9d4e6bc27ca/
       Complete output (61 lines):
         ERROR: Command errored out with exit status 1:
          command: /usr/local/bin/python 
/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py
    build_wheel /tmp/tmpraaszkxl
              cwd: 
/tmp/pip-wheel-37df507j/cymem_9ed725c320974ec7ab4c5dae1bd3789b
         Complete output (22 lines):
         running bdist_wheel
         running build
         running build_py
         creating build
         creating build/lib.linux-x86_64-3.6
         creating build/lib.linux-x86_64-3.6/cymem
         copying cymem/about.py -> build/lib.linux-x86_64-3.6/cymem
         copying cymem/__init__.py -> build/lib.linux-x86_64-3.6/cymem
         package init file 'cymem/tests/__init__.py' not found (or not a 
regular file)
         creating build/lib.linux-x86_64-3.6/cymem/tests
         copying cymem/tests/test_import.py -> 
build/lib.linux-x86_64-3.6/cymem/tests
         copying cymem/cymem.pyx -> build/lib.linux-x86_64-3.6/cymem
         copying cymem/__init__.pxd -> build/lib.linux-x86_64-3.6/cymem
         copying cymem/cymem.pxd -> build/lib.linux-x86_64-3.6/cymem
         running build_ext
         building 'cymem.cymem' extension
         creating build/temp.linux-x86_64-3.6
         creating build/temp.linux-x86_64-3.6/cymem
         gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall 
-DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local
   /include/python3.6m -I/usr/local/include/python3.6m -c cymem/cymem.cpp -o 
build/temp.linux-x86_64-3.6/cymem/cymem.o -O3 -
   Wno-strict-prototypes -Wno-unused-function
         gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or 
directory
         compilation terminated.
         error: command 'gcc' failed with exit status 1
         ----------------------------------------
         ERROR: Failed building wheel for cymem
       ERROR: Failed to build one or more wheels
       Traceback (most recent call last):
         File "/usr/local/lib/python3.6/site-packages/setuptools/installer.py", 
line 128, in fetch_build_egg
           subprocess.check_call(cmd)
         File "/usr/local/lib/python3.6/subprocess.py", line 311, in check_call
           raise CalledProcessError(retcode, cmd)
       subprocess.CalledProcessError: Command '['/usr/local/bin/python', '-m', 
'pip', '--disable-pip-version-check', 'wheel'
   , '--no-deps', '-w', '/tmp/tmp5pmq2qj3', '--quiet', 'cymem<2.1.0,>=2.0.2']' 
returned non-zero exit status 1.
   
       During handling of the above exception, another exception occurred:
   
       Traceback (most recent call last):
         File "<string>", line 1, in <module>
         File 
"/tmp/pip-install-q3wy5c7p/preshed_6bd4e10d084947b19396d9d4e6bc27ca/setup.py", 
line 154, in <module>
           setup_package()
         File 
"/tmp/pip-install-q3wy5c7p/preshed_6bd4e10d084947b19396d9d4e6bc27ca/setup.py", 
line 149, in setup_package
           cmdclass={"build_ext": build_ext_subclass},
         File "/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", 
line 143, in setup
           _install_setup_requires(attrs)
         File "/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", 
line 138, in _install_setup_requires
           dist.fetch_build_eggs(dist.setup_requires)
         File "/usr/local/lib/python3.6/site-packages/setuptools/dist.py", line 
721, in fetch_build_eggs
           replace_conflicting=True,
         File 
"/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 783, 
in resolve
           replace_conflicting=replace_conflicting
         File 
"/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1066, 
in best_match
           return self.obtain(req, installer)
         File 
"/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1078, 
in obtain
           return installer(requirement)
         File "/usr/local/lib/python3.6/site-packages/setuptools/dist.py", line 
777, in fetch_build_egg
           return fetch_build_egg(self, req)
         File "/usr/local/lib/python3.6/site-packages/setuptools/installer.py", 
line 130, in fetch_build_egg
           raise DistutilsError(str(e))
       distutils.errors.DistutilsError: Command '['/usr/local/bin/python', 
'-m', 'pip', '--disable-pip-version-check', 'whee
   l', '--no-deps', '-w', '/tmp/tmp5pmq2qj3', '--quiet', 
'cymem<2.1.0,>=2.0.2']' returned non-zero exit status 1.
       ----------------------------------------
     WARNING: Discarding 
https://files.pythonhosted.org/packages/8a/25/73d38655125d46a543656c0f025b3394a2ee010af3d0c46ed75d5
   
54bc1a9/preshed-3.0.4.tar.gz#sha256=13a779205d55ce323976ac06df597f9ec2d6f0563ebcf5652176cf4520c7d540
 (from https://pypi.o
   rg/simple/preshed/). Command errored out with exit status 1: python setup.py 
egg_info Check the logs for full command out
   put.
       Downloading preshed-3.0.3.tar.gz (170 kB)
       Preparing metadata (setup.py): started
       Preparing metadata (setup.py): finished with status 'done'
     Collecting murmurhash<1.1.0,>=0.28.0
       Using cached murmurhash-1.0.6.tar.gz (12 kB)
       Installing build dependencies: started
       Installing build dependencies: finished with status 'done'
       Getting requirements to build wheel: started
       Getting requirements to build wheel: finished with status 'done'
       Installing backend dependencies: started
       Installing backend dependencies: finished with status 'done'
       Preparing metadata (pyproject.toml): started
       Preparing metadata (pyproject.toml): finished with status 'done'
     Collecting thinc<8.1.0,>=8.0.12
       Downloading thinc-8.0.13.tar.gz (175 kB)
       Installing build dependencies: started
       Installing build dependencies: finished with status 'error'
       ERROR: Command errored out with exit status 2:
        command: /usr/local/bin/python 
/usr/local/lib/python3.6/site-packages/pip install --ignore-installed --no-user 
--pre
   fix /tmp/pip-build-env-3p26d0zy/overlay --no-warn-script-location 
--no-binary :none: --only-binary :none: -i https://pypi
   .org/simple -- setuptools 'cython>=0.25,<3.0' 'murmurhash>=0.28.0,<1.1.0' 
'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' '
   blis>=0.4.0,<0.8.0' 'numpy>=1.15.0'
            cwd: None
       Complete output (73 lines):
       Collecting setuptools
         Using cached setuptools-59.6.0-py3-none-any.whl (952 kB)
       Collecting cython<3.0,>=0.25
         Using cached Cython-0.29.27-cp36-cp36m-musllinux_1_1_x86_64.whl (2.0 
MB)
       Collecting murmurhash<1.1.0,>=0.28.0
         Using cached murmurhash-1.0.6.tar.gz (12 kB)
         Installing build dependencies: started
         Installing build dependencies: finished with status 'done'
         Getting requirements to build wheel: started
         Getting requirements to build wheel: finished with status 'done'
         Installing backend dependencies: started
         Installing backend dependencies: finished with status 'done'
         Preparing metadata (pyproject.toml): started
         Preparing metadata (pyproject.toml): finished with status 'done'
       Collecting cymem<2.1.0,>=2.0.2
         Using cached cymem-2.0.6.tar.gz (8.2 kB)
         Installing build dependencies: started
         Installing build dependencies: finished with status 'done'
         Getting requirements to build wheel: started
         Getting requirements to build wheel: finished with status 'done'
         Installing backend dependencies: started
         Installing backend dependencies: finished with status 'done'
         Preparing metadata (pyproject.toml): started
         Preparing metadata (pyproject.toml): finished with status 'done'
       Collecting preshed<3.1.0,>=3.0.2
         Using cached preshed-3.0.6.tar.gz (14 kB)
       ERROR: Exception:
       Traceback (most recent call last):
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", 
line 164, in exc_logging_wrapper
           status = run_func(*args)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 
205, in wrapper
           return func(self, options, args)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", 
line 339, in run
           reqs, check_supported_wheels=not options.target_dir
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py",
 line 93, in resolve
           collected.requirements, max_rounds=try_to_avoid_resolution_too_deep
         File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", 
line 482, in resolve
           state = resolution.resolve(requirements, max_rounds=max_rounds)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", 
line 349, in resolve
           self._add_to_criteria(self.state.criteria, r, parent=None)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", 
line 173, in _add_to_criteria
           if not criterion.candidates:
         File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/structs.py", 
line 151, in __bool__
           return bool(self._sequence)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py",
 line 155, in
    __bool__
           return any(self)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py",
 line 143, in
    <genexpr>
           return (c for c in iterator if id(c) not in self._incompatible_ids)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py",
 line 47, in
   _iter_built
           candidate = func()
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py",
 line 206, in _make_ca
   ndidate_from_link
           version=version,
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py",
 line 287, in __ini
   t__
           version=version,
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py",
 line 156, in __ini
   t__
           self.dist = self._prepare()
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py",
 line 225, in _prep
   are
           dist = self._prepare_distribution()
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py",
 line 292, in _prep
   are_distribution
           return preparer.prepare_linked_requirement(self._ireq, 
parallel_builds=True)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", 
line 482, in prepare_linked_requ
   irement
           return self._prepare_linked_requirement(req, parallel_builds)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", 
line 550, in _prepare_linked_req
   uirement
           self.build_isolation,
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", 
line 57, in _get_prepared_distri
   bution
           with req_tracker.track(req):
         File "/usr/local/lib/python3.6/contextlib.py", line 81, in __enter__
           return next(self.gen)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/req/req_tracker.py", line 
122, in track
           self.add(req)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/req/req_tracker.py", line 
92, in add
           raise LookupError(message)
       LookupError: 
https://files.pythonhosted.org/packages/c7/2e/f8ad19fa853727dfeee1114ee4ff45f10f259cbddf5cd23289992c06cc
   
f4/preshed-3.0.6.tar.gz#sha256=fb3b7588a3a0f2f2f1bf3fe403361b2b031212b73a37025aea1df7215af3772a
 (from https://pypi.org/si
   mple/preshed/) is already being built: preshed<3.1.0,>=3.0.2 from 
https://files.pythonhosted.org/packages/c7/2e/f8ad19fa8
   
53727dfeee1114ee4ff45f10f259cbddf5cd23289992c06ccf4/preshed-3.0.6.tar.gz#sha256=fb3b7588a3a0f2f2f1bf3fe403361b2b031212b73
   a37025aea1df7215af3772a
       ----------------------------------------
     WARNING: Discarding 
https://files.pythonhosted.org/packages/1b/12/f1c2b13603b5e98aa47b87896a189832cc28aff46e8d959745901
   
f01b148/thinc-8.0.13.tar.gz#sha256=47662a3ae33d445a77b6ea7b772444805c7bba8991f122e350daf72dedc8171a
 (from https://pypi.or
   g/simple/thinc/) (requires-python:>=3.6). Command errored out with exit 
status 2: /usr/local/bin/python /usr/local/lib/py
   thon3.6/site-packages/pip install --ignore-installed --no-user --prefix 
/tmp/pip-build-env-3p26d0zy/overlay --no-warn-scr
   ipt-location --no-binary :none: --only-binary :none: -i 
https://pypi.org/simple -- setuptools 'cython>=0.25,<3.0' 'murmur
   hash>=0.28.0,<1.1.0' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 
'blis>=0.4.0,<0.8.0' 'numpy>=1.15.0' Check the logs fo
   r full command output.
       Downloading thinc-8.0.12.tar.gz (175 kB)
       Installing build dependencies: started
       Installing build dependencies: finished with status 'error'
       ERROR: Command errored out with exit status 2:
        command: /usr/local/bin/python 
/usr/local/lib/python3.6/site-packages/pip install --ignore-installed --no-user 
--pre
   fix /tmp/pip-build-env-j536p6wd/overlay --no-warn-script-location 
--no-binary :none: --only-binary :none: -i https://pypi
   .org/simple -- setuptools 'cython>=0.25,<3.0' 'murmurhash>=0.28.0,<1.1.0' 
'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' '
   blis>=0.4.0,<0.8.0' 'numpy>=1.15.0'
            cwd: None
       Complete output (73 lines):
       Collecting setuptools
         Using cached setuptools-59.6.0-py3-none-any.whl (952 kB)
       Collecting cython<3.0,>=0.25
         Using cached Cython-0.29.27-cp36-cp36m-musllinux_1_1_x86_64.whl (2.0 
MB)
       Collecting murmurhash<1.1.0,>=0.28.0
         Using cached murmurhash-1.0.6.tar.gz (12 kB)
         Installing build dependencies: started
         Installing build dependencies: finished with status 'done'
         Getting requirements to build wheel: started
         Getting requirements to build wheel: finished with status 'done'
         Installing backend dependencies: started
         Installing backend dependencies: finished with status 'done'
         Preparing metadata (pyproject.toml): started
         Preparing metadata (pyproject.toml): finished with status 'done'
       Collecting cymem<2.1.0,>=2.0.2
         Using cached cymem-2.0.6.tar.gz (8.2 kB)
         Installing build dependencies: started
         Installing build dependencies: finished with status 'done'
         Getting requirements to build wheel: started
         Getting requirements to build wheel: finished with status 'done'
         Installing backend dependencies: started
         Installing backend dependencies: finished with status 'done'
         Preparing metadata (pyproject.toml): started
         Preparing metadata (pyproject.toml): finished with status 'done'
       Collecting preshed<3.1.0,>=3.0.2
         Using cached preshed-3.0.6.tar.gz (14 kB)
       ERROR: Exception:
       Traceback (most recent call last):
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", 
line 164, in exc_logging_wrapper
           status = run_func(*args)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 
205, in wrapper
           return func(self, options, args)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", 
line 339, in run
           reqs, check_supported_wheels=not options.target_dir
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py",
 line 93, in resolve
           collected.requirements, max_rounds=try_to_avoid_resolution_too_deep
         File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", 
line 482, in resolve
           state = resolution.resolve(requirements, max_rounds=max_rounds)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", 
line 349, in resolve
           self._add_to_criteria(self.state.criteria, r, parent=None)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", 
line 173, in _add_to_criteria
           if not criterion.candidates:
         File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/resolvelib/structs.py", 
line 151, in __bool__
           return bool(self._sequence)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py",
 line 155, in
    __bool__
           return any(self)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py",
 line 143, in
    <genexpr>
           return (c for c in iterator if id(c) not in self._incompatible_ids)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py",
 line 47, in
   _iter_built
           candidate = func()
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py",
 line 206, in _make_ca
   ndidate_from_link
           version=version,
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py",
 line 287, in __ini
   t__
           version=version,
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py",
 line 156, in __ini
   t__
           self.dist = self._prepare()
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py",
 line 225, in _prep
   are
           dist = self._prepare_distribution()
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py",
 line 292, in _prep
   are_distribution
           return preparer.prepare_linked_requirement(self._ireq, 
parallel_builds=True)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", 
line 482, in prepare_linked_requ
   irement
           return self._prepare_linked_requirement(req, parallel_builds)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", 
line 550, in _prepare_linked_req
   uirement
           self.build_isolation,
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", 
line 57, in _get_prepared_distri
   bution
           with req_tracker.track(req):
         File "/usr/local/lib/python3.6/contextlib.py", line 81, in __enter__
           return next(self.gen)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/req/req_tracker.py", line 
122, in track
           self.add(req)
         File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/req/req_tracker.py", line 
92, in add
           raise LookupError(message)
       LookupError: 
https://files.pythonhosted.org/packages/c7/2e/f8ad19fa853727dfeee1114ee4ff45f10f259cbddf5cd23289992c06cc
   
f4/preshed-3.0.6.tar.gz#sha256=fb3b7588a3a0f2f2f1bf3fe403361b2b031212b73a37025aea1df7215af3772a
 (from https://pypi.org/si
   mple/preshed/) is already being built: preshed<3.1.0,>=3.0.2 from 
https://files.pythonhosted.org/packages/c7/2e/f8ad19fa8
   
53727dfeee1114ee4ff45f10f259cbddf5cd23289992c06ccf4/preshed-3.0.6.tar.gz#sha256=fb3b7588a3a0f2f2f1bf3fe403361b2b031212b73
   a37025aea1df7215af3772a
       ----------------------------------------
     WARNING: Discarding 
https://files.pythonhosted.org/packages/01/6e/ecc80bc717cb5adf2434d5f45168da0c1401f3d2e2546e7e1b868
   
f5e00cc/thinc-8.0.12.tar.gz#sha256=527c220b6a8f531521b49dc064aa645dc590c6bbc6234849fbee1abdb2378ebe
 (from https://pypi.or
   g/simple/thinc/) (requires-python:>=3.6). Command errored out with exit 
status 2: /usr/local/bin/python /usr/local/lib/py
   thon3.6/site-packages/pip install --ignore-installed --no-user --prefix 
/tmp/pip-build-env-j536p6wd/overlay --no-warn-scr
   ipt-location --no-binary :none: --only-binary :none: -i 
https://pypi.org/simple -- setuptools 'cython>=0.25,<3.0' 'murmur
   hash>=0.28.0,<1.1.0' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 
'blis>=0.4.0,<0.8.0' 'numpy>=1.15.0' Check the logs fo
   r full command output.
     ERROR: Could not find a version that satisfies the requirement 
thinc<8.1.0,>=8.0.12 (from versions: 1.0, 1.1, 1.2, 1.3,
    1.4, 1.5, 1.41, 1.42, 1.60, 1.61, 1.62, 1.63, 1.64, 1.65, 1.66, 1.67, 1.68, 
1.69, 1.70, 1.71, 1.72, 1.73, 1.74, 1.75, 1.
   76, 2.0, 3.0, 3.1, 3.2, 3.3, 3.4.1, 4.0.0, 4.1.0, 4.2.0, 5.0.0, 5.0.1, 
5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 6
   .0.0, 6.1.0, 6.1.1, 6.1.2, 6.1.3, 6.2.0, 6.3.0, 6.4.0, 6.5.0, 6.5.2, 6.6.0, 
6.7.0, 6.7.1, 6.7.2, 6.7.3, 6.8.0, 6.8.1, 6.8
   .2, 6.9.0, 6.10.0, 6.10.1.dev0, 6.10.1, 6.10.2.dev0, 6.10.2.dev1, 6.10.2, 
6.10.3.dev0, 6.10.3.dev1, 6.10.3, 6.10.4.dev0, 6.11.0.dev2, 6.11.1.dev0, 
6.11.1.dev1, 6.11.1.dev2, 6.11.1.dev3, 6.11.1.dev4, 6.11.1.dev6, 6.11.1.dev7, 
6.11.1.dev10, 6.11.1.dev11, 6.11.1.dev12, 6.11.1.dev13, 6.11.1.dev15, 
6.11.1.dev16, 6.11.1.dev17, 6.11.1.dev18, 6.11.1.dev19, 6.11.1.dev20
   , 6.11.1, 6.11.2.dev0, 6.11.2, 6.11.3.dev1, 6.11.3.dev2, 6.12.0, 6.12.1, 
7.0.0.dev0, 7.0.0.dev1, 7.0.0.dev2, 7.0.0.dev3, 7.0.0.dev4, 7.0.0.dev5, 
7.0.0.dev6, 7.0.0.dev8, 7.0.0, 7.0.1.dev0, 7.0.1.dev1, 7.0.1.dev2, 7.0.1, 
7.0.2, 7.0.3, 7.0.4.dev0, 7.0.4, 7.0.5.dev0, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 
7.1.0.dev0, 7.1.0, 7.1.1, 7.2.0.dev3, 7.2.0, 7.3.0.dev0, 7.3.0, 7.3.1,
   7.4.0.dev0, 7.4.0.dev1, 7.4.0.dev2, 7.4.0, 7.4.1, 7.4.2, 7.4.3, 7.4.4, 
7.4.5, 8.0.0.dev0, 8.0.0.dev2, 8.0.0.dev4, 8.0.0a0, 8.0.0a1, 8.0.0a2, 8.0.0a3, 
8.0.0a6, 8.0.0a8, 8.0.0a9, 8.0.0a11, 8.0.0a12, 8.0.0a13, 8.0.0a14, 8.0.0a16, 
8.0.0a17, 8.0.0a18, 8.0.0a19, 8.0.0a20, 8.0.0a21, 8.0.0a22, 8.0.0a23, 8.0.0a24, 
8.0.0a25, 8.0.0a26, 8.0.0a27, 8.0.0a28, 8.0.0a29, 8.0.0a
   30, 8.0.0a31, 8.0.0a32, 8.0.0a33, 8.0.0a34, 8.0.0a35, 8.0.0a36, 8.0.0a40, 
8.0.0a41, 8.0.0a42, 8.0.0a43, 8.0.0a44, 8.0.0rc0, 8.0.0rc1, 8.0.0rc2, 8.0.0rc3, 
8.0.0rc4, 8.0.0rc5, 8.0.0rc6.dev0, 8.0.0rc6, 8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 
8.0.5, 8.0.6, 8.0.7, 8.0.8, 8.0.9, 8.0.10, 8.0.11, 8.0.12, 8.0.13, 8.0.14.dev0)
     ERROR: No matching distribution found for thinc<8.1.0,>=8.0.12
     ----------------------------------------
   WARNING: Discarding 
https://files.pythonhosted.org/packages/1c/e1/9fb2abcff7d81db985f2cc3d05a750815cad32f41d487b7620370757f7e7/spacy-3.2.1.tar.gz#sha256=f6ebac511627740a8ca2b117b91ef5515c8f0b2fb117a69ebe01d010dd4fc53c
 (from https://pypi.org/simple/spacy/) (requires-python:>=3.6). Command errored 
out with exit status 1: /usr/local/bin/python /usr/local/lib/pytho
   n3.6/site-packages/pip install --ignore-installed --no-user --prefix 
/tmp/pip-build-env-2gi28qr1/overlay --no-warn-script-location --no-binary 
:none: --only-binary :none: -i https://pypi.org/simple -- setuptools 
'cython>=0.25,<3.0' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 
'murmurhash>=0.28.0,<1.1.0' 'thinc>=8.0.12,<8.1.0' 'blis>=0.4.0,<0.8.0' pathy 
'numpy>
   =1.15.0' Check the logs for full command output.
     Downloading spacy-3.2.0.tar.gz (1.1 MB)
        |████████████████████████████████| 1.1 MB 1.6 MB/s
     Installing build dependencies ... error
   ```
   
   ## Additional information you deem important:
   *  It does not even matter if youre using an empty virtual environment. 
Installation always fails.
   * As the openwhisk image uses a python 3.6.10 environment, I tried the same 
using the official python 3.6.10 docker image. The installation was successful 
in this case.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to