如何让 PyScripter 工作?说找不到 python26.dll

发布于 2024-08-29 22:52:11 字数 249 浏览 5 评论 0原文

我安装了 PyScript 来尝试一下,但它无法启动。它只给我错误: “Error126:无法打开 Dll “python26.dll”,后跟: “Python 无法正确初始化。我们必须退出。”

我认为这可能与 PYTHONPATH 有关,但由于我是新手,不知道它是什么或到底要在 PYTHONPATH 中放入什么,经过一番谷歌搜索后,我在这里问。

另外,当我尝试安装 wxPython 时,这是不可能的,因为找不到 PYTHONPATH。(只是旁注)

I installed PyScript to try it out but it just wont start. It only gives me the error:
"Error126: Could not open Dll "python26.dll" followed by:
"Python could not be properly initialized. We must quit."

I think this may have something to do with the PYTHONPATH but since I'm a newbie and dont know what it is or exactly what to put in the PYTHONPATH, after some googling, I ask here.

Also, when I tried to install wxPython it was impossible becouse the PYTHONPATH could not be found.(Just a side note)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

暖心男生 2024-09-05 22:52:11

编辑:PyScripter 不需要 wxPython 来运行它。

根据您的评论,看起来您有 64 位 python。

但 pyscripter 网站说,你需要 32 位版本的 python

如果您使用的是 64 位版本
Windows 注意到 PyScripter 只会
如果是 32 位版本的 Python,则可以工作
已安装。

因此,唯一的方法是您需要 下载/安装 32 位 python 并运行 pyscripter。

或者

您可能想尝试 ulipad,它适用于 64 位 python 和 wxPython 64 位。

Edit: PyScripter don't need wxPython to run that.

and Looks like you have 64bit python, according to your comment.

but pyscripter site says, you need 32 bit version of python

If you are using a 64bit version of
Windows note that PyScripter will only
work if a 32bit version of Python is
installed.

So, only the way is you need to download/install 32 bit python and run pyscripter after that.

or

You might want to try out ulipad which works with 64 bit python and wxPython 64 bit.

絕版丫頭 2024-09-05 22:52:11

安装Python。应该可以解决你所有的问题..

Install python. should solve all your problems..

世态炎凉 2024-09-05 22:52:11

我刚刚将 python26.dll 从 python 文件夹复制到 pyscripter 文件夹,它运行良好...不知道这是一个好方法...

I just copied python26.dll from my python folder to pyscripter folder and it worked well... dont know it that is a good way to do it...

╭ゆ眷念 2024-09-05 22:52:11

我终于让它工作了(a)不改变它安装的目录到其他东西......只是把它留在 c:/programfiles/pyscripter ...和(B)进入 pyscripter 文件夹和 lib 文件夹解压 rpyc 文件夹,以便 lib 文件夹中存在另一个未压缩的 rpyc 文件夹!希望有帮助

I finally got it working by (a) not changing the directory it gets installed in to something else...just left it in c:/programfiles/pyscripter ...and (B) going into the pyscripter folder and in the lib folder extracting the rpyc folder so that there is another rpyc folder inside the lib folder that isnt compressed! hope that helps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文