Technology sharing

Linux CentOS Python offline pituitam institutionem usus .whl lima ut install offline

2024-07-06

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

1. Ratio version

cat /etc/redhat-release   #查看系统版本命令
输出:CentOS Linux release 7.9.2009 (Core)

2. in pituita Official website Download .whl file: pituitam 24.1.1-py3-non-any.whl

3. Installation

python -m pip install pip-24.1.1-py3-none-any.whl

3. Post institutionem, pituitam curre --version.

pip --version

4. Curre hoc mandatum ut pituitam Directory

find / -name pip

#在输出中找到类似目录:/usr/local/python3.8/bin/pip

5. Tunc creare mollis nexum

ln -s  /usr/local/python3.8/bin/pip /usr/bin/pip

6. Iterum videre versionem

pip --version
#输出:pip 24.1.1

7. Si nexus timeout vel retis problema in involucris institutionis involucrum est, domesticum fontem potes flectere, imaginem ad tempus commutare et sequentes informationes post nomen institutionis addere.

pip install xxxpackageName -i https://pypi.tuna.tsinghua.edu.cn/simple