Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Issue building docker image #27

Open
lnovitz opened this issue Dec 12, 2022 · 0 comments
Open

Issue building docker image #27

lnovitz opened this issue Dec 12, 2022 · 0 comments

Comments

@lnovitz
Copy link

lnovitz commented Dec 12, 2022

I followed the instructions to run the docker app but didn't get very far :( Anyone else figure out how to get past this error? Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/aiohttp

docker build . -t apartment-finder
[+] Building 6.6s (10/15)                                                                                                              
 => [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:trusty                                                                  0.6s
 => [ 1/11] FROM docker.io/library/ubuntu:trustyb30          0.0s
 => [internal] load build context                                                                                                 0.0s
 => => transferring context: 512B                                                                                                 0.0s
 => CACHED [ 2/11] RUN locale-gen en_US.UTF-8                                                                                     0.0s
 => CACHED [ 3/11] RUN apt-get update &&     apt-get -y install               python3               python3-pip               ma  0.0s
 => CACHED [ 4/11] RUN mkdir -p /tmp                                                                                              0.0s
 => CACHED [ 5/11] COPY requirements.txt /tmp/requirements.txt                                                                    0.0s
 => ERROR [ 6/11] RUN pip3 install -r /tmp/requirements.txt                                                                       5.9s
------                                                                                                                                 
 > [ 6/11] RUN pip3 install -r /tmp/requirements.txt:                                                                                  
#10 0.566 Downloading/unpacking python-craigslist>=1.0.3 (from -r /tmp/requirements.txt (line 1))                                      
#10 0.859   Downloading python-craigslist-1.1.4.tar.gz                                                                                 
#10 0.904   Running setup.py (path:/tmp/pip_build_root/python-craigslist/setup.py) egg_info for package python-craigslist              
#10 0.960                                                                                                                              
#10 1.009 Downloading/unpacking sqlalchemy (from -r /tmp/requirements.txt (line 2))
#10 2.324   Running setup.py (path:/tmp/pip_build_root/sqlalchemy/setup.py) egg_info for package sqlalchemy
#10 2.414     
#10 2.427     no previously-included directories found matching 'doc/build/output'
#10 2.428     warning: no previously-included files found matching 'pyproject.toml'
#10 2.442 Downloading/unpacking python-dateutil (from -r /tmp/requirements.txt (line 3))
#10 2.621 Downloading/unpacking ipython (from -r /tmp/requirements.txt (line 4))
#10 2.829 Downloading/unpacking slackclient (from -r /tmp/requirements.txt (line 5))
#10 2.980 Downloading/unpacking requests>=2.25.0 (from python-craigslist>=1.0.3->-r /tmp/requirements.txt (line 1))
#10 3.141 Downloading/unpacking urllib3>=1.26.0 (from python-craigslist>=1.0.3->-r /tmp/requirements.txt (line 1))
#10 3.294 Downloading/unpacking beautifulsoup4>=4.9.0 (from python-craigslist>=1.0.3->-r /tmp/requirements.txt (line 1))
#10 3.420 Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python3/dist-packages (from python-craigslist>=1.0.3->-r /tmp/requirements.txt (line 1))
#10 3.422 Downloading/unpacking prompt-toolkit>=3.0.11,<3.1.0 (from ipython->-r /tmp/requirements.txt (line 4))
#10 3.595 Downloading/unpacking pickleshare (from ipython->-r /tmp/requirements.txt (line 4))
#10 3.708   Downloading pickleshare-0.7.5-py2.py3-none-any.whl
#10 3.712 Downloading/unpacking backcall (from ipython->-r /tmp/requirements.txt (line 4))
#10 3.823   Downloading backcall-0.2.0-py2.py3-none-any.whl
#10 3.828 Downloading/unpacking matplotlib-inline (from ipython->-r /tmp/requirements.txt (line 4))
#10 3.946   Downloading matplotlib_inline-0.1.6-py3-none-any.whl
#10 3.952 Downloading/unpacking decorator (from ipython->-r /tmp/requirements.txt (line 4))
#10 4.058   Downloading decorator-5.1.1-py3-none-any.whl
#10 4.062 Downloading/unpacking stack-data (from ipython->-r /tmp/requirements.txt (line 4))
#10 4.174   Downloading stack_data-0.6.2-py3-none-any.whl
#10 4.181 Downloading/unpacking jedi>=0.16 (from ipython->-r /tmp/requirements.txt (line 4))
#10 4.451 Downloading/unpacking pexpect>4.3 (from ipython->-r /tmp/requirements.txt (line 4))
#10 4.593 Downloading/unpacking pygments>=2.4.0 (from ipython->-r /tmp/requirements.txt (line 4))
#10 4.775 Downloading/unpacking traitlets>=5 (from ipython->-r /tmp/requirements.txt (line 4))
#10 4.883 Downloading/unpacking aiohttp>3.5.2,<4.0.0 (from slackclient->-r /tmp/requirements.txt (line 5))
#10 5.627   Running setup.py (path:/tmp/pip_build_root/aiohttp/setup.py) egg_info for package aiohttp
#10 5.687     Traceback (most recent call last):
#10 5.687       File "<string>", line 17, in <module>
#10 5.687       File "/tmp/pip_build_root/aiohttp/setup.py", line 11
#10 5.688         NO_EXTENSIONS: bool = bool(os.environ.get("AIOHTTP_NO_EXTENSIONS"))
#10 5.688                      ^
#10 5.688     SyntaxError: invalid syntax
#10 5.694     Complete output from command python setup.py egg_info:
#10 5.694     Traceback (most recent call last):
#10 5.694 
#10 5.694   File "<string>", line 17, in <module>
#10 5.694 
#10 5.694   File "/tmp/pip_build_root/aiohttp/setup.py", line 11
#10 5.694 
#10 5.694     NO_EXTENSIONS: bool = bool(os.environ.get("AIOHTTP_NO_EXTENSIONS"))
#10 5.694 
#10 5.694                  ^
#10 5.694 
#10 5.694 SyntaxError: invalid syntax
#10 5.694 
#10 5.694 ----------------------------------------
#10 5.694 Cleaning up...
#10 5.797 Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/aiohttp
#10 5.799 Storing debug log for failure in /root/.pip/pip.log
------
executor failed running [/bin/sh -c pip3 install -r /tmp/requirements.txt]: exit code: 1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant