如何让 PyScripter 工作?说找不到 python26.dll
我安装了 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
编辑:PyScripter 不需要 wxPython 来运行它。
根据您的评论,看起来您有 64 位 python。
但 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
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.
安装Python。应该可以解决你所有的问题..
Install python. should solve all your problems..
我刚刚将 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...
我终于让它工作了(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