Menu

#3 Help Compiling :)

closed
nobody
None
5
2009-12-12
2009-11-23
electro5r
No

It's me again lol. I lost the files to compile when I reinstalled the OS on my computer. What were the names of the requisites and where would I get them please? If someone could just send them to me directly that would make even more sense. Also, what version of Python are you now using? ARe you using the latest 2.6.4 and if I do will it work?

Thanks

Discussion

  • nanotube

    nanotube - 2009-11-24

    Hi,

    The instructions for compiling and what supporting libraries you need are all listed on the project homepage, under 'installation instructions'.

    Here's a link to the specific page with all the dependencies:
    http://sourceforge.net/apps/mediawiki/pykeylogger/index.php?title=Installation_Instructions

    As far as python 2.6.4, i think it should work without any problems.

    Also, I'll note that as long as you're building from source, I suggest you grab the latest snapshot from the git repository, as I have made a few bugfixes, but have not yet pushed out the official next release.

    Let me know if you run into any trouble.

     
  • Nobody/Anonymous

    When I type "python setup.py py2exe" in cmd, it gives me this:
    "
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
    or: setup.py --help [cmd1 cmd2 ...]
    or: setup.py --help-commands
    or: setup.py cmd --help

    error: invalid command 'py2exe'
    "

    I already installed py2exe though.

     
  • nanotube

    nanotube - 2009-11-27

    Hi,

    You also sent me email, which i think contained an important clue. your email had the following:

    ==============
    C:\Python26>python setup.py py2exe
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help

    error: invalid command 'py2exe'

    C:\Python26>

    From this, it is apparent that you're not running the py2exe command from where the pykeylogger source is (which under any sane circumstances, would not be directly in C:\Python26).

    You should cd to the directory where you have extracted the pykeylogger distribution, and run your "python setup.py py2exe" command from there.

    Please give that a try! :)

     
  • Nobody/Anonymous

    Now it gives me this error now that I've CD'ed to the inner directory (it can't find Python):

    C:\Python26\pykey-1.2.0>python setup.py py2exe
    'python' is not recognized as an internal or external command,
    operable program or batch file.

    This is why I use the Python26 directory.
    Is there any way to fix it?

     
  • nanotube

    nanotube - 2009-11-27

    Hi,
    As per the installation instructions: either specify full path to the python.exe, or add the python directory to your PATH.

    The former is the easiest. simply use this command, with the full path to python:

    C:\Python26\python.exe setup.py py2exe

     
  • nanotube

    nanotube - 2009-11-27
    • status: open --> pending
     
  • Nobody/Anonymous

    Now it gave this error:
    *** finding dlls needed ***
    error: libglib-2.0-0.dll: No such file or directory

    No folder called "dist" was created.

    Here is the entire thing:
    l\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\image1.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\image2.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\demos
    creating C:\Python26\pykey-1.2.0\dist\tcl\tk8.5\demos\images
    copying C:\Python26\tcl\tk8.5\demos\images\earth.gif -> C:\Python26\pykey-1.2.0
    \dist\tcl\tk8.5\demos\images
    copying C:\Python26\tcl\tk8.5\demos\images\earthris.gif -> C:\Python26\pykey-1.
    2.0\dist\tcl\tk8.5\demos\images
    copying C:\Python26\tcl\tk8.5\demos\images\face.xbm -> C:\Python26\pykey-1.2.0\ dist\tcl\tk8.5\demos\images
    copying C:\Python26\tcl\tk8.5\demos\images\flagdown.xbm -> C:\Python26\pykey-1.
    2.0\dist\tcl\tk8.5\demos\images
    copying C:\Python26\tcl\tk8.5\demos\images\flagup.xbm -> C:\Python26\pykey-1.2.
    0\dist\tcl\tk8.5\demos\images
    copying C:\Python26\tcl\tk8.5\demos\images\gray25.xbm -> C:\Python26\pykey-1.2.
    0\dist\tcl\tk8.5\demos\images
    copying C:\Python26\tcl\tk8.5\demos\images\letters.xbm -> C:\Python26\pykey-1.2
    .0\dist\tcl\tk8.5\demos\images
    copying C:\Python26\tcl\tk8.5\demos\images\noletter.xbm -> C:\Python26\pykey-1.
    2.0\dist\tcl\tk8.5\demos\images
    copying C:\Python26\tcl\tk8.5\demos\images\pattern.xbm -> C:\Python26\pykey-1.2
    .0\dist\tcl\tk8.5\demos\images
    copying C:\Python26\tcl\tk8.5\demos\images\tcllogo.gif -> C:\Python26\pykey-1.2
    .0\dist\tcl\tk8.5\demos\images
    copying C:\Python26\tcl\tk8.5\demos\images\teapot.ppm -> C:\Python26\pykey-1.2.
    0\dist\tcl\tk8.5\demos\images
    copying C:\Python26\tcl\tk8.5\demos\items.tcl -> C:\Python26\pykey-1.2.0\dist\t
    cl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\ixset -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\knightstour.tcl -> C:\Python26\pykey-1.2.0\ dist\tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\label.tcl -> C:\Python26\pykey-1.2.0\dist\t
    cl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\labelframe.tcl -> C:\Python26\pykey-1.2.0\d
    ist\tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\license.terms -> C:\Python26\pykey-1.2.0\di
    st\tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\mclist.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\menu.tcl -> C:\Python26\pykey-1.2.0\dist\tc
    l\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\menubu.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\msgbox.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\nl.msg -> C:\Python26\pykey-1.2.0\dist\tcl\ tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\paned1.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\paned2.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\pendulum.tcl -> C:\Python26\pykey-1.2.0\dis
    t\tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\plot.tcl -> C:\Python26\pykey-1.2.0\dist\tc
    l\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\puzzle.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\radio.tcl -> C:\Python26\pykey-1.2.0\dist\t
    cl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\README -> C:\Python26\pykey-1.2.0\dist\tcl\ tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\rmt -> C:\Python26\pykey-1.2.0\dist\tcl\tk8
    .5\demos
    copying C:\Python26\tcl\tk8.5\demos\rolodex -> C:\Python26\pykey-1.2.0\dist\tcl
    \tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\ruler.tcl -> C:\Python26\pykey-1.2.0\dist\t
    cl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\sayings.tcl -> C:\Python26\pykey-1.2.0\dist
    \tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\search.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\spin.tcl -> C:\Python26\pykey-1.2.0\dist\tc
    l\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\square -> C:\Python26\pykey-1.2.0\dist\tcl\ tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\states.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\style.tcl -> C:\Python26\pykey-1.2.0\dist\t
    cl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\tclIndex -> C:\Python26\pykey-1.2.0\dist\tc
    l\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\tcolor -> C:\Python26\pykey-1.2.0\dist\tcl\ tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\text.tcl -> C:\Python26\pykey-1.2.0\dist\tc
    l\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\textpeer.tcl -> C:\Python26\pykey-1.2.0\dis
    t\tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\timer -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\toolbar.tcl -> C:\Python26\pykey-1.2.0\dist
    \tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\tree.tcl -> C:\Python26\pykey-1.2.0\dist\tc
    l\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\ttkbut.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\ttkmenu.tcl -> C:\Python26\pykey-1.2.0\dist
    \tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\ttknote.tcl -> C:\Python26\pykey-1.2.0\dist
    \tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\ttkpane.tcl -> C:\Python26\pykey-1.2.0\dist
    \tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\ttkprogress.tcl -> C:\Python26\pykey-1.2.0\ dist\tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\twind.tcl -> C:\Python26\pykey-1.2.0\dist\t
    cl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\unicodeout.tcl -> C:\Python26\pykey-1.2.0\d
    ist\tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\vscale.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\demos
    copying C:\Python26\tcl\tk8.5\demos\widget -> C:\Python26\pykey-1.2.0\dist\tcl\ tk8.5\demos
    copying C:\Python26\tcl\tk8.5\dialog.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\tk
    8.5
    copying C:\Python26\tcl\tk8.5\entry.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\tk8
    .5
    copying C:\Python26\tcl\tk8.5\focus.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\tk8
    .5
    creating C:\Python26\pykey-1.2.0\dist\tcl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\logo.eps -> C:\Python26\pykey-1.2.0\dist\t
    cl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\logo100.gif -> C:\Python26\pykey-1.2.0\dis
    t\tcl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\logo64.gif -> C:\Python26\pykey-1.2.0\dist
    \tcl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\logoLarge.gif -> C:\Python26\pykey-1.2.0\d
    ist\tcl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\logoMed.gif -> C:\Python26\pykey-1.2.0\dis
    t\tcl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\pwrdLogo.eps -> C:\Python26\pykey-1.2.0\di
    st\tcl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\pwrdLogo100.gif -> C:\Python26\pykey-1.2.0
    \dist\tcl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\pwrdLogo150.gif -> C:\Python26\pykey-1.2.0
    \dist\tcl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\pwrdLogo175.gif -> C:\Python26\pykey-1.2.0
    \dist\tcl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\pwrdLogo200.gif -> C:\Python26\pykey-1.2.0
    \dist\tcl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\pwrdLogo75.gif -> C:\Python26\pykey-1.2.0\ dist\tcl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\README -> C:\Python26\pykey-1.2.0\dist\tcl
    \tk8.5\images
    copying C:\Python26\tcl\tk8.5\images\tai-ku.gif -> C:\Python26\pykey-1.2.0\dist
    \tcl\tk8.5\images
    copying C:\Python26\tcl\tk8.5\license.terms -> C:\Python26\pykey-1.2.0\dist\tcl
    \tk8.5
    copying C:\Python26\tcl\tk8.5\listbox.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5
    copying C:\Python26\tcl\tk8.5\menu.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\tk8.
    5
    copying C:\Python26\tcl\tk8.5\mkpsenc.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5
    copying C:\Python26\tcl\tk8.5\msgbox.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\tk
    8.5
    creating C:\Python26\pykey-1.2.0\dist\tcl\tk8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\cs.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\da.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\de.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\el.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\en.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\en_gb.msg -> C:\Python26\pykey-1.2.0\dist\tc
    l\tk8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\eo.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\es.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\fr.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\hu.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\it.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\nl.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\pl.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\pt.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\ru.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\msgs\sv.msg -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\msgs
    copying C:\Python26\tcl\tk8.5\obsolete.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\ tk8.5
    copying C:\Python26\tcl\tk8.5\optMenu.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5
    copying C:\Python26\tcl\tk8.5\palette.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5
    copying C:\Python26\tcl\tk8.5\panedwindow.tcl -> C:\Python26\pykey-1.2.0\dist\t
    cl\tk8.5
    copying C:\Python26\tcl\tk8.5\pkgIndex.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\ tk8.5
    copying C:\Python26\tcl\tk8.5\safetk.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\tk
    8.5
    copying C:\Python26\tcl\tk8.5\scale.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\tk8
    .5
    copying C:\Python26\tcl\tk8.5\scrlbar.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5
    copying C:\Python26\tcl\tk8.5\spinbox.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5
    copying C:\Python26\tcl\tk8.5\tclIndex -> C:\Python26\pykey-1.2.0\dist\tcl\tk8.
    5
    copying C:\Python26\tcl\tk8.5\tearoff.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5
    copying C:\Python26\tcl\tk8.5\text.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\tk8.
    5
    copying C:\Python26\tcl\tk8.5\tk.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\tk8.5
    copying C:\Python26\tcl\tk8.5\tkfbox.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\tk
    8.5
    creating C:\Python26\pykey-1.2.0\dist\tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\altTheme.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\aquaTheme.tcl -> C:\Python26\pykey-1.2.0\dist
    \tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\button.tcl -> C:\Python26\pykey-1.2.0\dist\tc
    l\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\clamTheme.tcl -> C:\Python26\pykey-1.2.0\dist
    \tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\classicTheme.tcl -> C:\Python26\pykey-1.2.0\d
    ist\tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\combobox.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\cursors.tcl -> C:\Python26\pykey-1.2.0\dist\t
    cl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\defaults.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\entry.tcl -> C:\Python26\pykey-1.2.0\dist\tcl
    \tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\fonts.tcl -> C:\Python26\pykey-1.2.0\dist\tcl
    \tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\menubutton.tcl -> C:\Python26\pykey-1.2.0\dis
    t\tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\notebook.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\panedwindow.tcl -> C:\Python26\pykey-1.2.0\di
    st\tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\progress.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\scale.tcl -> C:\Python26\pykey-1.2.0\dist\tcl
    \tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\scrollbar.tcl -> C:\Python26\pykey-1.2.0\dist
    \tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\sizegrip.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\treeview.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\ttk.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\t
    k8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\utils.tcl -> C:\Python26\pykey-1.2.0\dist\tcl
    \tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\winTheme.tcl -> C:\Python26\pykey-1.2.0\dist\ tcl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\ttk\xpTheme.tcl -> C:\Python26\pykey-1.2.0\dist\t
    cl\tk8.5\ttk
    copying C:\Python26\tcl\tk8.5\unsupported.tcl -> C:\Python26\pykey-1.2.0\dist\t
    cl\tk8.5
    copying C:\Python26\tcl\tk8.5\xmfbox.tcl -> C:\Python26\pykey-1.2.0\dist\tcl\tk
    8.5
    creating python loader for extension '_ctypes' (C:\Python26\DLLs\_ctypes.pyd ->
    _ctypes.pyd)
    creating python loader for extension 'select' (C:\Python26\DLLs\select.pyd -> se
    lect.pyd)
    creating python loader for extension 'unicodedata' (C:\Python26\DLLs\unicodedata
    .pyd -> unicodedata.pyd)
    creating python loader for extension 'win32api' (C:\Python26\lib\site-packages\w
    in32\win32api.pyd -> win32api.pyd)
    creating python loader for extension 'win32evtlog' (C:\Python26\lib\site-package
    s\win32\win32evtlog.pyd -> win32evtlog.pyd)
    creating python loader for extension '_tkinter' (C:\Python26\DLLs\_tkinter.pyd -
    > _tkinter.pyd)
    creating python loader for extension '_hashlib' (C:\Python26\DLLs\_hashlib.pyd -
    > _hashlib.pyd)
    creating python loader for extension 'bz2' (C:\Python26\DLLs\bz2.pyd -> bz2.pyd)

    creating python loader for extension '_ssl' (C:\Python26\DLLs\_ssl.pyd -> _ssl.p
    yd)
    creating python loader for extension 'gtk._gtk' (C:\Python26\lib\site-packages\g
    tk-2.0\gtk\_gtk.pyd -> gtk._gtk.pyd)
    creating python loader for extension '_win32sysloader' (C:\Python26\lib\site-pac
    kages\win32\_win32sysloader.pyd -> _win32sysloader.pyd)
    creating python loader for extension 'win32process' (C:\Python26\lib\site-packag
    es\win32\win32process.pyd -> win32process.pyd)
    creating python loader for extension 'pyHook._cpyHook' (C:\Python26\lib\site-pac
    kages\pyHook\_cpyHook.pyd -> pyHook._cpyHook.pyd)
    creating python loader for extension '_imaging' (C:\Python26\lib\site-packages\P
    IL\_imaging.pyd -> _imaging.pyd)
    creating python loader for extension '_socket' (C:\Python26\DLLs\_socket.pyd ->
    _socket.pyd)
    *** finding dlls needed ***
    error: libglib-2.0-0.dll: No such file or directory

    C:\Python26\pykey-1.2.0>

     
  • Nobody/Anonymous

    Sorry for the double post, but if it makes a difference, a folder called dist appeared in the pykey directory which I did not check in. The program was not there though, just a few odd folders and files.

     
  • nanotube

    nanotube - 2009-11-28

    Hi
    Ok, try this command then, specifically excluding the gtk module:

    C:\Python26\python.exe setup.py py2exe --excludes gtk

    gtk is only necessary for pykeylogger on linux, but as i happen to also have it installed in my windows build environment, I never ran into this problem myself. Give that a try.

    By the way - thanks for hanging out here and telling me about the problems you're running into - this is helping me improve my build instructions! :)

     
  • nanotube

    nanotube - 2009-11-28

    And by the way, before you run it again, delete the 'dist' directory and 'build' directory from the source tree, just to make sure py2exe isn't confused by the leftovers of the earlier build.

     
  • Nobody/Anonymous

    Thank you! It worked!

     
  • nanotube

    nanotube - 2009-11-29

    Great! :)

     
  • nanotube

    nanotube - 2009-11-29

    Just a note for the future: you now no longer need to explicitly specify the gtk exclude, it is now the default state, in the latest code in the git repository (and release 1.2.1 which I just made).

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.