Skip to content

Instantly share code, notes, and snippets.

@rec
Created January 18, 2020 15:46
Show Gist options
  • Save rec/26506ac5a7d26c6f449e46c6691f6004 to your computer and use it in GitHub Desktop.
Save rec/26506ac5a7d26c6f449e46c6691f6004 to your computer and use it in GitHub Desktop.
$ pip install -r pip-req.txt
Collecting nose>=1.3.0
Using cached https://files.pythonhosted.org/packages/15/d8/dd071918c040f50fa1cf80da16423af51ff8ce4a0f2399b7bf8de45ac3d9/nose-1.3.7-py3-none-any.whl
Collecting tox>=1.6.1
Downloading https://files.pythonhosted.org/packages/77/a7/a5b721d9bf955edfe36013e5ecc9136fc6b2fef622ab1797ff0560273d8e/tox-3.14.3-py2.py3-none-any.whl (80kB)
|████████████████████████████████| 81kB 1.7MB/s
Processing /Users/tom/Library/Caches/pip/wheels/b0/eb/ac/80e48148e00b449d5f2b60478c31f1e0fb5ec45b04950e800f/coverage-5.0.3-cp38-cp38-macosx_10_9_x86_64.whl
Collecting pylint>=1.1.0
Downloading https://files.pythonhosted.org/packages/e9/59/43fc36c5ee316bb9aeb7cf5329cdbdca89e5749c34d5602753827c0aa2dc/pylint-2.4.4-py3-none-any.whl (302kB)
|████████████████████████████████| 307kB 5.1MB/s
Collecting numpy>=1.8.0
Downloading https://files.pythonhosted.org/packages/a7/06/6d616fb5fb423db595b1502cbd873f3f2025f2fd8509046c771a20c4302a/numpy-1.18.1-cp38-cp38-macosx_10_9_x86_64.whl (15.2MB)
|████████████████████████████████| 15.2MB 429kB/s
Collecting scipy>=0.13.2
Downloading https://files.pythonhosted.org/packages/90/d2/44b70a930ad28da8f65d8c294ac88b20f561e5d650b85efea80381566db1/scipy-1.4.1-cp38-cp38-macosx_10_9_x86_64.whl (28.8MB)
|████████████████████████████████| 28.8MB 570kB/s
Collecting matplotlib>=1.3.1
Downloading https://files.pythonhosted.org/packages/52/dd/ffb5cad3cf2f41bc3966489709e4e020a34f8d183fe85c91dc8a3db8bcf5/matplotlib-3.1.2-cp38-cp38-macosx_10_9_x86_64.whl (13.2MB)
|████████████████████████████████| 13.2MB 316kB/s
Collecting scikit-learn>=0.14.1
Downloading https://files.pythonhosted.org/packages/5a/5b/520ed622a1896ac320c19fe8f32ae13258ec72d884e8c6c9753e2b60197e/scikit_learn-0.22.1-cp38-cp38-macosx_10_9_x86_64.whl (7.0MB)
|████████████████████████████████| 7.0MB 343kB/s
Collecting python-crfsuite>=0.8.2
Downloading https://files.pythonhosted.org/packages/73/b5/d9640656386b28ca181410f292ffcc3f1c39d9438f0796f874fd5d65ee34/python-crfsuite-0.9.6.tar.gz (434kB)
|████████████████████████████████| 440kB 54.5MB/s
Collecting gensim>=0.11.1
Downloading https://files.pythonhosted.org/packages/73/f2/e9af000df6419bf1a63ffed3e6033a1b1d8fcf2f971fcdac15296619aff8/gensim-3.8.1.tar.gz (23.4MB)
|████████████████████████████████| 23.4MB 362kB/s
ERROR: Command errored out with exit status 1:
command: /code/env/nltk-3.8/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-103bqch2/gensim/setup.py'"'"'; __file__='"'"'/private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-103bqch2/gensim/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 /private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-103bqch2/gensim/pip-egg-info
cwd: /private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-103bqch2/gensim/
Complete output (105 lines):
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/_bit_generator.pyx
Traceback (most recent call last):
File "/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/tools/cythonize.py", line 61, in process_pyx
from Cython.Compiler.Version import version as cython_version
ModuleNotFoundError: No module named 'Cython'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/tools/cythonize.py", line 238, in <module>
main()
File "/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/tools/cythonize.py", line 234, in main
find_process_files(root_dir)
File "/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/tools/cythonize.py", line 225, in find_process_files
process(root_dir, fromfile, tofile, function, hash_db)
File "/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/tools/cythonize.py", line 191, in process
processor_function(fromfile, tofile)
File "/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/tools/cythonize.py", line 66, in process_pyx
raise OSError('Cython needs to be installed in Python as a module')
OSError: Cython needs to be installed in Python as a module
Running from numpy source directory.
/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/setup.py:461: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
Traceback (most recent call last):
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 152, in save_modules
yield saved
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 193, in setup_context
yield
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 237, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 267, in run
return func()
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 236, in runner
_execfile(setup_script, ns)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/setup.py", line 488, in <module>
File "/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/setup.py", line 469, in setup_package
File "/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/setup.py", line 275, in generate_cython
'annoy',
RuntimeError: Running cythonize failed!
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-103bqch2/gensim/setup.py", line 348, in <module>
setup(
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/dist.py", line 268, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/dist.py", line 310, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/code/env/nltk-3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 836, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1081, in best_match
return self.obtain(req, installer)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1093, in obtain
return installer(requirement)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/dist.py", line 380, in fetch_build_egg
return cmd.easy_install(req)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 629, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 659, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 842, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 1070, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 1056, in run_setup
run_setup(setup_script, args)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 240, in run_setup
raise
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 193, in setup_context
yield
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 164, in save_modules
saved_exc.resume()
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 139, in resume
compat.reraise(type, exc, self._tb)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/compat.py", line 65, in reraise
raise value.with_traceback(tb)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 152, in save_modules
yield saved
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 193, in setup_context
yield
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 237, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 267, in run
return func()
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 236, in runner
_execfile(setup_script, ns)
File "/code/env/nltk-3.8/lib/python3.8/site-packages/setuptools/sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/setup.py", line 488, in <module>
File "/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/setup.py", line 469, in setup_package
File "/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/easy_install-hs1av7nc/numpy-1.18.1/setup.py", line 275, in generate_cython
'annoy',
RuntimeError: Running cythonize failed!
Cythonizing sources
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
$ pip install cython
Collecting cython
Downloading https://files.pythonhosted.org/packages/9c/9b/706dac7338c2860cd063a28cdbf5e9670995eaea408abbf2e88ba070d90d/Cython-0.29.14.tar.gz (2.1MB)
|████████████████████████████████| 2.1MB 657kB/s
Building wheels for collected packages: cython
Building wheel for cython (setup.py) ... done
Created wheel for cython: filename=Cython-0.29.14-cp38-cp38-macosx_10_9_x86_64.whl size=1959818 sha256=addacf5bf9dcda3fa616d3cd1b253f262db2cfd7e9273f6f3aaf34fb28a78641
Stored in directory: /Users/tom/Library/Caches/pip/wheels/24/67/68/1ac6dfb164b21f94b904b1a6cff9e410d520920393bfc5dc0e
Successfully built cython
Installing collected packages: cython
Successfully installed cython-0.29.14
[nltk-3.8] (develop) tom@bantam:/code/nltk$ pip install -r pip-req.txt
Collecting nose>=1.3.0
Using cached https://files.pythonhosted.org/packages/15/d8/dd071918c040f50fa1cf80da16423af51ff8ce4a0f2399b7bf8de45ac3d9/nose-1.3.7-py3-none-any.whl
Collecting tox>=1.6.1
Using cached https://files.pythonhosted.org/packages/77/a7/a5b721d9bf955edfe36013e5ecc9136fc6b2fef622ab1797ff0560273d8e/tox-3.14.3-py2.py3-none-any.whl
Processing /Users/tom/Library/Caches/pip/wheels/b0/eb/ac/80e48148e00b449d5f2b60478c31f1e0fb5ec45b04950e800f/coverage-5.0.3-cp38-cp38-macosx_10_9_x86_64.whl
Collecting pylint>=1.1.0
Using cached https://files.pythonhosted.org/packages/e9/59/43fc36c5ee316bb9aeb7cf5329cdbdca89e5749c34d5602753827c0aa2dc/pylint-2.4.4-py3-none-any.whl
Collecting numpy>=1.8.0
Using cached https://files.pythonhosted.org/packages/a7/06/6d616fb5fb423db595b1502cbd873f3f2025f2fd8509046c771a20c4302a/numpy-1.18.1-cp38-cp38-macosx_10_9_x86_64.whl
Collecting scipy>=0.13.2
Using cached https://files.pythonhosted.org/packages/90/d2/44b70a930ad28da8f65d8c294ac88b20f561e5d650b85efea80381566db1/scipy-1.4.1-cp38-cp38-macosx_10_9_x86_64.whl
Collecting matplotlib>=1.3.1
Using cached https://files.pythonhosted.org/packages/52/dd/ffb5cad3cf2f41bc3966489709e4e020a34f8d183fe85c91dc8a3db8bcf5/matplotlib-3.1.2-cp38-cp38-macosx_10_9_x86_64.whl
Collecting scikit-learn>=0.14.1
Using cached https://files.pythonhosted.org/packages/5a/5b/520ed622a1896ac320c19fe8f32ae13258ec72d884e8c6c9753e2b60197e/scikit_learn-0.22.1-cp38-cp38-macosx_10_9_x86_64.whl
Collecting python-crfsuite>=0.8.2
Using cached https://files.pythonhosted.org/packages/73/b5/d9640656386b28ca181410f292ffcc3f1c39d9438f0796f874fd5d65ee34/python-crfsuite-0.9.6.tar.gz
Collecting gensim>=0.11.1
Using cached https://files.pythonhosted.org/packages/73/f2/e9af000df6419bf1a63ffed3e6033a1b1d8fcf2f971fcdac15296619aff8/gensim-3.8.1.tar.gz
Collecting pyparsing>=2.0.3
Using cached https://files.pythonhosted.org/packages/5d/bc/1e58593167fade7b544bfe9502a26dc860940a79ab306e651e7f13be68c2/pyparsing-2.4.6-py2.py3-none-any.whl
Collecting twython>=3.2.0
Downloading https://files.pythonhosted.org/packages/8c/2b/c0883f05b03a8e87787d56395d6c89515fe7e0bf80abd3778b6bb3a6873f/twython-3.7.0.tar.gz
Collecting six>=1.10.0
Downloading https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl
Collecting regex>=2019.08.19
Downloading https://files.pythonhosted.org/packages/73/d9/b58289d885180b5d538aa6df07974b5fe6088547ac846c0f76f77259c304/regex-2020.1.8.tar.gz (681kB)
|████████████████████████████████| 686kB 3.1MB/s
Collecting filelock<4,>=3.0.0
Downloading https://files.pythonhosted.org/packages/93/83/71a2ee6158bb9f39a90c0dea1637f81d5eef866e188e1971a1b1ab01a35a/filelock-3.0.12-py3-none-any.whl
Collecting py<2,>=1.4.17
Using cached https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl
Collecting packaging>=14
Using cached https://files.pythonhosted.org/packages/d8/5b/3098db49a61ccc8583ffead6aedc226f08ff56dc03106b6ec54451e27a30/packaging-20.0-py2.py3-none-any.whl
Collecting virtualenv>=16.0.0
Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
|████████████████████████████████| 3.4MB 204kB/s
Collecting pluggy<1,>=0.12.0
Using cached https://files.pythonhosted.org/packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl
Collecting toml>=0.9.4
Using cached https://files.pythonhosted.org/packages/a2/12/ced7105d2de62fa7c8fb5fce92cc4ce66b57c95fb875e9318dba7f8c5db0/toml-0.10.0-py2.py3-none-any.whl
Collecting isort<5,>=4.2.5
Using cached https://files.pythonhosted.org/packages/e5/b0/c121fd1fa3419ea9bfd55c7f9c4fedfec5143208d8c7ad3ce3db6c623c21/isort-4.3.21-py2.py3-none-any.whl
Collecting astroid<2.4,>=2.3.0
Downloading https://files.pythonhosted.org/packages/ad/ae/86734823047962e7b8c8529186a1ac4a7ca19aaf1aa0c7713c022ef593fd/astroid-2.3.3-py3-none-any.whl (205kB)
|████████████████████████████████| 215kB 10.3MB/s
Collecting mccabe<0.7,>=0.6
Using cached https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting python-dateutil>=2.1
Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)
|████████████████████████████████| 235kB 6.0MB/s
Collecting kiwisolver>=1.0.1
Downloading https://files.pythonhosted.org/packages/22/a7/8f7706e8c1e847b9816bbb2c4c341e2ae9568653f17956f839574ed62815/kiwisolver-1.1.0-cp38-cp38-macosx_10_9_x86_64.whl (61kB)
|████████████████████████████████| 71kB 637kB/s
Collecting cycler>=0.10
Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Collecting joblib>=0.11
Downloading https://files.pythonhosted.org/packages/28/5c/cf6a2b65a321c4a209efcdf64c2689efae2cb62661f8f6f4bb28547cf1bf/joblib-0.14.1-py2.py3-none-any.whl (294kB)
|████████████████████████████████| 296kB 6.5MB/s
Collecting smart_open>=1.8.1
Downloading https://files.pythonhosted.org/packages/0c/09/735f2786dfac9bbf39d244ce75c0313d27d4962e71e0774750dc809f2395/smart_open-1.9.0.tar.gz (70kB)
|████████████████████████████████| 71kB 8.6MB/s
Collecting requests>=2.1.0
Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting requests_oauthlib>=0.4.0
Downloading https://files.pythonhosted.org/packages/a3/12/b92740d845ab62ea4edf04d2f4164d82532b5a0b03836d4d4e71c6f3d379/requests_oauthlib-1.3.0-py2.py3-none-any.whl
Collecting wrapt==1.11.*
Downloading https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79/wrapt-1.11.2.tar.gz
Collecting lazy-object-proxy==1.4.*
Downloading https://files.pythonhosted.org/packages/07/3f/a3d687f83c7d44970f70ff0400677746c8860b11f0c08f6b4e07205f0cdc/lazy-object-proxy-1.4.3.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: setuptools in /code/env/nltk-3.8/lib/python3.8/site-packages (from kiwisolver>=1.0.1->matplotlib>=1.3.1->-r pip-req.txt (line 7)) (18.2)
Collecting boto>=2.32
Downloading https://files.pythonhosted.org/packages/23/10/c0b78c27298029e4454a472a1919bde20cb182dab1662cec7f2ca1dcc523/boto-2.49.0-py2.py3-none-any.whl (1.4MB)
|████████████████████████████████| 1.4MB 350kB/s
Collecting boto3
Downloading https://files.pythonhosted.org/packages/90/03/604ab6b7ff71b996b27669495879ffdd372fe147bd95eb0cd73436ff0380/boto3-1.11.5-py2.py3-none-any.whl (128kB)
|████████████████████████████████| 133kB 2.1MB/s
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Using cached https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5
Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17
Using cached https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl
Collecting oauthlib>=3.0.0
Downloading https://files.pythonhosted.org/packages/05/57/ce2e7a8fa7c0afb54a0581b14a65b56e62b5759dbc98e80627142b8a3704/oauthlib-3.1.0-py2.py3-none-any.whl (147kB)
|████████████████████████████████| 153kB 5.7MB/s
Collecting jmespath<1.0.0,>=0.7.1
Downloading https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl
Collecting s3transfer<0.4.0,>=0.3.0
Downloading https://files.pythonhosted.org/packages/de/6d/27abf73e66a05726dd52fb3a6645417b5dc86d90488b59589296dafbf054/s3transfer-0.3.1-py2.py3-none-any.whl (69kB)
|████████████████████████████████| 71kB 6.5MB/s
Collecting botocore<1.15.0,>=1.14.5
Downloading https://files.pythonhosted.org/packages/e9/89/2ba646f66e403dac1d530ae6db84f84ee0ff53ddde2699721395e5627488/botocore-1.14.5-py2.py3-none-any.whl (5.9MB)
|████████████████████████████████| 5.9MB 292kB/s
Collecting docutils<0.16,>=0.10
Using cached https://files.pythonhosted.org/packages/22/cd/a6aa959dca619918ccb55023b4cb151949c64d4d5d55b3f4ffd7eee0c6e8/docutils-0.15.2-py3-none-any.whl
Building wheels for collected packages: lazy-object-proxy
Building wheel for lazy-object-proxy (PEP 517) ... done
Created wheel for lazy-object-proxy: filename=lazy_object_proxy-1.4.3-cp38-cp38-macosx_10_9_x86_64.whl size=19209 sha256=d2f9602cd369a1007715dac0aadce3e720a2136d04719344aadf6cf67f7b8446
Stored in directory: /Users/tom/Library/Caches/pip/wheels/37/cf/33/dee85e699e6fde7299b3e234d7e4a45720120b083177a7d078
Successfully built lazy-object-proxy
Building wheels for collected packages: python-crfsuite, gensim, twython, regex, smart-open, wrapt
Building wheel for python-crfsuite (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /code/env/nltk-3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-0102453r/python-crfsuite/setup.py'"'"'; __file__='"'"'/private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-0102453r/python-crfsuite/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 /private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-wheel-u0v_g3lr --python-tag cp38
cwd: /private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-0102453r/python-crfsuite/
Complete output (25 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.8
creating build/lib.macosx-10.9-x86_64-3.8/pycrfsuite
copying pycrfsuite/__init__.py -> build/lib.macosx-10.9-x86_64-3.8/pycrfsuite
copying pycrfsuite/_dumpparser.py -> build/lib.macosx-10.9-x86_64-3.8/pycrfsuite
copying pycrfsuite/_logparser.py -> build/lib.macosx-10.9-x86_64-3.8/pycrfsuite
running build_ext
building 'pycrfsuite._pycrfsuite' extension
creating build/temp.macosx-10.9-x86_64-3.8
creating build/temp.macosx-10.9-x86_64-3.8/pycrfsuite
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite/lib
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite/lib/crf
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite/lib/crf/src
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite/swig
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite/lib/cqdb
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite/lib/cqdb/src
creating build/temp.macosx-10.9-x86_64-3.8/liblbfgs
creating build/temp.macosx-10.9-x86_64-3.8/liblbfgs/lib
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -Icrfsuite/include/ -Icrfsuite/lib/cqdb/include -Iliblbfgs/include -Ipycrfsuite -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c pycrfsuite/_pycrfsuite.cpp -o build/temp.macosx-10.9-x86_64-3.8/pycrfsuite/_pycrfsuite.o -std=c99
error: invalid argument '-std=c99' not allowed with 'C++/ObjC++'
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for python-crfsuite
Running setup.py clean for python-crfsuite
Building wheel for gensim (setup.py) ... done
Created wheel for gensim: filename=gensim-3.8.1-cp38-cp38-macosx_10_9_x86_64.whl size=24211123 sha256=44eb83dc240ce24943bd7914edfeacc120fc7d327d12d7c100e4d41c286aa136
Stored in directory: /Users/tom/Library/Caches/pip/wheels/77/89/b1/700d367fdd13f985f8e8ca030282e215ecbed398f78ba38a5e
Building wheel for twython (setup.py) ... done
Created wheel for twython: filename=twython-3.7.0-cp38-none-any.whl size=31998 sha256=d0b0987a6978254cdc79f534181cb9d9750ad2a0398d4ea231a4fe66ae4585c2
Stored in directory: /Users/tom/Library/Caches/pip/wheels/c2/b0/a3/5c4b4b87b8c9e4d99f1494a0b471f0134a74e5fb33d426d009
Building wheel for regex (setup.py) ... done
Created wheel for regex: filename=regex-2020.1.8-cp38-cp38-macosx_10_9_x86_64.whl size=281030 sha256=24df6433a613a20a943512f4d70af9d26a7863d618e3611e202e29838bc24733
Stored in directory: /Users/tom/Library/Caches/pip/wheels/1c/78/87/21be0303007ee5d1483df56703c9c7e5a44873e8f0c51d65f8
Building wheel for smart-open (setup.py) ... done
Created wheel for smart-open: filename=smart_open-1.9.0-cp38-none-any.whl size=73077 sha256=33d7b97445616420aa6390d955fbe3e31b0478a5837cd9fc11c923000357236c
Stored in directory: /Users/tom/Library/Caches/pip/wheels/ab/10/93/5cff86f5b721d77edaecc29959b1c60d894be1f66d91407d28
Building wheel for wrapt (setup.py) ... done
Created wheel for wrapt: filename=wrapt-1.11.2-cp38-cp38-macosx_10_9_x86_64.whl size=32230 sha256=6fed1d739237a02d7f218c970269d4e21f781eddf6ec8a2187eae38d8b87b6f6
Stored in directory: /Users/tom/Library/Caches/pip/wheels/d7/de/2e/efa132238792efb6459a96e85916ef8597fcb3d2ae51590dfd
Successfully built gensim twython regex smart-open wrapt
Failed to build python-crfsuite
Installing collected packages: nose, filelock, py, six, pyparsing, packaging, virtualenv, pluggy, toml, tox, coverage, isort, wrapt, lazy-object-proxy, astroid, mccabe, pylint, numpy, scipy, python-dateutil, kiwisolver, cycler, matplotlib, joblib, scikit-learn, python-crfsuite, boto, urllib3, idna, chardet, certifi, requests, jmespath, docutils, botocore, s3transfer, boto3, smart-open, gensim, oauthlib, requests-oauthlib, twython, regex
Running setup.py install for python-crfsuite ... error
ERROR: Command errored out with exit status 1:
command: /code/env/nltk-3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-0102453r/python-crfsuite/setup.py'"'"'; __file__='"'"'/private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-0102453r/python-crfsuite/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-record-x278kqum/install-record.txt --single-version-externally-managed --compile --install-headers /code/env/nltk-3.8/bin/../include/site/python3.8/python-crfsuite
cwd: /private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-0102453r/python-crfsuite/
Complete output (25 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.8
creating build/lib.macosx-10.9-x86_64-3.8/pycrfsuite
copying pycrfsuite/__init__.py -> build/lib.macosx-10.9-x86_64-3.8/pycrfsuite
copying pycrfsuite/_dumpparser.py -> build/lib.macosx-10.9-x86_64-3.8/pycrfsuite
copying pycrfsuite/_logparser.py -> build/lib.macosx-10.9-x86_64-3.8/pycrfsuite
running build_ext
building 'pycrfsuite._pycrfsuite' extension
creating build/temp.macosx-10.9-x86_64-3.8
creating build/temp.macosx-10.9-x86_64-3.8/pycrfsuite
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite/lib
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite/lib/crf
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite/lib/crf/src
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite/swig
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite/lib/cqdb
creating build/temp.macosx-10.9-x86_64-3.8/crfsuite/lib/cqdb/src
creating build/temp.macosx-10.9-x86_64-3.8/liblbfgs
creating build/temp.macosx-10.9-x86_64-3.8/liblbfgs/lib
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -Icrfsuite/include/ -Icrfsuite/lib/cqdb/include -Iliblbfgs/include -Ipycrfsuite -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c pycrfsuite/_pycrfsuite.cpp -o build/temp.macosx-10.9-x86_64-3.8/pycrfsuite/_pycrfsuite.o -std=c99
error: invalid argument '-std=c99' not allowed with 'C++/ObjC++'
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /code/env/nltk-3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-0102453r/python-crfsuite/setup.py'"'"'; __file__='"'"'/private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-install-0102453r/python-crfsuite/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/wx/mfwvwblj52q05zn2tlzxs1cc0000gn/T/pip-record-x278kqum/install-record.txt --single-version-externally-managed --compile --install-headers /code/env/nltk-3.8/bin/../include/site/python3.8/python-crfsuite Check the logs for full command output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment