Skip to content

Instantly share code, notes, and snippets.

@mtlynch
Created March 4, 2019 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtlynch/f05c975230349cfc7f7c93dfab71238c to your computer and use it in GitHub Desktop.
Save mtlynch/f05c975230349cfc7f7c93dfab71238c to your computer and use it in GitHub Desktop.
mike@ketohub:~/snorkel.deploy$ virtualenv -p python2 dev
Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/mike/snorkel.deploy/dev/bin/python2
Also creating executable in /home/mike/snorkel.deploy/dev/bin/python
Installing setuptools, pip, wheel...
done.
mike@ketohub:~/snorkel.deploy$ source dev/bin/activate
(dev) mike@ketohub:~/snorkel.deploy$ pip install snorkel-lite
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting snorkel-lite
Using cached https://files.pythonhosted.org/packages/1d/aa/1c75572fcae26b61fa41196c527d3f38acb76c242d80de623930421eca2b/snorkel-lite-0.0.6.tar.gz
Collecting addict (from snorkel-lite)
Collecting bcrypt (from snorkel-lite)
Using cached https://files.pythonhosted.org/packages/50/d8/95f7cb04344033bf9d1a12c5a7969a15999b6a710fbe1969c517333d9a62/bcrypt-3.1.6-cp27-cp27mu-manylinux1_x86_64.whl
Collecting flask (from snorkel-lite)
Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl
Collecting flask-admin (from snorkel-lite)
Collecting flask_dance (from snorkel-lite)
Using cached https://files.pythonhosted.org/packages/40/6e/d3b8db73daa618aa2ce55c582ded4a2b85edc14a446c08e30a0c3eeb94cc/Flask_Dance-1.4.0-py2.py3-none-any.whl
Collecting flask_peewee (from snorkel-lite)
Collecting flask-security (from snorkel-lite)
Using cached https://files.pythonhosted.org/packages/88/47/4908a5040120768ff4fb2465c7eeafeb9239c27d2919bd67c4ccc1b43e14/Flask_Security-3.0.0-py2.py3-none-any.whl
Collecting peewee (from snorkel-lite)
Collecting preparable (from snorkel-lite)
Collecting pudgy (from snorkel-lite)
Collecting six>=1.4.1 (from bcrypt->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting cffi>=1.1 (from bcrypt->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/9d/6f/aea9f5559fb593da07ff34e67513bd62483b45715b4a5f5fae6a0a5792ea/cffi-1.12.2-cp27-cp27mu-manylinux1_x86_64.whl
Collecting Jinja2>=2.10 (from flask->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
Collecting itsdangerous>=0.24 (from flask->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting Werkzeug>=0.14 (from flask->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl
Collecting click>=5.1 (from flask->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Collecting wtforms (from flask-admin->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/9f/c8/dac5dce9908df1d9d48ec0e26e2a250839fa36ea2c602cc4f85ccfeb5c65/WTForms-2.2.1-py2.py3-none-any.whl
Collecting lazy (from flask_dance->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/b8/06/9e1893ff24ca262950755292015dae2cb32082d19c9432a632747e9f7d43/lazy-1.4-py2.py3-none-any.whl
Collecting urlobject (from flask_dance->snorkel-lite)
Collecting requests-oauthlib>=1.0.0 (from flask_dance->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/c2/e2/9fd03d55ffb70fe51f587f20bcf407a6927eb121de86928b34d162f0b1ac/requests_oauthlib-1.2.0-py2.py3-none-any.whl
Collecting requests>=2.0 (from flask_dance->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl
Collecting oauthlib (from flask_dance->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/16/95/699466b05b72b94a41f662dc9edf87fda4289e3602ecd42d27fcaddf7b56/oauthlib-3.0.1-py2.py3-none-any.whl
Collecting wtf-peewee (from flask_peewee->snorkel-lite)
Collecting Flask-BabelEx>=0.9.3 (from flask-security->snorkel-lite)
Collecting Flask-Principal>=0.3.3 (from flask-security->snorkel-lite)
Collecting passlib>=1.7 (from flask-security->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/ee/a7/d6d238d927df355d4e4e000670342ca4705a72f0bf694027cf67d9bcf5af/passlib-1.7.1-py2.py3-none-any.whl
Collecting Flask-Mail>=0.7.3 (from flask-security->snorkel-lite)
Collecting Flask-WTF>=0.13.1 (from flask-security->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/60/3a/58c629472d10539ae5167dc7c1fecfa95dd7d0b7864623931e3776438a24/Flask_WTF-0.14.2-py2.py3-none-any.whl
Collecting Flask-Login>=0.3.0 (from flask-security->snorkel-lite)
Collecting diskcache (from pudgy->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/6b/92/eef5c59a4cec01277cbc12cb6c7946bdb4e135a13fd5a390949817bf2921/diskcache-3.1.1-py2.py3-none-any.whl
Collecting pystache (from pudgy->snorkel-lite)
Collecting libsass (from pudgy->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/be/d1/44fbe0e7486415f67009f6325dd3290ba04eaa225f340f023052839ed176/libsass-0.17.0-cp27-cp27mu-manylinux1_x86_64.whl
Collecting pycparser (from cffi>=1.1->bcrypt->snorkel-lite)
Collecting MarkupSafe>=0.23 (from Jinja2>=2.10->flask->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/fb/40/f3adb7cf24a8012813c5edb20329eb22d5d8e2a0ecf73d21d6b85865da11/MarkupSafe-1.1.1-cp27-cp27mu-manylinux1_x86_64.whl
Collecting certifi>=2017.4.17 (from requests>=2.0->flask_dance->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/9f/e0/accfc1b56b57e9750eba272e24c4dddeac86852c2bebd1236674d7887e8a/certifi-2018.11.29-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.0->flask_dance->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests>=2.0->flask_dance->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting urllib3<1.25,>=1.21.1 (from requests>=2.0->flask_dance->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl
Collecting speaklater>=1.2 (from Flask-BabelEx>=0.9.3->flask-security->snorkel-lite)
Collecting Babel>=1.0 (from Flask-BabelEx>=0.9.3->flask-security->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/b8/ad/c6f60602d3ee3d92fbed87675b6fb6a6f9a38c223343ababdb44ba201f10/Babel-2.6.0-py2.py3-none-any.whl
Collecting blinker (from Flask-Principal>=0.3.3->flask-security->snorkel-lite)
Collecting pytz>=0a (from Babel>=1.0->Flask-BabelEx>=0.9.3->flask-security->snorkel-lite)
Using cached https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.9-py2.py3-none-any.whl
Building wheels for collected packages: snorkel-lite
Building wheel for snorkel-lite (setup.py) ... error
Complete output from command /home/mike/snorkel.deploy/dev/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-aCOywC/snorkel-lite/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-0EgQTI --python-tag cp27:
running bdist_wheel
running build
running build_py
/bin/sh: 1: /usr/bin/go: not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-aCOywC/snorkel-lite/setup.py", line 86, in <module>
install_requires=[ w.strip() for w in open('requirements.txt').readlines()]
File "/home/mike/snorkel.deploy/dev/local/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/mike/snorkel.deploy/dev/local/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 192, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-install-aCOywC/snorkel-lite/setup.py", line 18, in run
check_call("/usr/bin/go get -ldflags='-s -w' github.com/logv/sybil", shell=True)
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/usr/bin/go get -ldflags='-s -w' github.com/logv/sybil' returned non-zero exit status 127
----------------------------------------
Failed building wheel for snorkel-lite
Running setup.py clean for snorkel-lite
Failed to build snorkel-lite
Installing collected packages: addict, six, pycparser, cffi, bcrypt, MarkupSafe, Jinja2, itsdangerous, Werkzeug, click, flask, wtforms, flask-admin, lazy, urlobject, certifi, chardet, idna, urllib3, requests, oauthlib, requests-oauthlib, flask-dance, peewee, wtf-peewee, flask-peewee, speaklater, pytz, Babel, Flask-BabelEx, blinker, Flask-Principal, passlib, Flask-Mail, Flask-WTF, Flask-Login, flask-security, preparable, diskcache, pystache, libsass, pudgy, snorkel-lite
Running setup.py install for snorkel-lite ... error
Complete output from command /home/mike/snorkel.deploy/dev/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-aCOywC/snorkel-lite/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-RKxUsb/install-record.txt --single-version-externally-managed --compile --install-headers /home/mike/snorkel.deploy/dev/include/site/python2.7/snorkel-lite:
running install
running build
running build_py
/bin/sh: 1: /usr/bin/go: not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-aCOywC/snorkel-lite/setup.py", line 86, in <module>
install_requires=[ w.strip() for w in open('requirements.txt').readlines()]
File "/home/mike/snorkel.deploy/dev/local/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-install-aCOywC/snorkel-lite/setup.py", line 33, in run
install.run(self)
File "/home/mike/snorkel.deploy/dev/local/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-install-aCOywC/snorkel-lite/setup.py", line 18, in run
check_call("/usr/bin/go get -ldflags='-s -w' github.com/logv/sybil", shell=True)
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/usr/bin/go get -ldflags='-s -w' github.com/logv/sybil' returned non-zero exit status 127
----------------------------------------
Command "/home/mike/snorkel.deploy/dev/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-aCOywC/snorkel-lite/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-RKxUsb/install-record.txt --single-version-externally-managed --compile --install-headers /home/mike/snorkel.deploy/dev/include/site/python2.7/snorkel-lite" failed with error code 1 in /tmp/pip-install-aCOywC/snorkel-lite/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment