日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

python pip在哪里_Python 2.7.9(Linux)中的pip在哪里

發布時間:2023/12/19 linux 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 python pip在哪里_Python 2.7.9(Linux)中的pip在哪里 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

我意識到這個問題可能真的很愚蠢,但我不能為我的生活找出安裝python 2.7.9時我能找到pip的地方.我知道pip捆綁在這個版本及以上版本中,但我仍然無法找到它.我沒有常規的寫權限,也沒有包管理器所以我通過從他們的網站下載linux二進制文件來安裝Python 2.7.9,然后

./configure --prefix=/home/me/software/python-2.7.9/myinstall/

然后

make; make install

一切似乎都正常工作,我可以在安裝這種方式后運行python,但是pip無處可尋.任何幫助,將不勝感激.

更新

運行python get-pip.py會產生以下錯誤消息:

ERROR:root:code for hash md5 was not found.

Traceback (most recent call last):

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 147, in

globals()[__func_name] = __get_hash(__func_name)

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type md5

ERROR:root:code for hash sha1 was not found.

Traceback (most recent call last):

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 147, in

globals()[__func_name] = __get_hash(__func_name)

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type sha1

ERROR:root:code for hash sha224 was not found.

Traceback (most recent call last):

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 147, in

globals()[__func_name] = __get_hash(__func_name)

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type sha224

ERROR:root:code for hash sha256 was not found.

Traceback (most recent call last):

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 147, in

globals()[__func_name] = __get_hash(__func_name)

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type sha256

ERROR:root:code for hash sha384 was not found.

Traceback (most recent call last):

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 147, in

globals()[__func_name] = __get_hash(__func_name)

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type sha384

ERROR:root:code for hash sha512 was not found.

Traceback (most recent call last):

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 147, in

globals()[__func_name] = __get_hash(__func_name)

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type sha512

Traceback (most recent call last):

File "get-pip.py", line 20204, in

main()

File "get-pip.py", line 152, in main

bootstrap(tmpdir=tmpdir)

File "get-pip.py", line 82, in bootstrap

import pip

File "/tmp/tmpGmhhtn/pip.zip/pip/__init__.py", line 15, in

File "/tmp/tmpGmhhtn/pip.zip/pip/vcs/mercurial.py", line 11, in

File "/tmp/tmpGmhhtn/pip.zip/pip/download.py", line 30, in

File "/tmp/tmpGmhhtn/pip.zip/pip/_vendor/__init__.py", line 81, in load_module

ImportError: No module named 'pip._vendor.requests'

(對不起,長度).

更新2

運行python -m ensurepip -vvv -U我收到此錯誤:

ERROR:root:code for hash md5 was not found.

Traceback (most recent call last):

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 147, in

globals()[__func_name] = __get_hash(__func_name)

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type md5

ERROR:root:code for hash sha1 was not found.

Traceback (most recent call last):

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 147, in

globals()[__func_name] = __get_hash(__func_name)

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type sha1

ERROR:root:code for hash sha224 was not found.

Traceback (most recent call last):

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 147, in

globals()[__func_name] = __get_hash(__func_name)

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type sha224

ERROR:root:code for hash sha256 was not found.

Traceback (most recent call last):

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 147, in

globals()[__func_name] = __get_hash(__func_name)

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type sha256

ERROR:root:code for hash sha384 was not found.

Traceback (most recent call last):

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 147, in

globals()[__func_name] = __get_hash(__func_name)

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type sha384

ERROR:root:code for hash sha512 was not found.

Traceback (most recent call last):

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 147, in

globals()[__func_name] = __get_hash(__func_name)

File "/home/me/software/Python-2.7.9/_centos5/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type sha512

Ignoring ensurepip failure: pip 1.5.6 requires SSL/TLS

總結

以上是生活随笔為你收集整理的python pip在哪里_Python 2.7.9(Linux)中的pip在哪里的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。