Python安装和设置错误

时间:2016-01-22 06:32:57

标签: python

我遵循指示在Windows7中安装和设置Python 3.5的官方文档。但是,我无法启动我的python学习,并被NameError或SyntaxError阻止,它们看起来像: enter image description here

工作环境是Window7 64bit。这是我如何设置我的python路径: enter image description here

enter image description here

我的设置命令有什么问题吗?或者我使用的是不正确的版本?谢谢你的帮助。

1 个答案:

答案 0 :(得分:1)

您正在尝试从python shell运行python文件。

运行文件,如> python shell中的Python myscript.py或类型命令,如>>> print(“Hello World”)。

相关问题