我错误地卸载了pip,我的问题是如何安装它?我正在使用Windows。 C:> Python-2.7 \ python.exe -m pip uninstall pip openpyxl
我想卸载openpyxl,但我忘了删除pip
答案 0 :(得分:3)
Installing pip is a simple 2-step operation.
first, you have to get the latest version of pip installer file.
second, You have to run a SELECT duns,
confidencecode,
deliveryaddressseq,
customercode,
[rank]
FROM (SELECT *,
RANK() OVER (PARTITION BY duns
ORDER BY confidencecode DESC,
deliveryaddressseq,
customercode) AS [rank]
FROM t_duns) tt
WHERE [rank] = 1
on the file you have downloaded.
the file you download in the first step is named duns confidencecode deliveryaddressseq customercode rank
1001 10 1 501 1
1002 10 0 504 1
1003 10 0 507 1
and, when ran using python is going to download and install pip on your os.
and you can always read the documentations.