You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to install GMatch4py for Python 3.5 and Python 3.6 on Mojave in a virtual environment fails with clang reporting:
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
This is because the deployment target isn't being recognized by clang. This can be rectified by doing export MACOSX_DEPLOYMENT_TARGET=10.14before running the build.
Finally, the FutureWarning reported by Cython:
FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release!
can be resolved by changing the extensions line in setup.py to:
extensions = cythonize([makeExtension(name) for name in extNames], compiler_directives={'language_level': '3'})
Attempting to install GMatch4py for Python 3.5 and Python 3.6 on Mojave in a virtual environment fails with clang reporting:
This is because the deployment target isn't being recognized by clang. This can be rectified by doing
export MACOSX_DEPLOYMENT_TARGET=10.14
before running the build.Finally, the FutureWarning reported by Cython:
can be resolved by changing the extensions line in
setup.py
to:extensions = cythonize([makeExtension(name) for name in extNames], compiler_directives={'language_level': '3'})
Reference: https://stackoverflow.com/a/53992016
GMatch4py-build-error.txt
The text was updated successfully, but these errors were encountered: