简体   繁体   English

Notepad ++的Python Script插件不起作用

[英]Python Script plugin of Notepad++ not working

There is a problem when I try to run Notepad++ with Python Script plugin. 当我尝试使用Python Script插件运行Notepad ++时出现问题。
I downloaded the latest versions of both, v6.5 of Notepad++ and v0.92 of Python Script plugin. 我下载了Notepad ++的v6.5和Python Script插件的v0.92的最新版本。 However the two reject to work together, throwing the error: 然而,两个拒绝一起工作,抛出错误:

This ANSI plugin is not compatible with your Unicode Notepad++. 此ANSI插件与您的Unicode Notepad ++不兼容。 This plugin is not compatible with current version of Notepad++. 此插件与当前版本的Notepad ++不兼容。

As I see it there is no supported ANSI version of Notepad++ anymore, so what can I do to make Python Script work again? 正如我所看到的,不再支持ANSI版本的Notepad ++,那么我该怎样做才能使Python脚本再次运行?

Three options: 三种选择:

  1. Find a Unicode version of the plug-in 查找插件的Unicode版本
  2. Modify the existing plug-in yourself and ideally share it back. 自己修改现有的插件, 理想情况下将其共享回来。
  3. Use an older version of Notepad++. 使用旧版本的Notepad ++。

I have the latest Notepad++ 6.5 Unicode and downloaded from the Plugin Manager the latest Python Script plugin 0.9.2.0, was installed properly and seems to work. 我有最新的Notepad ++ 6.5 Unicode并从插件管理器下载了最新的Python Script插件0.9.2.0,安装正确并且似乎工作正常。 In case you tried to install it manually, try it from the Plugin Manager, if it was the other way around, try both the PythonScript_min_0.9.2.0 and PythonScript_full_0.9.2.0 from SourceForge . 如果您尝试手动安装它,请从插件管理器中尝试,如果是相反的方法,请尝试使用SourceForge中的PythonScript_min_0.9.2.0和PythonScript_full_0.9.2.0。

I have met the same error. 我遇到了同样的错误。 It is probably because that you have got the wrong download. 可能是因为您下载错误了。

For my case, at first I download the file PythonScript_TclTk_1.0.8.0.7z . 对于我的情况,首先我下载文件PythonScript_TclTk_1.0.8.0.7z This is not the right version to be install manually (by copying the extracted zip to the plugin folder of Notepad++). 这不是手动安装的正确版本(通过将提取的zip复制到Notepad ++的插件文件夹)。 In fact, the structure is completely different. 实际上,结构完全不同。 I still not check what this version is supposed to do. 我仍然没有检查这个版本应该做什么。

You will need to get the full version, like : PythonScript_Full_1.0.8.0.zip , then extract and install manually. 您需要获取完整版本,例如: PythonScript_Full_1.0.8.0.zip ,然后手动提取和安装。 A quick way to check is that if you don't have a file dll like pythonXX.dll in the zip folder, then it is probably not the right plugin. 一个快速检查的方法是,如果你在zip文件夹中没有像pythonXX.dll这样的文件dll,那么它可能不是正确的插件。

You might have downloaded the .zip file. 您可能已经下载了.zip文件。 Try downloading and installing through .msi installer. 尝试通过.msi安装程序下载和安装。 That worked for me. 这对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM