python系统路径_【IT专家】为什么不添加Python呢?在安装时执行到我的系统路径?...

本文由我司收集整编,推荐下载,如有疑问,请与我司联系

为什么不添加

Python

呢?在安装时执行到我的系统路径?

为什么不添加

Python

?

在安装时执行到我的系统路径

?[

]Why

wouldn’t

I want

to add Python.exe to my System Path at install time?

I’m

reinstalling Python, on Windows

7, and one of the first dialog boxes is the Customize Python screen.

我正在

Windows 7

上重新安装

Python

,第一个对话框之一是定制

Python

屏幕。

The default setting for

“Add

Python.exe to

Path”

is

“Entire

feature will be

unavailable.”

添加

Python”

的默认设置。

exe

到路径是

整个特性将不可用

I always change this to

“Will

be installed on local hard

drive.”

我总是把这个改成

将安装在本地硬盘上

It’s

not an issue, changing the system environment variables is a snap, but is there

any

upside to leaving this un-ticked?

这不是一个问题,改变系统环境变量是一件容易的事,但是离开这个没有标记的

系统有什么好处吗

?

7

If you only have one version of Python installed, it

won’t

matter.

如果您只安装了一个版本的

Python

,那也没有关系。

If you have multiple versions installed, then the first one that appears in your system

Path

will

be

executed

when

you

use

the

“python”

command.

Additionally,

it

can

make

older versions inaccessible without extra work. For example, I had a system with

Python

2.7 installed and I added 3.2 on top of that and checked the option to to add Python.exe

to

the path during installation. After doing that, entering both

“python”

and

“python3”

on the

command

line

opened

up

Python

3.2,

so

I

would

need

to

enter

the

full

path

to

the

2.7

interpreter when I needed to execute 2.x scripts.

如果安装了多个版本,那么当您使用

“python”

命令时,系统路径中出现的第一个

版本将被执行。此外,它可以使旧版本不需要额外的工作就无法访问。例如,我安

装了一个带有

Python

2.7

的系统,并在上面添加了

3.2

,并检查了添加

Python

的选

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值