I recently encountered issues to build Cython extension for a project using python 3.6, installed using pyenv, while my system use python3.9 by default.
The error was easily reproducible in console, and was related to missing _pydevd_frame_eval/pydevd_frame_evaluator.c
in pydevd folder.
I noticed that the PKGBUILD run
find pycharm-${pkgver}/plugins/python/helpers/pydev/ \( -name *.c -o -name *.so -o -name *.pyd \) -delete
as first command in the build step. While I understand that *.so
and *.pyd
files may be deleted before building, I don't understand why *.c
files are deleted too. Is it an error ?
By the way I edited the PKGBUILD before building the package to remove *.c
files deletion, and I was able to build Cython extension for my py3.6 project
find pycharm-${pkgver}/plugins/python/helpers/pydev/ \( -name *.so -o -name *.pyd \) -delete
Pinned Comments