L
L
link_vrb2021-12-31 14:02:37
Python
link_vrb, 2021-12-31 14:02:37

How to install pyHook and pythoncom python3 libraries?

I need to install two libraries:
pyHook

pip3 install Pyhook
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement Pyhook (from versions: none)
ERROR: No matching distribution found for Pyhook

And python.com:
pip3 install pythoncom
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement pythoncom (from versions: none)
ERROR: No matching distribution found for pythoncom

As you can see above, both of them failed to load. I was looking for a solution to this problem. Although I found a solution, it didn't work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2021-12-31
@link_vrb

Learn to google already, pythoncom is part of pywin32, and now think about how it will be put in ubuntu.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question