GithubHelp home page GithubHelp logo

Comments (8)

ianmiell avatar ianmiell commented on June 12, 2024 1

from autotrace.

ianmiell avatar ianmiell commented on June 12, 2024

from autotrace.

shizonic avatar shizonic commented on June 12, 2024
Failed building wheel for regex
  Running setup.py clean for regex
Successfully built autotrace curtsies tzlocal
Failed to build regex
Installing collected packages: blessings, wcwidth, typing, curtsies, ptyprocess, pexpect, pytz, tzlocal, six, python-dateutil, regex, dateparser, autotrace
  Running setup.py install for regex ... error
    Complete output from command /usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-h9755aaz/regex/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-47754g5n/install-record.txt --single-version-externally-managed --compile:
    /usr/local/lib/python3.6/site-packages/setuptools/dist.py:397: UserWarning: Normalizing '2018.02.21' to '2018.2.21'
      normalized_version,
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.6
    copying regex_3/regex.py -> build/lib.linux-x86_64-3.6
    copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.6
    copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.6
    running build_ext
    building '_regex' extension
    creating build/temp.linux-x86_64-3.6
    creating build/temp.linux-x86_64-3.6/regex_3
    gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.6m -c regex_3/_regex.c -o build/temp.linux-x86_64-3.6/regex_3/_regex.o
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-h9755aaz/regex/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-47754g5n/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-h9755aaz/regex/

tm at dtm in ~
$ docker run -it --rm python bash
Unable to find image 'python:latest' locally
latest: Pulling from library/python
cc1a78bfd46b: Pull complete
6861473222a6: Pull complete
7e0b9c3b5ae0: Pull complete
3ec98735f56f: Pull complete
9b311b87a021: Pull complete
048165938570: Pull complete
1ca3d78efb22: Pull complete
0f6c8999c3b7: Pull complete
5a85410f5000: Pull complete
Digest: sha256:0bd2adeb36f8e5a80b8561db7549f29cba2abc1bde36f576b1f4b7c6b6318521
Status: Downloaded newer image for python:latest
root@8f3d62241253:/# pip install autotrace
Collecting autotrace
  Downloading https://files.pythonhosted.org/packages/08/00/f676ffad48281a504eef71c36dfc0521c6440c5e6c7c6590a099b0dbd51f/autotrace-0.0.26.tar.gz
Collecting curtsies (from autotrace)
  Downloading https://files.pythonhosted.org/packages/78/1e/3b69f26d9e496901e80fc90e39e479c85fb6df595c2e2935a4fd781b3c9b/curtsies-0.3.0.tar.gz (47kB)
    100% |████████████████████████████████| 51kB 3.3MB/s
Collecting pexpect (from autotrace)
  Downloading https://files.pythonhosted.org/packages/89/e6/b5a1de8b0cc4e07ca1b305a4fcc3f9806025c1b651ea302646341222f88b/pexpect-4.6.0-py2.py3-none-any.whl (57kB)
    100% |████████████████████████████████| 61kB 5.4MB/s
Collecting dateparser (from autotrace)
  Downloading https://files.pythonhosted.org/packages/ac/9e/1aa87c0c59f9731820bfd20a8b148d97b315530c2c92d1fb300328c8c42f/dateparser-0.7.0-py2.py3-none-any.whl (357kB)
    100% |████████████████████████████████| 358kB 5.1MB/s
Collecting blessings>=1.5 (from curtsies->autotrace)
  Downloading https://files.pythonhosted.org/packages/2e/e8/3b7eae26b1ef0b79bfe07af1abd96586031c89b18066bd0efbb73be2f788/blessings-1.6.1-py3-none-any.whl
Collecting wcwidth>=0.1.4 (from curtsies->autotrace)
  Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Collecting typing (from curtsies->autotrace)
  Downloading https://files.pythonhosted.org/packages/05/2b/2b05bf1d5a9dd450447c9a5df3e118a465e5d3cb12b73b7220a5064a403f/typing-3.6.4-py3-none-any.whl
Collecting ptyprocess>=0.5 (from pexpect->autotrace)
  Downloading https://files.pythonhosted.org/packages/ff/4e/fa4a73ccfefe2b37d7b6898329e7dbcd1ac846ba3a3b26b294a78a3eb997/ptyprocess-0.5.2-py2.py3-none-any.whl
Collecting tzlocal (from dateparser->autotrace)
  Downloading https://files.pythonhosted.org/packages/cb/89/e3687d3ed99bc882793f82634e9824e62499fdfdc4b1ae39e211c5b05017/tzlocal-1.5.1.tar.gz
