How to install PIP on Python 3.6?

2019-01-16 04:26发布

I'm trying to Install PIP for python 3.6 and I've looked over YouTube for tutorials but all of them seem to be out of date and none of them have seemed to work. Any information would be helpful so I can carry on with my project.

标签: python pip
13条回答
老娘就宠你
2楼-- · 2019-01-16 04:49

pip is bundled with Python > 3.4

On Unix-like systems use:

python3.6 -m pip install [Package_to_install]

On a Windows system use:

py -m pip install [Package_to_install]
查看更多
聊天终结者
3楼-- · 2019-01-16 04:52

Download python 3.6

It is possible that pip does not get installed by default. One potential fix is to open cmd and type:

python -m ensurepip --default-pip

and then

python -m pip install matplotlib

actually i had nothing in my scripts folder idk why but these steps worked for me.

查看更多
在下西门庆
4楼-- · 2019-01-16 04:52

If pip doesn't come with your installation of python 3.6, this may work:

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

then you can python -m install

查看更多
ら.Afraid
5楼-- · 2019-01-16 04:53

pip is already installed with your version of python. In order to install a package with pip the command on Windows is:

py -m pip install <Your desired package>
查看更多
冷血范
6楼-- · 2019-01-16 04:53

For python3 it should be pip3

on ubuntu

sudo apt install python3-pip
查看更多
乱世女痞
7楼-- · 2019-01-16 04:57

pip is included in Python installation. If you can't call pip.exe try calling python -m pip [args] from cmd

查看更多
登录 后发表回答