2

I want to install these two Python packages pyHook-1.5.1.win32-py2.7 and pywin32-218.win32-py2.7 from cmd without any user interaction.

How can I achieve this?

Farzad
  • 842
  • 2
  • 9
  • 26
user3454032
  • 45
  • 1
  • 6
  • 1
    I already solved this, I hope it can help anyone who come here looking for answers. I converted the .exe files to .msi using a program called exe to msi converter then I called it from cmd using this command msiexec /i pyHook-1.5.1.win32-py2.7.msi /qn – user3454032 Apr 06 '14 at 21:17

1 Answers1

0

For python 3.4 or 2.7 and above, you could use the bundled easy_install binary.

Scripts/easy_install.exe pywin32-221.win32-py2.7.exe
Syakur Rahman
  • 2,056
  • 32
  • 40