在Windows XP上更改默认的Python解释器 [英] Change default Python interpreter on Windows XP

查看:144
本文介绍了在Windows XP上更改默认的Python解释器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个Python版本:Python 2.5和Python 2.7.设置django时,我想使用Python 2.7,但是django正在以某种方式使用Python 2.5.

I have two python versions: Python 2.5 and Python 2.7. When I'm setting up django, I want to use Python 2.7, but django is using Python 2.5 somehow.

如何确保django使用Python 2.7?我正在使用Windows XP

How can I make sure that django use Python 2.7? I'm using Windows XP

推荐答案

更改PATH系统环境变量以指向要使用的Python版本.

Change your PATH system environment variable to point to the version of Python you want to use.

这篇关于在Windows XP上更改默认的Python解释器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