4zhvml8 发表于 2024-8-18 10:53:36

Python安装仔细图文教程


    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">开启<span style="color: black;">咱们</span>的Python之旅,欲善其事,必先利其器。</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">首要</span><span style="color: black;">咱们</span>要安装学习python的工具。</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">Python 安装<span style="color: black;">过程</span>详讲</span></strong><span style="color: black;">:</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">一.下载Python安装包</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">python官方链接:</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">https://www.python.org/</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/55d28c058e6a4ef799717a2173d0ef19~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=WDPHnDFaUx492KJqhObIxksc73Q%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/30029b42ae3d43d59b4f846d1a687a4c~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=VMYeWH6EOZuFxK1wrp45kcMogcI%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">web-based ,executable , embeddable zip file区别</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">web-based: </span></strong><span style="color: black;">透过网络安装的,<span style="color: black;">便是</span>执行安装后才透过网络下载python</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">executable:</span></strong><span style="color: black;"> 可執行文件的,既把要安装的python<span style="color: black;">所有</span>下载好在本机安装</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">embeddable zip file:</span></strong><span style="color: black;"> zip 压缩档,<span style="color: black;">便是</span>python打包成zip压缩包</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">以上三种仅是下载形式<span style="color: black;">区别</span>,软件内容是<span style="color: black;">同样</span>的。</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">这儿</span>,我选择:</span><strong style="color: blue;"><span style="color: black;">executable:(注:32位系统下载32-bit,64位系统下载64-bit)</span></strong></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/ea6e402f91944799afde12763291c81c~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=6ZfhEQ6X3GThmourEoesk9wmtp0%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">下载下来解压,<span style="color: black;">而后</span>鼠标双击打开安装程序</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/0a921d70dfa44069a0a05fd27a9b1847~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=anE%2FzhyVgTmYfmpT2OmicHW%2F5jU%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">点击“installtation”</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/ba769febf4b5435c83e4065846647004~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=dDnN0GtjBPReYE3jZ9BzggBP7kY%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">而后</span>点击“Next”</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/b42d7ac800c1429891f6bd64e32424af~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=dD4NzhDvLipRkyTYx6VRTs8qGgc%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">这儿</span>是<span style="color: black;">选取</span>安装在电脑上面的那个位置,点击“Browse”,<span style="color: black;">选取</span>安装目录,<span style="color: black;">选取</span>完,<span style="color: black;">而后</span>点击“install”进行安装。</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/5fd064dcf1d645c0b9c4973bfee1e105~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=YMfMiO%2BF5YvKG4c891fzYHjgSXw%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">进入这个界面。安装好了,<span style="color: black;">显现</span>这个界面:</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/5194bec1117e475192ef29d1c8e68951~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=fOsVj3pfaMR9H5tqG7OKHvxldK4%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">能够</span>验证一下,<span style="color: black;">是不是</span>安装好了,</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">点击<span style="color: black;">起始</span>,找到python安装好的有Python3.9的程序目录,</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/a8cdf268528048f997becbc619ec6408~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=MV%2FH8NW9zr4D13hWUJeOw1lb2VU%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/a73e6f6bfc804a958228e94da98347cf~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=c6YRPjqiRYuAKT%2FTH7Lrw99qZbo%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">而后</span>在里面输入“print(‘<span style="color: black;">大众</span>好’)”,输入好了按“enter”回车键执行程序;看程序的执行结果是不是“<span style="color: black;">大众</span>好”。是说明Python安装成功了。</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/a45c27803b224ad3880d9529c674a679~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=pL0IDaHEWdIeTW2smXZZdKjO7JQ%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">二.Python的环境变量搭建</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">打开<span style="color: black;">咱们</span>安装好的目录</span></strong></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/0399f0eb308a4197a42d0631c64df69a~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=MKKhkep1i36YqG6i%2FeX1kXDlyCg%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">把上面的路径<span style="color: black;">保留</span>一下。<span style="color: black;">而后</span>右键“我的电脑-&gt;属性-更改设置-&gt;高级-&gt;环境变量”。</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/de3fe8ad06804f829308d6db43199b63~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=thJRYB7YwdRaFIxALoYWKyozwHE%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">找到这个变量,鼠标双击此变量。</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/f8060b4c3584460ca7844c706fb47840~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=n99BZ2Rmwt%2BxgGCxLhSsisKhmFA%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/3a6d13192820485dbd144c4ccbb7078e~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=KWYe1DH9%2FODXvTHSd%2FD9qWdIm58%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/c931f7be5b6e467f9a316f1b5bb0bd42~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=m5vhq9SLYa1wJFR8emVY5shl8x4%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">而后</span>把前面复制的目录路径粘贴到这个里面。<span style="color: black;">而后</span>点击确定。</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">三.测试</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">键盘上,按下win+R,</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">输入cmd,</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/d550e566244c4756a7d401f8edc4a54b~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=%2B0L0SxfuJXxozbXKQ%2FbCOS77cNA%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">而后</span>输入“python”,按“enter”回车键。</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/0c79071c2d5a4653a64f31b9701274d2~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1723903743&amp;x-signature=hYGXQxe01k1YvWirkb%2BISZVOD2Q%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">显现</span>如图所示,<span style="color: black;">便是</span>环境变量配置好了。</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">安装有错误的<span style="color: black;">伴侣</span><span style="color: black;">能够</span>私聊<span style="color: black;">博主</span>。</p>




听听海 发表于 2024-8-29 12:45:27

“NB”(牛×的缩写,表示叹为观止)‌

星☆雨 发表于 2024-9-2 16:51:42

交流如星光璀璨,点亮思想夜空。

听听海 发表于 2024-9-8 02:39:01

论坛外链网http://www.fok120.com/

4zhvml8 发表于 2024-9-27 17:31:24

回顾历史,我们感慨万千;放眼未来,我们信心百倍。

4zhvml8 发表于 2024-9-30 19:13:21

这篇文章真的让我受益匪浅,外链发布感谢分享!

j8typz 发表于 2024-10-1 17:02:07

交流如星光璀璨,点亮思想夜空。

qzmjef 发表于 2024-10-4 21:34:31

论坛的成果是显著的,但我们不能因为成绩而沾沾自喜。

qzmjef 发表于 2024-10-12 23:21:45

你的话深深触动了我,仿佛说出了我心里的声音。

j8typz 发表于 2024-10-21 09:38:36

百度seo优化论坛 http://www.fok120.com/
页: [1] 2
查看完整版本: Python安装仔细图文教程