Upgrading python3.4 to python3.6 on ubuntu breaks pip

前端 未结 9 1007
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-08 06:56

I\'m attempting to install python3.6 on my machine after I currently have python3.4. However, after installation trying to run pip under python3.6 gives me the

9条回答
  •  孤街浪徒
    2020-12-08 07:28

    I finally got around this by running:

    curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
    python3.6 get-pip.py --force-reinstall
    

    After this I can install python3.6 specific packages with:

    python3.6 -m pip install 
    

提交回复
热议问题