@supply730 I encountered the same error while installing the built package using Manjaro's pamac manager. It seems the issue is specific to pamac, as neither libalpm nor pacman contain the language "Error while configuring <XXX>" in their source. I believe pamac will alarm if the keyword "error" presents in the output of the post-installation scriptlet (in this case, triggered by gcc's -Werror= flag): https://github.com/manjaro/libpamac/blob/49bfde599ed00c127869a2797b5bb26e28e11c2a/src/alpm_utils.vala#L2161
I see nothing wrong after the installation and those built products are there as expected. I got no alarm if I install the built package with pacman.
BTW, I think it's advisable to not include this process in the PKGBUILD, as those shared libraries are best built on the system running PyCharm. Otherwise JetBrains would have supplied those binaries in their release tarball: https://www.jetbrains.com/help/pycharm/cython-speedups.html
Pinned Comments
Meaulnes commented on 2026-03-27 16:37 (UTC)
This comment from @AvacadoCookie should be pinned, IMO.
If anyone is getting errors about
Cythonorsetuptools, and they are usingConda, that comment has the answer.If anyone is getting errors about
Cythonorsetuptools, and they are usingpyenv, there are 2 possible ways to fix it:pyenv local systemto set Python back to the system installed Python for this session.pip install Cython setuptoolsto install the necessary packages to your preferred python installation.AvocadoCookie commented on 2025-12-14 16:22 (UTC)
For all users with
ModuleNotFoundError: No module named 'Cython'or'setuptools'reported, please try the following methods to address the problem:condaenvironment. Now afterwhich pythontyped in console, the output should be/usr/bin/python.pacman -S cython python-setuptools.