I'm just getting started with Raspbian on my Pi model B+ and have had great success on a home theater automation project thus far. Now I'm moving deeper into the software layer to enable an AJAX capable front end.
I'm looking at working with Flask, which is installed via pip. When I install pip using:
I'm surprised to find that it will install python 2.6, even though Raspbian already includes Python 2.7.3. To be complete, I'm looking to work with virtualenv and flask together, and both install Python 2.6 even when 2.7.3 is installed.
Code: Select all
pi@htpi ~ $ python --version Python 2.7.3 pi@htpi ~ $ sudo apt-get install python-pip <...> The following NEW packages will be installed: python-pip python-pkg-resources python-setuptools python2.6 python2.6-minimal <...>
Can anyone tell me how to install virtualenv and python-pip and not let apt-get install python 2.6 at the same time?
If I should post this to another forum, I'll be glad to, but since package installation is more of a SysAdmin task, and per the Forum instructions, I'm starting here.
Many thanks and best regards,