Skip to content

error in click setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers #12

@MPParsley

Description

@MPParsley

% docker build -t cookiecutter .

[+] Building 8.5s (6/6) FINISHED                                                                                                                                                                                                                                                
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                       0.0s
 => => transferring dockerfile: 335B                                                                                                                                                                                                                                       0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                                                                                                                                            0.0s
 => [internal] load metadata for docker.io/library/alpine:3.2                                                                                                                                                                                                              1.0s
 => [auth] library/alpine:pull token for registry-1.docker.io                                                                                                                                                                                                              0.0s
 => CACHED [1/2] FROM docker.io/library/alpine:3.2@sha256:e9a2035f9d0d7cee1cdd445f5bfa0c5c646455ee26f14565dce23cf2d2de7570                                                                                                                                                 0.0s
 => ERROR [2/2] RUN apk add --update       python       python-dev       py-pip       g++ &&       pip install cookiecutter &&       apk del g++ py-pip  python-dev &&       rm -rf /var/cache/apk/*                                                                       7.4s
------                                                                                                                                                                                                                                                                          
 > [2/2] RUN apk add --update       python       python-dev       py-pip       g++ &&       pip install cookiecutter &&       apk del g++ py-pip  python-dev &&       rm -rf /var/cache/apk/*:                                                                                  
#5 0.282 fetch http://dl-cdn.alpinelinux.org/alpine/v3.2/main/x86_64/APKINDEX.tar.gz                                                                                                                                                                                            
#5 0.492 (1/31) Installing libgcc (4.9.2-r6)                                                                                                                                                                                                                                    
#5 0.517 (2/31) Installing libstdc++ (4.9.2-r6)                                                                                                                                                                                                                                 
#5 0.559 (3/31) Installing binutils-libs (2.25-r3)                                                                                                                                                                                                                              
#5 0.612 (4/31) Installing binutils (2.25-r3)
#5 0.730 (5/31) Installing libgomp (4.9.2-r6)
#5 0.758 (6/31) Installing pkgconf (0.9.11-r0)
#5 0.785 (7/31) Installing pkgconfig (0.25-r1)
#5 0.812 (8/31) Installing gmp (6.0.0a-r0)
#5 0.847 (9/31) Installing mpfr3 (3.1.2-r0)
#5 0.888 (10/31) Installing mpc1 (1.0.1-r0)
#5 0.917 (11/31) Installing gcc (4.9.2-r6)
#5 1.969 (12/31) Installing musl-dbg (1.1.11-r5)
#5 2.022 (13/31) Installing libc6-compat (1.1.11-r5)
#5 2.040 (14/31) Installing musl-dev (1.1.11-r5)
#5 2.184 (15/31) Installing libc-dev (0.7-r0)
#5 2.201 (16/31) Installing g++ (4.9.2-r6)
#5 3.192 (17/31) Installing libbz2 (1.0.6-r3)
#5 3.221 (18/31) Installing expat (2.2.0-r0)
#5 3.252 (19/31) Installing libffi (3.2.1-r2)
#5 3.274 (20/31) Installing gdbm (1.11-r0)
#5 3.307 (21/31) Installing ncurses-terminfo-base (5.9-r3)
#5 3.333 (22/31) Installing ncurses-libs (5.9-r3)
#5 3.367 (23/31) Installing readline (6.3.008-r0)
#5 3.402 (24/31) Installing sqlite-libs (3.8.10.2-r0)
#5 3.438 (25/31) Installing python (2.7.12-r0)
#5 4.192 (26/31) Installing py-setuptools (1.1.7-r0)
#5 4.246 (27/31) Installing py-pip (6.1.1-r0)
#5 4.396 (28/31) Installing python-doc (2.7.12-r0)
#5 4.418 (29/31) Installing python-tests (2.7.12-r0)
#5 5.002 (30/31) Installing py-gdbm (2.7.12-r0)
#5 5.024 (31/31) Installing python-dev (2.7.12-r0)
#5 5.106 Executing busybox-1.23.2-r3.trigger
#5 5.123 OK: 215 MiB in 46 packages
#5 5.604 You are using pip version 6.1.1, however version 22.3.1 is available.
#5 5.604 You should consider upgrading via the 'pip install --upgrade pip' command.
#5 5.614 Collecting cookiecutter
#5 6.025   Downloading https://files.pythonhosted.org/packages/64/4f/66a92457a729104db896321135e05b0cf94a9034fd5345f30d4d8386b957/cookiecutter-2.1.1-py2.py3-none-any.whl
#5 6.056 Collecting jinja2-time>=0.2.0 (from cookiecutter)
#5 6.232   Downloading https://files.pythonhosted.org/packages/6a/a1/d44fa38306ffa34a7e1af09632b158e13ec89670ce491f8a15af3ebcb4e4/jinja2_time-0.2.0-py2.py3-none-any.whl
#5 6.246 Collecting click<9.0.0,>=7.0 (from cookiecutter)
#5 6.459   Downloading https://files.pythonhosted.org/packages/59/87/84326af34517fca8c58418d148f2403df25303e02736832403587318e9e8/click-8.1.3.tar.gz (331kB)
#5 6.668     Complete output from command python setup.py egg_info:
#5 6.668     error in click setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
#5 6.668     
#5 6.668     ----------------------------------------
#5 6.679     Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-_UpCeT/click
------
executor failed running [/bin/sh -c apk add --update       python       python-dev       py-pip       g++ &&       pip install cookiecutter &&       apk del g++ py-pip  python-dev &&       rm -rf /var/cache/apk/*]: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions