windows系统下Python环境的搭建
来源:互联网 发布:英菲克网络机顶盒论坛 编辑:程序博客网 时间:2024/05/15 23:49
1、首先访问http://www.python.org/download/去下载最新的python版本。
2、安装下载包,一路next。
3、为计算机添加安装目录搭到环境变量,如图把python的安装目录添加到pth系统变量中即可。
4、测试python安装是否成功,cmd打开命令行输入 python 命令,如下图即成功了
5、Hello World! 按照很多资料上写的,输入 print 'Hello World!'
居然是不成功,说语法错误!这是一个坑了,很多资料是都是python 1.*/2.*的写法,现在我们装的是3.2版本,要采用这种写法 print ('Hello World!'),需要用括号把字符串包含
6、经过以上测试,python环境算是装好了。
阅读全文
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环境的搭建
- ARM内核和架构理解
- j2ee的web项目的定时器,不用受到拦截器的拦截,因为根本不是http url请求
- mysql延时复制
- 学习spark遇到的问题汇总(一)
- Tensorflow从入门到秃顶(2)
- windows系统下Python环境的搭建
- Android源码解析之ART运行时无缝替换Dalvik虚拟机的过程分析
- Hook IME,进行键盘记录或输入控制
- 关于多数据方法程序优化思路
- json和java对象之间的相互转换
- 【笔记】机器学习入门(二)
- X君和T君关于通用学习机的对话
- 检查是否配置ntp
- Spring中@Controller和@RestController之间的区别