RE: Amazon Echo skill for Kodi - jingai - 2017-08-27
(2017-08-27, 15:40)NoFixIT Wrote: fatal: Not a git repository (or any of the parent directories): .git
Ah, it seems you didn't use git to fetch the sources originally, hence why you didn't have git installed. I'm assuming you downloaded the ZIP archive from the Releases tab. If you did, you can just download the new ZIP from there and unpack it over the old source (retaining your venv directory) and do all of the other steps besides "git pull origin master".
RE: Amazon Echo skill for Kodi - NoFixIT - 2017-08-27
I thought I didn't remember installing Git, anyway I think I am going to reinstall it completely (using the new method) as I think I rebuilt my original venv file and the zappa update dev command is not working giving me Fatal error in launcher: Unable to create process using '"'.
Thanks
RE: Amazon Echo skill for Kodi - jingai - 2017-08-27
Not sure. Did you activate the venv first?
RE: Amazon Echo skill for Kodi - steve55792 - 2017-08-28
Is there information about using Hulu with Alexa, hope so cause I finally got this working with Kodi and of course with the help of Paul Hibbett, he has been so patient with me on this.
Getting Alexa to Pause - thehatboxghost - 2017-08-30
Hey everyone, I have got everything up and running, but I can't get the STOP command to work. It simply returns a 500 error. I've tried all three utternaces for STOP and nothing works. Other simple ones like PAUSE not workin either. However everything else seems fine. I can start a movie or music, return to the menu, but simply cant stop or pause anything. Any ideas?
RE: Amazon Echo skill for Kodi - jingai - 2017-08-30
@thehatboxghost, Post the skill log for the request and I'll sort it out for you.
RE: Amazon Echo skill for Kodi - simon_rb - 2017-08-30
Hi all,
Struggling at the moment and not sure where to turn. I have the kodi skill setup however I think the server side on my pi is having issues. I get this when running install - requirements.txt
Many Many thanks
Code: (venv) pi@raspberrypi:~/kodi-alexa$ pip install -r requirements.txt
Requirement already satisfied: gunicorn in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: pytz in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Collecting flask-ask>=0.8.9 (from -r requirements.txt (line 3))
Using cached Flask_Ask-0.9.7-py2.py3-none-any.whl
Collecting kodi-voice>=0.9.8 (from -r requirements.txt (line 4))
Requirement already satisfied: aniso8601==1.2.0 in ./venv/lib/python2.7/site-packages (from flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: Flask==0.12.1 in ./venv/lib/python2.7/site-packages (from flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: six==1.10.0 in ./venv/lib/python2.7/site-packages (from flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: PyYAML==3.12 in ./venv/lib/python2.7/site-packages (from flask-ask>=0.8.9->-r requirements.txt (line 3))
Collecting pyOpenSSL==17.0.0 (from flask-ask>=0.8.9->-r requirements.txt (line 3))
Using cached pyOpenSSL-17.0.0-py2.py3-none-any.whl
Collecting ConfigParser (from kodi-voice>=0.9.8->-r requirements.txt (line 4))
Collecting num2words (from kodi-voice>=0.9.8->-r requirements.txt (line 4))
Using cached num2words-0.5.5-py2.py3-none-any.whl
Collecting roman (from kodi-voice>=0.9.8->-r requirements.txt (line 4))
Collecting fuzzywuzzy (from kodi-voice>=0.9.8->-r requirements.txt (line 4))
Using cached fuzzywuzzy-0.15.1-py2.py3-none-any.whl
Collecting requests (from kodi-voice>=0.9.8->-r requirements.txt (line 4))
Using cached requests-2.18.4-py2.py3-none-any.whl
Requirement already satisfied: python-dateutil in ./venv/lib/python2.7/site-packages (from aniso8601==1.2.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: Jinja2>=2.4 in ./venv/lib/python2.7/site-packages (from Flask==0.12.1->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: Werkzeug>=0.7 in ./venv/lib/python2.7/site-packages (from Flask==0.12.1->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: click>=2.0 in ./venv/lib/python2.7/site-packages (from Flask==0.12.1->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: itsdangerous>=0.21 in ./venv/lib/python2.7/site-packages (from Flask==0.12.1->flask-ask>=0.8.9->-r requirements.txt (line 3))
Collecting cryptography>=1.7 (from pyOpenSSL==17.0.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Using cached cryptography-2.0.3.tar.gz
Collecting certifi>=2017.4.17 (from requests->kodi-voice>=0.9.8->-r requirements.txt (line 4))
Using cached certifi-2017.7.27.1-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests->kodi-voice>=0.9.8->-r requirements.txt (line 4))
Using cached chardet-3.0.4-py2.py3-none-any.whl
Requirement already satisfied: idna<2.7,>=2.5 in ./venv/lib/python2.7/site-packages (from requests->kodi-voice>=0.9.8->-r requirements.txt (line 4))
Collecting urllib3<1.23,>=1.21.1 (from requests->kodi-voice>=0.9.8->-r requirements.txt (line 4))
Using cached urllib3-1.22-py2.py3-none-any.whl
Requirement already satisfied: MarkupSafe>=0.23 in ./venv/lib/python2.7/site-packages (from Jinja2>=2.4->Flask==0.12.1->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: asn1crypto>=0.21.0 in ./venv/lib/python2.7/site-packages (from cryptography>=1.7->pyOpenSSL==17.0.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: enum34 in ./venv/lib/python2.7/site-packages (from cryptography>=1.7->pyOpenSSL==17.0.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: ipaddress in ./venv/lib/python2.7/site-packages (from cryptography>=1.7->pyOpenSSL==17.0.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Collecting cffi>=1.7 (from cryptography>=1.7->pyOpenSSL==17.0.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Using cached cffi-1.10.0.tar.gz
Requirement already satisfied: pycparser in ./venv/lib/python2.7/site-packages (from cffi>=1.7->cryptography>=1.7->pyOpenSSL==17.0.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Building wheels for collected packages: cryptography, cffi
Running setup.py bdist_wheel for cryptography ... error
Complete output from command /home/pi/kodi-alexa/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-a1wct1/cryptography/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/tmpldEqSbpip-wheel- --python-tag cp27:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
#include <ffi.h>
^
compilation terminated.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-a1wct1/cryptography/setup.py", line 312, in <module>
**keywords_with_side_effects(sys.argv)
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 325, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 446, in fetch_build_eggs
replace_conflicting=True,
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 855, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1127, in best_match
return self.obtain(req, installer)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1139, in obtain
return installer(requirement)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 518, in fetch_build_egg
return cmd.easy_install(req)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 672, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 698, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 879, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1118, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1106, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for cryptography
Running setup.py clean for cryptography
Complete output from command /home/pi/kodi-alexa/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-a1wct1/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
#include <ffi.h>
^
compilation terminated.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-a1wct1/cryptography/setup.py", line 312, in <module>
**keywords_with_side_effects(sys.argv)
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 325, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 446, in fetch_build_eggs
replace_conflicting=True,
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 855, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1127, in best_match
return self.obtain(req, installer)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1139, in obtain
return installer(requirement)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 518, in fetch_build_egg
return cmd.easy_install(req)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 672, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 698, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 879, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1118, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/pi/kodi-alexa/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1106, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Failed cleaning build dir for cryptography
Running setup.py bdist_wheel for cffi ... error
Complete output from command /home/pi/kodi-alexa/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-a1wct1/cffi/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/tmpyqnxHPpip-wheel- --python-tag cp27:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/cffi
copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/c
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
#include <ffi.h>
^
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for cffi
Running setup.py clean for cffi
Failed to build cryptography cffi
Installing collected packages: cffi, cryptography, pyOpenSSL, flask-ask, ConfigParser, num2words, roman, fuzzywuzzy, certifi, chardet, urllib3, requests, kodi-voice
Running setup.py install for cffi ... error
Complete output from command /home/pi/kodi-alexa/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-a1wct1/cffi/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-qADxjJ-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/kodi-alexa/venv/include/site/python2.7/cffi:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/cffi
copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/c
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
#include <ffi.h>
^
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Command "/home/pi/kodi-alexa/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-a1wct1/cffi/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-qADxjJ-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/kodi-alexa/venv/include/site/python2.7/cffi" failed with error code 1 in /tmp/pip-build-a1wct1/cffi/
(venv) pi@raspberrypi:~/kodi-alexa$
RE: Amazon Echo skill for Kodi - jingai - 2017-08-30
@simon_rb, first, you don't really need to do that part on your rPi unless you're planning on hosting it there too. If you're hosting on AWS, you can do these steps on a desktop/laptop instead if it's easier.
But to answer your question, it looks like you need the libffi-dev package. If it's a Debian-based distribution, this should do the trick:
Code: apt-get install libffi-dev
RE: Amazon Echo skill for Kodi - simon_rb - 2017-08-30
(2017-08-30, 18:27)jingai Wrote: @simon_rb, first, you don't really need to do that part on your rPi unless you're planning on hosting it there too. If you're hosting on AWS, you can do these steps on a desktop/laptop instead if it's easier.
But to answer your question, it looks like you need the libffi-dev package. If it's a Debian-based distribution, this should do the trick:
Code: apt-get install libffi-dev
Oh, my bad! I don't fully understand whats doing what here. Its really clever sh*t.
So I don't need to do this bit on my pi? I can use my laptop? its a one off thing?
Thank for the prompt reply!
Did as you said and similar error:-
Code: (venv) pi@raspberrypi:~/kodi-alexa$ sudo apt-get install libffi-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
autotools-dev libltdl-dev libsigsegv2 libssl-doc m4
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
libffi-dev
0 upgraded, 1 newly installed, 0 to remove and 164 not upgraded.
Need to get 153 kB of archives.
After this operation, 284 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libffi-dev armhf 3.1-2+deb8u1 [153 kB]
Fetched 153 kB in 0s (1,341 kB/s)
Selecting previously unselected package libffi-dev:armhf.
(Reading database ... 56857 files and directories currently installed.)
Preparing to unpack .../libffi-dev_3.1-2+deb8u1_armhf.deb ...
Unpacking libffi-dev:armhf (3.1-2+deb8u1) ...
Processing triggers for install-info (5.2.0.dfsg.1-6) ...
Processing triggers for man-db (2.7.5-1~bpo8+1) ...
Setting up libffi-dev:armhf (3.1-2+deb8u1) ...
(venv) pi@raspberrypi:~/kodi-alexa$ pip install -r requirements.txt
Requirement already satisfied: gunicorn in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: pytz in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Collecting flask-ask>=0.8.9 (from -r requirements.txt (line 3))
Using cached Flask_Ask-0.9.7-py2.py3-none-any.whl
Collecting kodi-voice>=0.9.8 (from -r requirements.txt (line 4))
Requirement already satisfied: aniso8601==1.2.0 in ./venv/lib/python2.7/site-packages (from flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: Flask==0.12.1 in ./venv/lib/python2.7/site-packages (from flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: six==1.10.0 in ./venv/lib/python2.7/site-packages (from flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: PyYAML==3.12 in ./venv/lib/python2.7/site-packages (from flask-ask>=0.8.9->-r requirements.txt (line 3))
Collecting pyOpenSSL==17.0.0 (from flask-ask>=0.8.9->-r requirements.txt (line 3))
Using cached pyOpenSSL-17.0.0-py2.py3-none-any.whl
Collecting ConfigParser (from kodi-voice>=0.9.8->-r requirements.txt (line 4))
Collecting num2words (from kodi-voice>=0.9.8->-r requirements.txt (line 4))
Using cached num2words-0.5.5-py2.py3-none-any.whl
Collecting roman (from kodi-voice>=0.9.8->-r requirements.txt (line 4))
Collecting fuzzywuzzy (from kodi-voice>=0.9.8->-r requirements.txt (line 4))
Using cached fuzzywuzzy-0.15.1-py2.py3-none-any.whl
Collecting requests (from kodi-voice>=0.9.8->-r requirements.txt (line 4))
Using cached requests-2.18.4-py2.py3-none-any.whl
Requirement already satisfied: python-dateutil in ./venv/lib/python2.7/site-packages (from aniso8601==1.2.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: Jinja2>=2.4 in ./venv/lib/python2.7/site-packages (from Flask==0.12.1->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: Werkzeug>=0.7 in ./venv/lib/python2.7/site-packages (from Flask==0.12.1->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: click>=2.0 in ./venv/lib/python2.7/site-packages (from Flask==0.12.1->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: itsdangerous>=0.21 in ./venv/lib/python2.7/site-packages (from Flask==0.12.1->flask-ask>=0.8.9->-r requirements.txt (line 3))
Collecting cryptography>=1.7 (from pyOpenSSL==17.0.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Using cached cryptography-2.0.3.tar.gz
Collecting certifi>=2017.4.17 (from requests->kodi-voice>=0.9.8->-r requirements.txt (line 4))
Using cached certifi-2017.7.27.1-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests->kodi-voice>=0.9.8->-r requirements.txt (line 4))
Using cached chardet-3.0.4-py2.py3-none-any.whl
Requirement already satisfied: idna<2.7,>=2.5 in ./venv/lib/python2.7/site-packages (from requests->kodi-voice>=0.9.8->-r requirements.txt (line 4))
Collecting urllib3<1.23,>=1.21.1 (from requests->kodi-voice>=0.9.8->-r requirements.txt (line 4))
Using cached urllib3-1.22-py2.py3-none-any.whl
Requirement already satisfied: MarkupSafe>=0.23 in ./venv/lib/python2.7/site-packages (from Jinja2>=2.4->Flask==0.12.1->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: asn1crypto>=0.21.0 in ./venv/lib/python2.7/site-packages (from cryptography>=1.7->pyOpenSSL==17.0.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: enum34 in ./venv/lib/python2.7/site-packages (from cryptography>=1.7->pyOpenSSL==17.0.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Requirement already satisfied: ipaddress in ./venv/lib/python2.7/site-packages (from cryptography>=1.7->pyOpenSSL==17.0.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Collecting cffi>=1.7 (from cryptography>=1.7->pyOpenSSL==17.0.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Using cached cffi-1.10.0.tar.gz
Requirement already satisfied: pycparser in ./venv/lib/python2.7/site-packages (from cffi>=1.7->cryptography>=1.7->pyOpenSSL==17.0.0->flask-ask>=0.8.9->-r requirements.txt (line 3))
Building wheels for collected packages: cryptography, cffi
Running setup.py bdist_wheel for cryptography ... error
Complete output from command /home/pi/kodi-alexa/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_r6qpX/cryptography/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/tmpDbWGCgpip-wheel- --python-tag cp27:
Installed /tmp/pip-build-_r6qpX/cryptography/.eggs/cffi-1.10.0-py2.7-linux-armv7l.egg
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-armv7l-2.7/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-2.7/cryptography
copying src/cryptography/utils.py -> build/lib.linux-armv7l-2.7/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-armv7l-2.7/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-armv7l-2.7/cryptography
creating build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/x509
creating build/lib.linux-armv7l-2.7/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/interfaces.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/mac.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/openssl
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/ciphers
running egg_info
writing requirements to src/cryptography.egg-info/requires.txt
writing src/cryptography.egg-info/PKG-INFO
writing top-level names to src/cryptography.egg-info/top_level.txt
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*' found under directory 'vectors'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
running build_ext
generating cffi module 'build/temp.linux-armv7l-2.7/_padding.c'
creating build/temp.linux-armv7l-2.7
generating cffi module 'build/temp.linux-armv7l-2.7/_constant_time.c'
generating cffi module 'build/temp.linux-armv7l-2.7/_openssl.c'
building '_openssl' extension
creating build/temp.linux-armv7l-2.7/build
creating build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-armv7l-2.7/_openssl.c -o build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_openssl.o -Wconversion -Wno-error=sign-conversion
build/temp.linux-armv7l-2.7/_openssl.c:434:30: fatal error: openssl/opensslv.h: No such file or directory
#include <openssl/opensslv.h>
^
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for cryptography
Running setup.py clean for cryptography
Running setup.py bdist_wheel for cffi ... done
Stored in directory: /home/pi/.cache/pip/wheels/7c/c4/64/889d3d2de89188ed0fcb0b313106338f06127874911eeb4c96
Successfully built cffi
Failed to build cryptography
Installing collected packages: cffi, cryptography, pyOpenSSL, flask-ask, ConfigParser, num2words, roman, fuzzywuzzy, certifi, chardet, urllib3, requests, kodi-voice
Running setup.py install for cryptography ... error
Complete output from command /home/pi/kodi-alexa/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_r6qpX/cryptography/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-pY7fj5-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/kodi-alexa/venv/include/site/python2.7/cryptography:
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-armv7l-2.7/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-2.7/cryptography
copying src/cryptography/utils.py -> build/lib.linux-armv7l-2.7/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-armv7l-2.7/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-armv7l-2.7/cryptography
creating build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-2.7/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/x509
creating build/lib.linux-armv7l-2.7/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/interfaces.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/mac.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/backends/openssl
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/openssl
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/kdf
creating build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-2.7/cryptography/hazmat/primitives/ciphers
running egg_info
writing requirements to src/cryptography.egg-info/requires.txt
writing src/cryptography.egg-info/PKG-INFO
writing top-level names to src/cryptography.egg-info/top_level.txt
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*' found under directory 'vectors'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
running build_ext
generating cffi module 'build/temp.linux-armv7l-2.7/_padding.c'
creating build/temp.linux-armv7l-2.7
generating cffi module 'build/temp.linux-armv7l-2.7/_constant_time.c'
generating cffi module 'build/temp.linux-armv7l-2.7/_openssl.c'
building '_openssl' extension
creating build/temp.linux-armv7l-2.7/build
creating build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-armv7l-2.7/_openssl.c -o build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_openssl.o -Wconversion -Wno-error=sign-conversion
build/temp.linux-armv7l-2.7/_openssl.c:434:30: fatal error: openssl/opensslv.h: No such file or directory
#include <openssl/opensslv.h>
^
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Command "/home/pi/kodi-alexa/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_r6qpX/cryptography/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-pY7fj5-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/kodi-alexa/venv/include/site/python2.7/cryptography" failed with error code 1 in /tmp/pip-build-_r6qpX/cryptography/
You have new mail in /var/mail/pi
(venv) pi@raspberrypi:~/kodi-alexa$
RE: Amazon Echo skill for Kodi - jingai - 2017-08-30
(2017-08-30, 18:32)simon_rb Wrote: Oh, my bad! I don't fully understand whats doing what here. Its really clever sh*t.
So I don't need to do this bit on my pi? I can use my laptop? its a one off thing?
Yup, you can use any machine onto which you can install python etc.
(2017-08-30, 18:32)simon_rb Wrote: Did as you said and similar error:-
You need libssl-dev now
RE: Amazon Echo skill for Kodi - simon_rb - 2017-08-30
jingai! Thanks a million. Its now updated I believe lol
When I ask Alexa the question.. (mine at the mo is kodi tv) to pause it says I don't know how to help with that? Where's the best log to see whats going wrong?
Thanks again for above
RE: Amazon Echo skill for Kodi - jingai - 2017-08-30
Pause/stop/resume/etc are working here. You're invoking the skill, right? As in "Alexa, ask Kodi TV to pause"?
If her response is "I'm sorry, I don't know how to help you with that," then there won't be a log to look at. You can check to see what she heard in Settings->History in the Alexa app though and see if maybe she just heard you wrong.
RE: Amazon Echo skill for Kodi - simon_rb - 2017-08-30
Could it be I am DevUS and I live in UK? I think I set most things up as US to keep it the same as guide. I have no history in my Alexa App strangely. Even when turning lights on and off which is using a smart home skill
RE: Amazon Echo skill for Kodi - jingai - 2017-08-30
(2017-08-30, 19:01)simon_rb Wrote: Could it be I am DevUS and I live in UK? I think I set most things up as US to keep it the same as guide.
Do any other commands work? Such as "Alexa, ask Kodi TV to play the movie foo" (replacing 'foo' with something you have, of course)? Or is she responding the same way to everything? If the latter, then yes, region/language can be a factor; IIRC, the skill needs to be in the same region as the region you chose for your Echo device.
(2017-08-30, 19:01)simon_rb Wrote: I have no history in my Alexa App strangely. Even when turning lights on and off which is using a smart home skill
Pretty sure it's available in all regions. It's under Settings and at the very bottom there.
RE: Amazon Echo skill for Kodi - simon_rb - 2017-08-30
Sorry I was looking at the wrong place for history and yes it is hearing me correctly.
Tried the movie thing and it said it couldn't find a device called kodi tv. Hmm my skill is there and it is called kodi tv. I have tried various names with same outcome. Hmmm I'm at a loss.
|