<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>pnotepad.org forums &#187; Topic: PyPN can&#039;t find python26.dll</title>
		<link>http://pnotepad.org/forums/topic/603</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 06:20:15 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://pnotepad.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://pnotepad.org/forums/rss/topic/603" rel="self" type="application/rss+xml" />

		<item>
                        <title>PyPN can&#039;t find python26.dll (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7947</link>
			<pubDate>Fri, 27 May 2011 00:54:09 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7947@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;After a couple experiments, i found an easy solution to create a lightweight python package:&#60;br /&#62;
- Remove all .pyc files&#60;br /&#62;
- Run some PyPN scripts in PN and check libs\ for new .pyc files&#60;br /&#62;
- Remove all .py files, which do NOT have a corresponding .pyc&#60;br /&#62;
- Remove the new .pyc files as well&#60;br /&#62;
Result: Only 22 .py files left (may differ, depends on what modules you use)&#60;/p&#62;
&#60;p&#62;Here my UltraLight pack:&#60;br /&#62;
&#60;a href=&#34;http://www.mediafire.com/?un51qan22wnbfb5&#34;&#62;PyPN-1.0.2300_Python-2.6.6_UltraLight.exe&#60;/a&#62; (1.23 MB, hosted at MediaFire.com)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7945</link>
			<pubDate>Thu, 26 May 2011 15:34:34 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7945@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;okay, i removed the lib\ dir entirely, but it broke python (couldn't import traceback...)&#60;br /&#62;
But it seems alright to delete files, which belong to a module which is already removed.&#60;/p&#62;
&#60;p&#62;So i dropped database support incl. sqlite&#60;br /&#62;
hash and encryption stuff (md5, ssl...)&#60;br /&#62;
compression stuff (bz2, tar, zip)&#60;br /&#62;
audio stuff (we don't want to edit waves files while coding lol!)&#60;br /&#62;
distutils (python distribution)&#60;br /&#62;
2to3 (converter python v2 to v3)&#60;br /&#62;
msilib (reads Microsoft Installer files)&#60;br /&#62;
idlelib (belongs to tcl/tkinter)&#60;br /&#62;
pydoc (python help file stuff)&#60;br /&#62;
python executables (python.exe / pythonw.exe / w9xpopen.exe - obviously not needed as we still have python DLL)&#60;br /&#62;
python-2.6.6.msi (uninstall information?)&#60;/p&#62;
&#60;p&#62;I compressed the rest together with PyPN and a ~2 mb self-extracting archive came out. I think this is pretty good already, nonetheless i could remove even more (threading, internet stuff except XML parser...)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (simon)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7939</link>
			<pubDate>Wed, 25 May 2011 13:05:16 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7939@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Nice! I think it would be fine to remove more, yes. The idea I guess is to get to the point of a minimal distribution that enables common scenarios in PyPN. Users can then opt to use their own full Python installation (have to work out how to do that).
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7932</link>
			<pubDate>Mon, 23 May 2011 20:11:31 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7932@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Yeah, i'm not sure though if one can delete libs without errors. I gave it a try and ended up with 4mb 7zip archive incl. PyPN, seems to work fine.&#60;/p&#62;
&#60;p&#62;removed:&#60;br /&#62;
include\ source header files?&#60;br /&#62;
tcl\ gui lib?&#60;br /&#62;
doc\ python help file&#60;br /&#62;
scripts\ and tools\ which are basically examples&#60;br /&#62;
tests\ test and exploit scripts?&#60;br /&#62;
tkinter library, doesn't work anyway at the moment cause argv array isn't set&#60;br /&#62;
i could also remove database stuff except sqlite, perhaps multimedia and multithreading too?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (simon)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7916</link>
			<pubDate>Thu, 19 May 2011 11:15:39 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7916@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Great! 13mb is pretty heavy though, I wonder if we could cut that down to a sensible subset of Python to include with PN?&#60;/p&#62;
&#60;p&#62;I'd like to offer a PN+PyPN download with more stuff done via python, but would like to see the size cut down first.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7915</link>
			<pubDate>Thu, 19 May 2011 10:55:54 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7915@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I made a self-extracting archive that contains PyPN v1.0.2300 and Python 2.6.6. Select your PN root directory and extract. Run &#60;code&#62;pn.exe --findexts&#60;/code&#62; afterwards. For  PN v2.3.2.2300-rc1 and v2.3.3.2332-rc2 (should work for both, installed and portable distribution)&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.mediafire.com/?3fpd4qcii68io78&#34;&#62;PyPN-1.0.2300_Python-2.6.6.exe&#60;/a&#62; (~13 MB, hosted at MediaFire.com)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7912</link>
			<pubDate>Tue, 17 May 2011 17:30:25 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7912@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I searched the registry to see if python created any keys, but is doesn't - thats good.&#60;/p&#62;
&#60;p&#62;Also tried if one can put the python files in a subfolder instead of right into pn's root dir. This requires pypn files to be in that subdir as well. I added an extension entry to pn\config.xml - with on effect. So i added it to settings\config.xml, path: Python26\pypn.dll&#60;br /&#62;
gave me error, boost python dll not found. Apparently it's not possible to have extensions in subdirs - thats bad.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7911</link>
			<pubDate>Tue, 17 May 2011 11:02:32 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7911@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I tried your solution (PortablePython 2.6.1 + Portable PN 2.3.2.2300-rc1), but I got application runtime errors and no or not all scripts listed in the dock.&#60;/p&#62;
&#60;p&#62;But this works for me:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;Get latest portable PN (2.3.3.2332-rc2) and PyPN (v1.0.2300)&#60;/li&#62;
&#60;li&#62;Python 2.6.6 MSI-installer from &#60;a href=&#34;http://www.python.org/download/releases/2.6.6/&#34;&#62;Python.org&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a href=&#34;http://dreamlusion.wordpress.com/2008/06/15/unpack-an-msi/&#34;&#62;Unpack the MSI&#60;/a&#62; to pn dir: &#60;code&#62;C:\pn_dir\&#38;gt; msiexec /a python-2.6.6.msi TARGETDIR=C:\pn_dir\ /qb&#60;/code&#62;&#60;/li&#62;
&#60;li&#62;Add pypn.dll to settings\config.xml or run pn.exe --findexts&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;Tested on WinXP with user-rights, no environment variables involved.&#60;br /&#62;
All stock python-scripts appear in scripts-dock and work, so does PyPN in textclips!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (stier08)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7765</link>
			<pubDate>Tue, 22 Mar 2011 18:28:44 +0000</pubDate>
			<dc:creator>stier08</dc:creator>
			<guid isPermaLink="false">7765@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;muradkhan,&#60;br /&#62;
Though your solution solves the problem it is not generic, and will not do for portable users or those w/o admin rights.&#60;/p&#62;
&#60;p&#62;In order to use PyPn in default environment you need to add c:\Python26 to your path&#60;/p&#62;
&#60;p&#62;Fro portable users: one can install portable pnotepad with PyPn in&#60;br /&#62;
&#38;lt;USB DRIVE&#38;gt;/portable-pn2202240&#60;br /&#62;
Portable Python to&#60;br /&#62;
&#38;lt;USB DRIVE&#38;gt;/Portable-python&#60;/p&#62;
&#60;p&#62;and use a script &#38;lt;USB DRIVE&#38;gt;/start.portable.pn.bat with following content&#60;/p&#62;
&#60;p&#62;1: set PortablePythonDir=&#34;%~dp0Portable-python&#34;&#60;br /&#62;
2: cd /d &#34;%~dp0portable-pn2202240&#34;&#60;br /&#62;
3: set PATH=%PortablePythonDir%;%PATH%&#60;br /&#62;
4: pn.exe --findexts&#60;br /&#62;
5: start pn.exe
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (muradkhan)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7763</link>
			<pubDate>Mon, 21 Mar 2011 19:19:21 +0000</pubDate>
			<dc:creator>muradkhan</dc:creator>
			<guid isPermaLink="false">7763@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Removed Python 3.2, replaced it with Python 2.6, copied over the python26.dll to windows\system32 and we're all good to go.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (muradkhan)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7761</link>
			<pubDate>Mon, 21 Mar 2011 17:25:11 +0000</pubDate>
			<dc:creator>muradkhan</dc:creator>
			<guid isPermaLink="false">7761@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;In an effort to install PyPN, I failed to see that PyPN only appears to be available for Python 2 and I went ahead and installed Python 3.2. Just checking to see if I'm really going to have to uninstall 3.2 and step back to 2.6.&#60;/p&#62;
&#60;p&#62;Cheers.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/603#post-2183</link>
			<pubDate>Thu, 25 Jun 2009 11:39:31 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">2183@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I managed to fix my problem by removing 64-bit Python and installing 32-bit version instead. It seems that quite a few libraries are lacking 64-bit support so I would have changed anyway and gladly it fixed PN as well.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (Midas)</title>
			<link>http://pnotepad.org/forums/topic/603#post-2175</link>
			<pubDate>Sat, 20 Jun 2009 17:43:52 +0000</pubDate>
			<dc:creator>Midas</dc:creator>
			<guid isPermaLink="false">2175@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Same problem here on 32-bit Windows Vista Home Premium, SP1.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/603#post-2174</link>
			<pubDate>Sat, 20 Jun 2009 17:33:56 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">2174@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I'm trying to use the latest portable version and while PN itself works fine I can't get PyPN working. After manually adding pypn.dll to config file I get the following error:&#60;/p&#62;
&#60;p&#62;&#38;quot;The program can't start because python26.dll is missing from your computer. Try installing the program to fix this problem&#38;quot;&#60;/p&#62;
&#60;p&#62;Yet I do have Python 2.6.2 installed and the said .dll file is in system32 folder. After I close the error dialog PN starts but PyPN isn't not listed in extensions. If I copy the .dll file to PN folder there's no error but PyPN still doesn't show in extensions. Any ideas how to fix this?&#60;/p&#62;
&#60;p&#62;I'm running 64-bit Windows 7 RC build 7100.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

