python - installing pip3 on ubuntu 12.04 docker image -


i trying install , install pip3 on docker image. initial configuration used

from ubuntu:12.04 maintainer candidate @ ctx <candidate@caltex.com.au> label "name"="troubleshooting test" user root env py_dir /home/dev

after refering posts(https://askubuntu.com/questions/412178/how-to-install-pip-for-python-3-in-ubuntu-12-04-lts) following below steps:

run apt-get update && apt-get install -y \     software-properties-common python-software-properties run add-apt-repository ppa:fkrull/deadsnakes run apt-get update && apt-get install -y \     python3 \     build-essential \      python3-setuptools \     python-dev   run easy_install3 pip 

the output abrupt , contains :

file "build/bdist.linux-x86_64/egg/pip/_vendor/progress/spinner.py", line 32     phases = [u'\u25f7', u'\u25f6', u'\u25f5', u'\u25f4']                    ^ syntaxerror: invalid syntax 

also when use pip3 has similar issue. have tried install command : apt-get install python3-pip

but doesn't works. please suggest solution.

your issue trying install latest version of pip on unsupported python version. available version are

versions: 0.2, 0.2.1, 0.3, 0.3.1, 0.4, 0.5, 0.5.1, 0.6, 0.6.1, 0.6.2, 0.6.3, 0.7, 0.7.1, 0.7.2, 0.8, 0.8.1, 0.8.2, 0.8.3, 1.0, 1.0.1, 1.0.2, 1.1, 1.2, 1.2.1, 1.3, 1.3.1, 1.4, 1.4.1, 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 6.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.0.6, 6.0.7, 6.0.8, 6.1.0, 6.1.1, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.1.0, 7.1.1, 7.1.2, 8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.1.0, 8.1.1, 8.1.2, 9.0.0, 9.0.1

solution use version works

run easy_install3 pip==7.1.2 

from 8.0.0 may see issue facing now


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -