How to install Pip on compiled from source Python -
i'm on raspberry pi running latest debian. comes 2.7.3 default bought run large flask home automation app written on 2.7.9 , want no problems later on ( know minor version perfectionist).
so downloaded latest python 2.7.10. , did
./configure && make && make altinstall so far good. has installed interpreter under /usr/local/bin expected. need to able run pip install -r requirements.txt, need pip. downloaded get-pip.py python website , tried
/usr/local/bin/python2.7 get-pip.py with no luck. have tried create virtualenv different compiled python interpreter
virtualenv -p /usr/local/python2.7 venv no luck either. able install easy_install on compiled python throws me error when try
/usr/local/bin/easy_install pip what doing wrong? have read --ensurepip flag configuring python @ first place, need remove python , install on again have pip on compiled interpreter?
i facing same issue. resolved appending parameter configure command --with-ensurepip=install followed make , make install. then, installation folder python has pip there in.
Comments
Post a Comment