Collecting pytz (from dateparser->autotrace)
  Downloading https://files.pythonhosted.org/packages/dc/83/15f7833b70d3e067ca91467ca245bae0f6fe56ddc7451aa0dc5606b120f2/pytz-2018.4-py2.py3-none-any.whl (510kB)
    100% |████████████████████████████████| 512kB 7.3MB/s
Collecting regex (from dateparser->autotrace)
  Downloading https://files.pythonhosted.org/packages/a2/51/c39562cfed3272592c60cfd229e5464d715b78537e332eac2b695422dc49/regex-2018.02.21.tar.gz (620kB)
    100% |████████████████████████████████| 624kB 8.6MB/s
Collecting python-dateutil (from dateparser->autotrace)
  Downloading https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl (211kB)
    100% |████████████████████████████████| 215kB 10.5MB/s
Collecting six>=1.5 (from python-dateutil->dateparser->autotrace)
  Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Building wheels for collected packages: autotrace, curtsies, tzlocal, regex
  Running setup.py bdist_wheel for autotrace ... done
  Stored in directory: /root/.cache/pip/wheels/07/db/b0/9192bd37cc0f405af53a2e4ba5cb63de3af496cfec9dccb628
  Running setup.py bdist_wheel for curtsies ... done
  Stored in directory: /root/.cache/pip/wheels/e4/de/23/a662faf3cc27489e1bfdcfdb2c22aa044bb5e2610645658ff1
  Running setup.py bdist_wheel for tzlocal ... done
  Stored in directory: /root/.cache/pip/wheels/15/ae/df/a67bf1ed84e9bf230187d36d8dcfd30072bea0236cb059ed91
  Running setup.py bdist_wheel for regex ... done
  Stored in directory: /root/.cache/pip/wheels/6b/c9/cf/230425cdd343d6b98e8da5a5841c3dab1e0c8aaa134e29edb0
Successfully built autotrace curtsies tzlocal regex
Installing collected packages: blessings, wcwidth, typing, curtsies, ptyprocess, pexpect, pytz, tzlocal, regex, six, python-dateutil, dateparser, autotrace
Successfully installed autotrace-0.0.26 blessings-1.6.1 curtsies-0.3.0 dateparser-0.7.0 pexpect-4.6.0 ptyprocess-0.5.2 python-dateutil-2.7.3 pytz-2018.4 regex-2018.2.21 six-1.11.0 typing-3.6.4 tzlocal-1.5.1 wcwidth-0.1.7
root@8f3d62241253:/# autotrace
No background process found on this terminal session.
root@8f3d62241253:/# exit

tm at dtm in ~
$ docker run -it --rm python:alpine sh
/ # pip install autotrace
Collecting autotrace
  Downloading https://files.pythonhosted.org/packages/08/00/f676ffad48281a504eef71c36dfc0521c6440c5e6c7c6590a099b0dbd51f/autotrace-0.0.26.tar.gz
Collecting curtsies (from autotrace)
  Downloading https://files.pythonhosted.org/packages/78/1e/3b69f26d9e496901e80fc90e39e479c85fb6df595c2e2935a4fd781b3c9b/curtsies-0.3.0.tar.gz (47kB)
    100% |████████████████████████████████| 51kB 2.1MB/s
Collecting pexpect (from autotrace)
  Downloading https://files.pythonhosted.org/packages/89/e6/b5a1de8b0cc4e07ca1b305a4fcc3f9806025c1b651ea302646341222f88b/pexpect-4.6.0-py2.py3-none-any.whl (57kB)
    100% |████████████████████████████████| 61kB 3.6MB/s
Collecting dateparser (from autotrace)
  Downloading https://files.pythonhosted.org/packages/ac/9e/1aa87c0c59f9731820bfd20a8b148d97b315530c2c92d1fb300328c8c42f/dateparser-0.7.0-py2.py3-none-any.whl (357kB)
    100% |████████████████████████████████| 358kB 3.4MB/s
Collecting blessings>=1.5 (from curtsies->autotrace)
  Downloading https://files.pythonhosted.org/packages/2e/e8/3b7eae26b1ef0b79bfe07af1abd96586031c89b18066bd0efbb73be2f788/blessings-1.6.1-py3-none-any.whl
Collecting wcwidth>=0.1.4 (from curtsies->autotrace)
  Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Collecting typing (from curtsies->autotrace)
  Downloading https://files.pythonhosted.org/packages/05/2b/2b05bf1d5a9dd450447c9a5df3e118a465e5d3cb12b73b7220a5064a403f/typing-3.6.4-py3-none-any.whl
Collecting ptyprocess>=0.5 (from pexpect->autotrace)
  Downloading https://files.pythonhosted.org/packages/ff/4e/fa4a73ccfefe2b37d7b6898329e7dbcd1ac846ba3a3b26b294a78a3eb997/ptyprocess-0.5.2-py2.py3-none-any.whl
Collecting regex (from dateparser->autotrace)
  Downloading https://files.pythonhosted.org/packages/a2/51/c39562cfed3272592c60cfd229e5464d715b78537e332eac2b695422dc49/regex-2018.02.21.tar.gz (620kB)
    100% |████████████████████████████████| 624kB 4.9MB/s
Collecting pytz (from dateparser->autotrace)
  Downloading https://files.pythonhosted.org/packages/dc/83/15f7833b70d3e067ca91467ca245bae0f6fe56ddc7451aa0dc5606b120f2/pytz-2018.4-py2.py3-none-any.whl (510kB)
    100% |████████████████████████████████| 512kB 8.1MB/s
Collecting python-dateutil (from dateparser->autotrace)
  Downloading https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl (211kB)
    100% |████████████████████████████████| 215kB 6.5MB/s
Collecting tzlocal (from dateparser->autotrace)
  Downloading https://files.pythonhosted.org/packages/cb/89/e3687d3ed99bc882793f82634e9824e62499fdfdc4b1ae39e211c5b05017/tzlocal-1.5.1.tar.gz
Collecting six>=1.5 (from python-dateutil->dateparser->autotrace)
  Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Building wheels for collected packages: autotrace, curtsies, regex, tzlocal
  Running setup.py bdist_wheel for autotrace ... done
  Stored in directory: /root/.cache/pip/wheels/07/db/b0/9192bd37cc0f405af53a2e4ba5cb63de3af496cfec9dccb628
  Running setup.py bdist_wheel for curtsies ... done
  Stored in directory: /root/.cache/pip/wheels/e4/de/23/a662faf3cc27489e1bfdcfdb2c22aa044bb5e2610645658ff1
  Running setup.py bdist_wheel for regex ... error
  Complete output from command /usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-wt9ulssh/regex/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-ler_gdvd --python-tag cp36:
  /usr/local/lib/python3.6/site-packages/setuptools/dist.py:397: UserWarning: Normalizing '2018.02.21' to '2018.2.21'
    normalized_version,
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.6
  copying regex_3/regex.py -> build/lib.linux-x86_64-3.6
  copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.6
  copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.6
  running build_ext
  building '_regex' extension
  creating build/temp.linux-x86_64-3.6
  creating build/temp.linux-x86_64-3.6/regex_3
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.6m -c regex_3/_regex.c -o build/temp.linux-x86_64-3.6/regex_3/_regex.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for regex
  Running setup.py clean for regex
  Running setup.py bdist_wheel for tzlocal ... done
  Stored in directory: /root/.cache/pip/wheels/15/ae/df/a67bf1ed84e9bf230187d36d8dcfd30072bea0236cb059ed91
Successfully built autotrace curtsies tzlocal
Failed to build regex
Installing collected packages: blessings, wcwidth, typing, curtsies, ptyprocess, pexpect, regex, pytz, six, python-dateutil, tzlocal, dateparser, autotrace
  Running setup.py install for regex ... error
    Complete output from command /usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-wt9ulssh/regex/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-g12n9f_5/install-record.txt --single-version-externally-managed --compile:
    /usr/local/lib/python3.6/site-packages/setuptools/dist.py:397: UserWarning: Normalizing '2018.02.21' to '2018.2.21'
      normalized_version,
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.6
    copying regex_3/regex.py -> build/lib.linux-x86_64-3.6
    copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.6
    copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.6
    running build_ext
    building '_regex' extension
    creating build/temp.linux-x86_64-3.6
    creating build/temp.linux-x86_64-3.6/regex_3
    gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.6m -c regex_3/_regex.c -o build/temp.linux-x86_64-3.6/regex_3/_regex.o
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-wt9ulssh/regex/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-g12n9f_5/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-wt9ulssh/regex/

from autotrace.

ianmiell avatar ianmiell commented on June 12, 2024

from autotrace.

shizonic avatar shizonic commented on June 12, 2024

Thanks for your response but unfortunately this does still not work. Try it by yourself by running:

docker run -it --rm python:alpine sh -c "apk update && apk add gcc && pip install autotrace"

from autotrace.

ianmiell avatar ianmiell commented on June 12, 2024

from autotrace.

shizonic avatar shizonic commented on June 12, 2024

I have to excuse myself. I overlooked the Dockerfile. Sorry. With it it works without any problems. Thank you very much.

from autotrace.

shizonic avatar shizonic commented on June 12, 2024

Thanks. I will.

from autotrace.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.