Python 3.6 No module named pip

前端 未结 3 1817
耶瑟儿~
耶瑟儿~ 2020-12-09 07:26

I have just installed Python 3.6 on Fedora 25 (64 bits) by running dnf install python36 and I can\'t use any modules Python 3.5 can otherwise use just fine, for

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-09 08:18

    On Fedora 25 Python 3.6 comes as a minimalistic version without pip and without additional dnf installable modules.

    But you can manually install pip:

    wget https://bootstrap.pypa.io/get-pip.py
    sudo python3.6 get-pip.py
    

    After that you can use it as python3.6 -m pip or just pip3.6.

提交回复
热议问题