Unable to register com component built with python2.7

Discussion in 'Python' started by sniffer, Feb 5, 2011.

  1. sniffer

    sniffer Guest

    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


    thanks
    sniffer, Feb 5, 2011
    #1
    1. Advertising

  2. 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/


    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.10 (Darwin)

    iQEcBAEBAgAGBQJNTZRaAAoJEKcbwptVWx/lxjgIAIvhApx121CZ1i1zrrjeRJSi
    PntDN1zXaILuLwOSbAj7IyHhZZFNdEmqaHaBQIseEek5LTu7auX+Nlu79UrJ/NIg
    2hm97NKxxqbZlsspT3SI7vZkTtna5VAUnYpg+KdSiZB/3yLnXklZmTOsXGxSbxve
    RJDJkuy07xWwNIWWkOHE1x7NsDbLkBoBAXwkVixvolwnlKGfuYNTIoyH0cQLnZZT
    /Px6dzdXOnfaJOIumwBB2PxXhCwKN/Ic3Kl9RL1eIv1LuFN2E0TyEgdNI4gpUn+g
    0of+csqj5ACl9EM/0vovybO5UcLK3iEoLKBdkK1/ofjTuWW7cNdQ8gJCckMpP0k=
    =Yy3/
    -----END PGP SIGNATURE-----
    Stephen Hansen, Feb 5, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Xavier
    Replies:
    0
    Views:
    402
    Xavier
    Aug 6, 2003
  2. Skip Montanaro
    Replies:
    1
    Views:
    416
    Thomas Heller
    Aug 7, 2003
  3. snacktime
    Replies:
    13
    Views:
    545
    Dan Sommers
    Feb 22, 2005
  4. Uwe Mayer

    changing from python2.3 to python2.4

    Uwe Mayer, Apr 8, 2005, in forum: Python
    Replies:
    1
    Views:
    287
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Apr 9, 2005
  5. Ksenia Marasanova
    Replies:
    2
    Views:
    341
    Mike Meyer
    Nov 17, 2005
Loading...

Share This Page