simonsteele / pn

Programmer's Notepad
373 stars 115 forks source link

PyPN not working on Windows with Python34 #153

Open wstoettinger opened 7 years ago

wstoettinger commented 7 years ago

I followed all instructions and installed Python34 (3.4.4) and PN 2.4.2. When I type python in the command line, it shows version 3.4.4. Nevertheless I have no scripts in the Scripts window (although I can open the window itself) and the menu entries for script recording are disabled.

Do I have to add a tool or an extension?

simonsteele commented 7 years ago

When you installed PN did you select the python extension?

wstoettinger commented 7 years ago

yes, I did!

simonsteele commented 7 years ago

If you open the extensions section in PN options, do you see PyPN listed?

If not, you can try running pn --findexts as detailed in the old manual installation instructions here:

http://www.pnotepad.org/docs/install_pypn/

wstoettinger commented 7 years ago

I thought PyPN is now integrated into PN since 2.4 and doesn't need an extension anymore? (http://www.pnotepad.org/add-ons/)

pn --findexts does nothing, it doesn't add PyPN to the config.xml, also manually adding <extension path="pypn.dll"></extension> has no effect. I do have the folders pypn and scripts in my PN folder but none of the scripts show up in the scripts window ... it looks like the scripts window is completely empty, not even a UI is drawn.

svofski commented 5 years ago

Any update on this? I have exactly the same problem.

Eccenux commented 4 years ago

Seems to work fine for me with the installer version. It seem I had to:

  1. Install Python in c:\Python34
  2. Select option to add Python to PATH.
  3. Install PN2 from the installer (exe) found here: https://github.com/simonsteele/pn/releases/tag/v2.4.2

Unfortunately that doesn't seem to be working with the portable edition. It seems that pypn.dll is not available for portable.