如何在Windows XP上更改默认的Python版本 [英] how to Change default Python version on windows xp

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

问题描述

我有两个python版本,python 2.5和python 2.7,



这一次我想使用python 2.7当我设置django,



但是使用python 2.5的django设置,



所以我可以做什么,我使用windows xp,而不是linux,



谢谢

解决方案

将您的PATH系统环境变量更改为指向Python版本你要使用。


i have two python version, python 2.5 and python 2.7 ,

and this time i want to use python 2.7 when i setup django ,

but the django setup using python 2.5 ,

so What can i do , i use windows xp, not linux ,

thanks

解决方案

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

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

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