Library not loaded: /usr/local/opt/libffi/lib/libffi.6.dylib

mac pycharm执行python flask 报错 Library not loaded: /usr/local/opt/libffi/lib/libffi.6.dylib

解决方式:

I'm running macOS Mojave, 10.14.2
I had to uninstall libffi, then reinstall it:

brew uninstall libffi
brew install libffi
And then, set the env vars in my .bash_profile as indicated above:

# homebrew required vars
export LDFLAGS="-L/usr/local/opt/libffi/lib"
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"

来源于:
https://github.com/platformio/platform-lattice_ice40/issues/7

猜你喜欢

转载自blog.csdn.net/yangyangrenren/article/details/99610690