With or without libsecp256k1, I have the following error (it links an internal version of this lib (CC src/libsecp256k1_la-secp256k1.lo ) :
running build_ext generating cffi module 'build/temp.linux-x86_64-3.8/_libsecp256k1.c' Traceback (most recent call last): File "setup.py", line 250, in <module> setup( File "/usr/lib/python3.8/site-packages/setuptools/init.py", line 164, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands self.run_command(cmd) File "/usr/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/usr/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/usr/lib/python3.8/site-packages/cffi/setuptools_ext.py", line 142, in run base_class.run(self) File "setup.py", line 209, in run return _build_ext.run(self) File "/usr/lib/python3.8/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/usr/lib/python3.8/distutils/command/build_ext.py", line 445, in build_extensions self.check_extensions_list(self.extensions) File "/usr/lib/python3.8/distutils/command/build_ext.py", line 362, in check_extensions_list raise DistutilsSetupError( distutils.errors.DistutilsSetupError: each element of 'ext_modules' option must be an Extension instance or 2-tuple
Pinned Comments
carlosal1015 commented on 2023-05-20 03:16 (UTC)
18.0.0 is not support with old libsecp256k1