更改PyScripter以使用不同的Python版本 [英] Changing PyScripter to work with different Python Versions

查看:265
本文介绍了更改PyScripter以使用不同的Python版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 PyScripter 来编写python程序,但我不知道该怎么做使它在我的计算机上与Python26一起使用.当我安装ArcGIS时,默认情况下会安装Python26.然后,我安装了PyScripter,该安装发现了该安装,并且工作正常.后来,我安装了Python27,随后又重新安装了PyScripter.现在,Pyscripter使用Python27,但我不知道如何更改它.

I'm using PyScripter for writing python programs and I can't figure out how to make it work with Python26 on my computer. When I installed ArcGIS, by default it installs Python26. I then installed PyScripter which found that installation and it worked fine. Later, I installed Python27, and subsequently reinstalled PyScripter.Now Pyscripter uses Python27 and I don't know how to change it.

我已经查看了Tools -> PythonPath下的设置,它们如下:

I've looked at the settings under Tools -> PythonPath and they are as follows:

以及Tools -> Configure Tools

我假设我需要更改python路径条目,但是如何将它们更改为?我的Python26安装位于C:\ Program Files(x86)\ ArcGIS \ Desktop10.0 \ Bin中.

I assume I need to change the python path entries, but what do I change them to? My Python26 installation is found in C:\Program Files (x86)\ArcGIS\Desktop10.0\Bin.

推荐答案

如果转到开始菜单中的pyScripter文件夹,它将具有适用于Python 2.4到3.2的pyScripter版本.只需运行与您的Python版本相对应的版本即可.

If you go to the pyScripter folder in the start menu, it will have a version of pyScripter for Python 2.4 to 3.2. Just run the one corresponding to your Python version.

这篇关于更改PyScripter以使用不同的Python版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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