Возникла ошибка при установке pip install bit . У меня ubunta 18 х 64, python2.7 , 3.6 , 3.8 по умолчанию выставил 3.8
Python:
root@ubuntu:~# pip install bit
Collecting bit
Using cached https://files.pythonhosted.org/packages/1a/e5/73e4e7578301eaa1984118b6e96269482832ed5c46274c96a24daa6bb6ff/bit-0.7.2-py3-none-any.whl
Requirement already satisfied: requests in /usr/local/lib/python3.8/dist-packages (from bit)
Collecting coincurve>=4.3.0 (from bit)
Using cached https://files.pythonhosted.org/packages/49/62/742ea42846d4250c9e3503e791b2906ede13d51fae09076802d9e96f466c/coincurve-15.0.1.tar.gz
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3/dist-packages (from requests->bit)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests->bit)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests->bit)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests->bit)
Requirement already satisfied: asn1crypto in /usr/lib/python3/dist-packages (from coincurve>=4.3.0->bit)
Requirement already satisfied: cffi>=1.3.0 in /usr/local/lib/python3.8/dist-packages (from coincurve>=4.3.0->bit)
Requirement already satisfied: pycparser in /usr/local/lib/python3.8/dist-packages (from cffi>=1.3.0->coincurve>=4.3.0->bit)
Building wheels for collected packages: coincurve
Running setup.py bdist_wheel for coincurve ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-k98jsyhd/coincurve/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpo47nw29xpip-wheel- --python-tag cp38:
/usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/coincurve
copying coincurve/types.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/context.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/flags.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/utils.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/__init__.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/ecdsa.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/_windows_libsecp256k1.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/keys.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/py.typed -> build/lib.linux-x86_64-3.8/coincurve
running build_clib
/tmp/pip-build-k98jsyhd/coincurve/libsecp256k1/autogen.sh: 3: /tmp/pip-build-k98jsyhd/coincurve/libsecp256k1/autogen.sh: autoreconf: not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-k98jsyhd/coincurve/setup.py", line 260, in <module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-build-k98jsyhd/coincurve/setup.py", line 95, in run
_bdist_wheel.run(self)
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 204, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-build-k98jsyhd/coincurve/setup.py", line 152, in run
subprocess.check_call([autogen], cwd=absolute('libsecp256k1'))
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/tmp/pip-build-k98jsyhd/coincurve/libsecp256k1/autogen.sh']' returned non-zero exit status 127.
----------------------------------------
Failed building wheel for coincurve
Running setup.py clean for coincurve
Failed to build coincurve
Installing collected packages: coincurve, bit
Running setup.py install for coincurve ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-k98jsyhd/coincurve/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-nyhigu5a-record/install-record.txt --single-version-externally-managed --compile:
/usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/coincurve
copying coincurve/types.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/context.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/flags.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/utils.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/__init__.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/ecdsa.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/_windows_libsecp256k1.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/keys.py -> build/lib.linux-x86_64-3.8/coincurve
copying coincurve/py.typed -> build/lib.linux-x86_64-3.8/coincurve
running build_clib
/tmp/pip-build-k98jsyhd/coincurve/libsecp256k1/autogen.sh: 3: /tmp/pip-build-k98jsyhd/coincurve/libsecp256k1/autogen.sh: autoreconf: not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-k98jsyhd/coincurve/setup.py", line 260, in <module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.8/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-build-k98jsyhd/coincurve/setup.py", line 152, in run
subprocess.check_call([autogen], cwd=absolute('libsecp256k1'))
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/tmp/pip-build-k98jsyhd/coincurve/libsecp256k1/autogen.sh']' returned non-zero exit status 127.
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-k98jsyhd/coincurve/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-nyhigu5a-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-k98jsyhd/coincurve/
root@ubuntu:~#