Skip to content

Instantly share code, notes, and snippets.

@LongHairedHacker
Last active February 23, 2019 16:25
Show Gist options
  • Save LongHairedHacker/0ef018c1ab7a68c3a7cbd62783ef1b61 to your computer and use it in GitHub Desktop.
Save LongHairedHacker/0ef018c1ab7a68c3a7cbd62783ef1b61 to your computer and use it in GitHub Desktop.
{
"attempts":5,
"changed":false,
"cmd":[
"/var/lib/satnogs/bin/pip2",
"install",
"satnogsclient==0.9"
],
"msg":"stdout: Collecting satnogsclient==0.9\n Using cached https://files.pythonhosted.org/packages/8c/2e/8e7d56196dbc7ffc0d15c657192f25205707c34d58947d575bab6e9c6329/satnogsclient-0.9-py2-none-any.whl\nRequirement already satisfied: pytz in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (2016.7)\nRequirement already satisfied: APScheduler in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (3.3.1)\nRequirement already satisfied: matplotlib in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (2.0.0)\nCollecting flask-socketio (from satnogsclient==0.9)\n Using cached https://files.pythonhosted.org/packages/94/85/32082ff683bbd0358f3e4b124e6405e4157f039fbd205be69c72c70e8c2e/Flask_SocketIO-3.3.1-py2.py3-none-any.whl\nCollecting redis (from satnogsclient==0.9)\n Using cached https://files.pythonhosted.org/packages/d0/8b/c43ef27d02382853b22c49bc41a8389e47d60811dd1d72b9a45bc905a5f8/redis-3.2.0-py2.py3-none-any.whl\nCollecting pyopenssl (from satnogsclient==0.9)\n Using cached https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl\nRequirement already satisfied: python-dateutil in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (2.5.3)\nRequirement already satisfied: ephem in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (3.7.6.0)\nRequirement already satisfied: SQLAlchemy in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (1.0.15)\nCollecting pyserial (from satnogsclient==0.9)\n Using cached https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl\nRequirement already satisfied: numpy in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (1.12.1)\nRequirement already satisfied: requests in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (2.12.4)\nCollecting flask (from satnogsclient==0.9)\n Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl\nCollecting validators (from satnogsclient==0.9)\n Using cached https://files.pythonhosted.org/packages/70/c3/8f1f923c4ea9c620d0501073d6e2c829db09b717c8b1f3036d6455af3832/validators-0.12.4.tar.gz\nCollecting futures (from APScheduler->satnogsclient==0.9)\n Using cached https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl\nCollecting funcsigs (from APScheduler->satnogsclient==0.9)\n Using cached https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl\nCollecting python-socketio>=2.1.0 (from flask-socketio->satnogsclient==0.9)\n Using cached https://files.pythonhosted.org/packages/b5/db/dc823aa0b3397e52ebe8bba62ee39d6b9a088377809bc230d3ad2e5d2448/python_socketio-3.1.2-py2.py3-none-any.whl\nCollecting cryptography>=2.3 (from pyopenssl->satnogsclient==0.9)\n Using cached https://files.pythonhosted.org/packages/69/ed/5e97b7f54237a9e4e6291b6e52173372b7fa45ca730d36ea90b790c0059a/cryptography-2.5.tar.gz\n Installing build dependencies: started\n Installing build dependencies: finished with status 'done'\n Getting requirements to build wheel: started\n Getting requirements to build wheel: finished with status 'done'\n Preparing wheel metadata: started\n Preparing wheel metadata: finished with status 'error'\n Complete output from command /var/lib/satnogs/bin/python2 /var/lib/satnogs/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpobwZtn:\n Traceback (most recent call last):\n File \"/var/lib/satnogs/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py\", line 207, in <module>\n main()\n File \"/var/lib/satnogs/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py\", line 197, in main\n json_out['return_val'] = hook(**hook_input['kwargs'])\n File \"/var/lib/satnogs/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py\", line 69, in prepare_metadata_for_build_wheel\n return hook(metadata_directory, config_settings)\n File \"/var/lib/satnogs/local/lib/python2.7/site-packages/setuptools/build_meta.py\", line 140, in prepare_metadata_for_build_wheel\n self.run_setup()\n File \"/var/lib/satnogs/local/lib/python2.7/site-packages/setuptools/build_meta.py\", line 211, in run_setup\n self).run_setup(setup_script=setup_script)\n File \"/var/lib/satnogs/local/lib/python2.7/site-packages/setuptools/build_meta.py\", line 126, in run_setup\n exec(compile(code, __file__, 'exec'), locals())\n File \"setup.py\", line 324, in <module>\n **keywords_with_side_effects(sys.argv)\n File \"/var/lib/satnogs/local/lib/python2.7/site-packages/setuptools/__init__.py\", line 145, in setup\n return distutils.core.setup(**attrs)\n File \"/usr/lib/python2.7/distutils/core.py\", line 111, in setup\n _setup_distribution = dist = klass(attrs)\n File \"/var/lib/satnogs/local/lib/python2.7/site-packages/setuptools/dist.py\", line 447, in __init__\n k: v for k, v in attrs.items()\n File \"/usr/lib/python2.7/distutils/dist.py\", line 287, in __init__\n self.finalize_options()\n File \"/var/lib/satnogs/local/lib/python2.7/site-packages/setuptools/dist.py\", line 739, in finalize_options\n ep.load()(self, ep.name, value)\n File \"/tmp/pip-build-env-LjXaKv/overlay/lib/python2.7/site-packages/cffi/setuptools_ext.py\", line 217, in cffi_modules\n add_cffi_module(dist, cffi_module)\n File \"/tmp/pip-build-env-LjXaKv/overlay/lib/python2.7/site-packages/cffi/setuptools_ext.py\", line 49, in add_cffi_module\n execfile(build_file_name, mod_vars)\n File \"/tmp/pip-build-env-LjXaKv/overlay/lib/python2.7/site-packages/cffi/setuptools_ext.py\", line 25, in execfile\n exec(code, glob, glob)\n File \"src/_cffi_src/build_openssl.py\", line 106, in <module>\n extra_link_args=extra_link_args(compiler_type()),\n File \"src/_cffi_src/utils.py\", line 49, in build_ffi_for_binding\n extra_link_args=extra_link_args,\n File \"src/_cffi_src/utils.py\", line 57, in build_ffi\n ffi = FFI()\n File \"/tmp/pip-build-env-LjXaKv/overlay/lib/python2.7/site-packages/cffi/api.py\", line 56, in __init__\n backend.__version__, backend.__file__))\n Exception: Version mismatch: this is the 'cffi' package version 1.12.1, located in '/tmp/pip-build-env-LjXaKv/overlay/lib/python2.7/site-packages/cffi/api.pyc'. When we import the top-level '_cffi_backend' extension module, we get version 1.9.1, located in '/usr/lib/python2.7/dist-packages/_cffi_backend.arm-linux-gnueabihf.so'. The two versions should be equal; check your installation.\n \n ----------------------------------------\n\n:stderr: 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.\nCommand \"/var/lib/satnogs/bin/python2 /var/lib/satnogs/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpobwZtn\" failed with error code 1 in /tmp/pip-install-EByJDB/cryptography\n"
}
stdout: Collecting satnogsclient==0.9
Using cached https://files.pythonhosted.org/packages/8c/2e/8e7d56196dbc7ffc0d15c657192f25205707c34d58947d575bab6e9c6329/satnogsclient-0.9-py2-none-any.whl
Requirement already satisfied: pytz in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (2016.7)
Requirement already satisfied: APScheduler in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (3.3.1)
Requirement already satisfied: matplotlib in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (2.0.0)
Collecting flask-socketio (from satnogsclient==0.9)
Using cached https://files.pythonhosted.org/packages/94/85/32082ff683bbd0358f3e4b124e6405e4157f039fbd205be69c72c70e8c2e/Flask_SocketIO-3.3.1-py2.py3-none-any.whl
Collecting redis (from satnogsclient==0.9)
Using cached https://files.pythonhosted.org/packages/d0/8b/c43ef27d02382853b22c49bc41a8389e47d60811dd1d72b9a45bc905a5f8/redis-3.2.0-py2.py3-none-any.whl
Collecting pyopenssl (from satnogsclient==0.9)
Using cached https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl
Requirement already satisfied: python-dateutil in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (2.5.3)
Requirement already satisfied: ephem in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (3.7.6.0)
Requirement already satisfied: SQLAlchemy in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (1.0.15)
Collecting pyserial (from satnogsclient==0.9)
Using cached https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl
Requirement already satisfied: numpy in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (1.12.1)
Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages (from satnogsclient==0.9) (2.12.4)
Collecting flask (from satnogsclient==0.9)
Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl
Collecting validators (from satnogsclient==0.9)
Using cached https://files.pythonhosted.org/packages/70/c3/8f1f923c4ea9c620d0501073d6e2c829db09b717c8b1f3036d6455af3832/validators-0.12.4.tar.gz
Collecting futures (from APScheduler->satnogsclient==0.9)
Using cached https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
Collecting funcsigs (from APScheduler->satnogsclient==0.9)
Using cached https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl
Collecting python-socketio>=2.1.0 (from flask-socketio->satnogsclient==0.9)
Using cached https://files.pythonhosted.org/packages/b5/db/dc823aa0b3397e52ebe8bba62ee39d6b9a088377809bc230d3ad2e5d2448/python_socketio-3.1.2-py2.py3-none-any.whl
Collecting cryptography>=2.3 (from pyopenssl->satnogsclient==0.9)
Using cached https://files.pythonhosted.org/packages/69/ed/5e97b7f54237a9e4e6291b6e52173372b7fa45ca730d36ea90b790c0059a/cryptography-2.5.tar.gz
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'error'
Complete output from command /var/lib/satnogs/bin/python2 /var/lib/satnogs/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpobwZtn:
Traceback (most recent call last):
File "/var/lib/satnogs/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
main()
File "/var/lib/satnogs/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/var/lib/satnogs/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 69, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/var/lib/satnogs/local/lib/python2.7/site-packages/setuptools/build_meta.py", line 140, in prepare_metadata_for_build_wheel
self.run_setup()
File "/var/lib/satnogs/local/lib/python2.7/site-packages/setuptools/build_meta.py", line 211, in run_setup
self).run_setup(setup_script=setup_script)
File "/var/lib/satnogs/local/lib/python2.7/site-packages/setuptools/build_meta.py", line 126, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 324, in <module>
**keywords_with_side_effects(sys.argv)
File "/var/lib/satnogs/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 111, in setup
_setup_distribution = dist = klass(attrs)
File "/var/lib/satnogs/local/lib/python2.7/site-packages/setuptools/dist.py", line 447, in __init__
k: v for k, v in attrs.items()
File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
self.finalize_options()
File "/var/lib/satnogs/local/lib/python2.7/site-packages/setuptools/dist.py", line 739, in finalize_options
ep.load()(self, ep.name, value)
File "/tmp/pip-build-env-LjXaKv/overlay/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 217, in cffi_modules
add_cffi_module(dist, cffi_module)
File "/tmp/pip-build-env-LjXaKv/overlay/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
execfile(build_file_name, mod_vars)
File "/tmp/pip-build-env-LjXaKv/overlay/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 25, in execfile
exec(code, glob, glob)
File "src/_cffi_src/build_openssl.py", line 106, in <module>
extra_link_args=extra_link_args(compiler_type()),
File "src/_cffi_src/utils.py", line 49, in build_ffi_for_binding
extra_link_args=extra_link_args,
File "src/_cffi_src/utils.py", line 57, in build_ffi
ffi = FFI()
File "/tmp/pip-build-env-LjXaKv/overlay/lib/python2.7/site-packages/cffi/api.py", line 56, in __init__
backend.__version__, backend.__file__))
Exception: Version mismatch: this is the 'cffi' package version 1.12.1, located in '/tmp/pip-build-env-LjXaKv/overlay/lib/python2.7/site-packages/cffi/api.pyc'. When we import the top-level '_cffi_backend' extension module, we get version 1.9.1, located in '/usr/lib/python2.7/dist-packages/_cffi_backend.arm-linux-gnueabihf.so'. The two versions should be equal; check your installation.
----------------------------------------
:stderr: 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.
Command "/var/lib/satnogs/bin/python2 /var/lib/satnogs/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpobwZtn" failed with error code 1 in /tmp/pip-install-EByJDB/cryptography
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment