Skip to content

can't install secp256k1 #33

Description

@bitProfessor

pip3 install secp256k1
Collecting secp256k1
Using cached https://files.pythonhosted.org/packages/52/62/d7bf3829e126e517e253d2e22a63511c54bbaac34d7ddea316cde040fc49/secp256k1-0.13.2.tar.gz
Requirement already satisfied: cffi>=1.3.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from secp256k1) (1.11.4)
Requirement already satisfied: pycparser in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from cffi>=1.3.0->secp256k1) (2.18)
Installing collected packages: secp256k1
Running setup.py install for secp256k1 ... error
Complete output from command /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/gp/s1z4588n7rl0v6_zkr6st3p80000gn/T/pip-install-jopw882v/secp256k1/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/gp/s1z4588n7rl0v6_zkr6st3p80000gn/T/pip-record-_rtg1xtz/install-record.txt --single-version-externally-managed --compile:
0.29.2
Using bundled libsecp256k1
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.7
creating build/lib.macosx-10.9-x86_64-3.7/secp256k1
copying secp256k1/init.py -> build/lib.macosx-10.9-x86_64-3.7/secp256k1
copying secp256k1/main.py -> build/lib.macosx-10.9-x86_64-3.7/secp256k1
running build_clib
Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/gp/s1z4588n7rl0v6_zkr6st3p80000gn/T/pip-install-jopw882v/secp256k1/setup.py", line 295, in
"Topic :: Security :: Cryptography"
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/command/install.py", line 545, in run
self.run_command('build')
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/var/folders/gp/s1z4588n7rl0v6_zkr6st3p80000gn/T/pip-install-jopw882v/secp256k1/setup.py", line 165, in run
cwd=absolute("libsecp256k1"),
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/private/var/folders/gp/s1z4588n7rl0v6_zkr6st3p80000gn/T/pip-install-jopw882v/secp256k1/libsecp256k1/autogen.sh']' returned non-zero exit status 1.

----------------------------------------

Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/gp/s1z4588n7rl0v6_zkr6st3p80000gn/T/pip-install-jopw882v/secp256k1/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/gp/s1z4588n7rl0v6_zkr6st3p80000gn/T/pip-record-_rtg1xtz/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/gp/s1z4588n7rl0v6_zkr6st3p80000gn/T/pip-install-jopw882v/secp256k1/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions