windows系统下Python环境的搭建
来源:互联网 发布:迅雷资源助手mac版 编辑:程序博客网 时间:2024/04/30 00:08
1、首先访问http://www.python.org/download/去下载最新的python版本。选择适合的版本!
python 2.7 https://www.python.org/ftp/python/2.7.12/python-2.7.12.msi
python 3.5 https://www.python.org/ftp/python/3.5.2/python-3.5.2.exe
python 3.5 64位 https://www.python.org/ftp/python/3.5.2/python-3.5.2-amd64.exe
2、安装下载包,一路next,自定义设置可以选择添加用户变量跳过第3步。
3、为计算机添加安装目录搭到环境变量,把python的安装目录添加到path环境变量中即可。
::更改path环境变量值,新增C:\Python27; C:\Python27\Scripts
@echo off
echo 添加用户变量
if exist C:\Python27\python.exe SET MYPATH=;C:\Python27;C:\Python27\Scripts
if exist C:\Python35\python.exe SET MYPATH=;C:\Python35;C:\Python35\Scripts
setx PATH "%MYPATH%"
rem SET NEWPATH=%PATH%%MYPATH%
rem wmic ENVIRONMENT where "name='path' and username='<system>'" set VariableValue="%path%;C:\Python27" 需要打开环境变量窗口并确定
4、python自带编辑器打开方式C:\PythonXX\Lib\idlelib\idle.bat
0 0
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- windows系统下Python环境的搭建
- linux python3中移动光标就出现^[[D,^[[C,^[[B,^[[A等符号的解决办法
- iOS理论:基础概念篇
- rtmp协议官方规范
- jquery表单自定义验证插件
- 被说了很多遍的设计模式---简单工厂模式
- windows系统下Python环境的搭建
- 每周一书-《做自己-鬼脚七自媒体第一季》
- 【稀饭】react native 系列教程之已有项目接入React Native
- 【CodeForces 500B】【贪心】New Year Permutation
- Qt 之 解析wav文件的头信息(详细分析、对比不同wav文件的数据)
- OpenLayers 3 介绍
- shell编程心得
- STM32之中断函数介绍篇
- android studio 提取局部变量,全局变量,方法快捷键