Unable to register com component built with python2.7

Stephen Hansen me+list/python at ixokai.io
Sat Feb 5 19:17:58 CET 2011


On 2/5/11 2:33 AM, sniffer wrote:
> Hi all,
> I have built a com component using python2.7 on win 7 but the
> component refuses to register ,every time i try to register it says
> the specified module could not be found unable to load python.dll ,i
> also tried building the same com server with python2.7 again on a win-
> xp system  but to no avail ,i even tried building and registring the
> com server after removing all imports and just leaving 1 function
> which returns nothing but the string "hello world" any pointers would
> be great

It sounds like your Python install directory (C:\Python27 probably) is
not on your PATH. Which is the default. There's much debate about that
on and off, but in short-- if you go add it to your environment
variables things will probably work.

-- 

   Stephen Hansen
   ... Also: Ixokai
   ... Mail: me+list/python (AT) ixokai (DOT) io
   ... Blog: http://meh.ixokai.io/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20110205/bc143853/attachment.sig>


More information about the Python-list mailing list