Tag Archives: Python library

Python Basics – python3 installing pyhook and pywin32 Libraries

<

pyHook installation/h6>
pyHook library to download their own.
pyHook library access:
lfd.uci.edu
small jujube resource warehouse extraction code: c7fq

When is installed, use PIP install and drag the WHL file directly into the CMD to generate the path.

pywin32 install

CMD PIP install pywin32 is ready to install.
pywin32 is installed and we can use both win32com and pythoncom.

import win32com
import pythoncom

like!

Solve fatal error: ‘FFI. H’ file not found

Error installing Rumps in Python:

Modules/objc/libffi_support.h:4:10: fatal error: 'ffi.h' file not found
#include "ffi.h"
         ^
1 error generated.
error: Setup script exited with error: command 'cc' failed with exit status 1

The reason is the lack of libffi library, using BREW can be installed.

$ brew install pkg-config libffi
$ export PKG_CONFIG_PATH=/usr/local/Cellar/libffi/3.0.13/lib/pkgconfig/
$ pip install bcrypt