Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError:DLL load failed #106

Open
Formartha opened this issue Feb 12, 2018 · 1 comment
Open

ImportError:DLL load failed #106

Formartha opened this issue Feb 12, 2018 · 1 comment

Comments

@Formartha
Copy link

Hi,
We are using your package and for some reason it failed to work with raising the error listed bellow - care to assist?

ImportError while importing test module 'C:\automation_framework\new\playgr
Hint: make sure your test modules/packages have valid Python names.
Traceback:
playground\dina\test_ui1.py:1: in
from core_framework.selenium_interface import SeleniumInterface
core_framework\selenium_interface.py:7: in
from utilities.keyboard_util import KeyBoardUtil, k
utilities\keyboard_util.py:1: in
from pykeyboard import PyKeyboard
C:\Python27\lib\site-packages\pykeyboard_init_.py:34: in
from .windows import PyKeyboard, PyKeyboardEvent
C:\Python27\lib\site-packages\pykeyboard\windows.py:17: in
import win32api
E ImportError: DLL load failed: The specified module could not be found.

@ipsBruno
Copy link

pip uninstall pywin32
pip uninstall pyhook

Install it from:
https://github.com/mhammond/pywin32/releases

Now:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook

Download this pyHook for your operating system

Example in Python 2.7 with 64 bits:

pip install pyHook‑1.5.1‑cp27‑cp27m‑win_amd64.whl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants