<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; python</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/python/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Sun, 10 May 2026 14:53:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Python3.9离线安装requests包</title>
		<link>https://www.osyunwei.com/archives/16707.html</link>
		<comments>https://www.osyunwei.com/archives/16707.html#comments</comments>
		<pubDate>Fri, 29 Aug 2025 09:52:47 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16707</guid>
		<description><![CDATA[简单说明： 服务器上已经安装好了Python3.9 Python官方网站：https://www.python.org/ftp/python/ 需求：给Python3.9离线安装requests扩展 具体操作： 1、下载扩展包 PyPI 是 Python 第三方库的官方仓库，Python扩展包下载地址： https://pypi.org/ https://pypi.tuna.tsinghua.edu.cn/simple/ #国内镜像源 安装requests扩展包，还需要其他几个依赖包 idna certifi charset_normalizer urllib3 requests 依赖包和python的版本要兼容，我们是Python3.9 要用以下版本 idna-3.7-py3-none-any.whl certifi-2025.1.31-py3-none-any.whl charset_normalizer-3.4.0-py3-none-any.whl urllib3-2.2.2-py3-none-any.whl requests-2.32.3-py3-none-any.whl 依次下载这几个依赖包 打开https://pypi.org/ 搜索：idna 点击：idna-Release history选择版本 找到：3.7-Download files 下载idna-3.7-py3-none-any.whl 按照这个步骤把其他的依赖包也下载好。 注意： .whl 和 .tar.gz 是 Python 包的两种主要发布格式，建议使用.whl格式的包 .whl是已经编译好的包，安装速度很快 .whl 是一种包分发格式，它从 Python 2.7 和 3.3+ 开始被支持 python 2.7, 3.3 ~ 3.12 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16707.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16707.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下编译安装Python3</title>
		<link>https://www.osyunwei.com/archives/14064.html</link>
		<comments>https://www.osyunwei.com/archives/14064.html#comments</comments>
		<pubDate>Tue, 14 Nov 2023 14:26:01 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=14064</guid>
		<description><![CDATA[操作系统：CentOS-7.x 1、创建目录 mkdir -p /data/server/soft #软件包存放目录 2、下载Python3 https://www.python.org/ftp/python/ https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tgz 3、下载OpenSSL（Python3需要高版本openssl支持） 下载地址：https://www.openssl.org/source/openssl-1.1.1w.tar.gz #上传安装包到软件包存放目录/data/server/soft 4、安装必要的依赖 yum groupinstall "Development tools" yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel expat-devel gcc gfortran python3-devel yum install libffi-devel zlib1g-dev zlib* perl yum install centos-release-scl yum install devtoolset-8-toolchain scl enable devtoolset-8 bash vi ~/.bashrc # Enable devtoolset-8 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/14064.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/14064.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
