hi, hope someone can help.
I've been trying to find a solution to this, tried so many things my head is spinning.......
I have a RPI 2 running a load of python for a couple of years for a home automation system, I call this "Production", all was good. It had just python version 2.7.3.
I have a rpi3 I use as a "Development" machine. It has Python 2.7.9. (I know, not clever to have different hw/sw...we live and learn)
My latest enhancement is to add Alexa control, so on the dev machine I installed Flask-ask, wrote a load of new Python and it works great.
So I've installed all the code on the production machine and so need to install Flask-ask.
I started with a >> pip install flask-ask
This gives me lots of errors about ssl, permissions etc. So after a lot of reading I think this due to the prod machine using 2.7.3. I also get other errors...I tried all sorts of things with upgrading pip....no joy.
So, on the production machine, I downloaded python 2.7.9 like this:
wget https://www.python.org/ftp/python/2.7.9 ... -2.7.9.tgz
tar -xvf Python-2.7.9.tgz
sudo make install
so it's all installed....but when I type python, it still runs 2.7.3 and I assume the pip command is using 2.7.3 too? I've tried lots of searches and tried a few things, but no luck
I am really surprised how hard this seems to be, I thought I might just be able to do a quick upgrade of python, install flask-ask and be done, but many hours later I'm just confused and frustrated. my current plan is to ditch the pi2, move dev to production and buy a new rpi3 for dev...but this seems drastic, wasteful and will take a while.
if anyone can help, i'll be very grateful