Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worker node local install error #33

Open
LinusWeigand opened this issue Jan 12, 2024 · 0 comments
Open

Worker node local install error #33

LinusWeigand opened this issue Jan 12, 2024 · 0 comments

Comments

@LinusWeigand
Copy link

When trying to run a nulink worker node on an ubuntu vm I get the following error when executing
sudo pip install nulink-0.5.0-py3-none-any.whl

I followed the install guide from: https://docs.nulink.org/products/stakers/nulink_worker/worker_install

What might be the problem?

Here is the error:

sudo pip install nulink-0.5.0-py3-none-any.whl
Processing ./nulink-0.5.0-py3-none-any.whl
Collecting mako==1.2.0
Downloading Mako-1.2.0-py3-none-any.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 KB 1.9 MB/s eta 0:00:00
Collecting packaging==21.3
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting requests==2.27.1
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting pyopenssl==22.0.0
Using cached pyOpenSSL-22.0.0-py2.py3-none-any.whl (55 kB)
Collecting py-evm==0.5.0a3
Using cached py_evm-0.5.0a3-py3-none-any.whl (276 kB)
Collecting msgpack-python==0.5.6
Using cached msgpack-python-0.5.6.tar.gz (138 kB)
Preparing metadata (setup.py) ... done
Collecting charset-normalizer==2.0.12
Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting semantic-version==2.9.0
Using cached semantic_version-2.9.0-py2.py3-none-any.whl (15 kB)
Collecting python-dateutil==2.8.2
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting libusb1==3.0.0
Using cached libusb1-3.0.0-py3-none-any.whl (62 kB)
Collecting pyethash==0.1.27
Using cached pyethash-0.1.27.tar.gz (38 kB)
Preparing metadata (setup.py) ... done
Collecting ecdsa==0.18.0b2
Using cached ecdsa-0.18.0b2-py2.py3-none-any.whl (142 kB)
Collecting dateparser==1.1.1
Using cached dateparser-1.1.1-py2.py3-none-any.whl (288 kB)
Requirement already satisfied: six==1.16.0 in /usr/lib/python3/dist-packages (from nulink==0.5.0) (1.16.0)
Collecting eth-keys==0.3.4
Using cached eth_keys-0.3.4-py3-none-any.whl (21 kB)
Collecting pillow==9.1.0
Using cached Pillow-9.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB)
Collecting werkzeug==2.1.1
Using cached Werkzeug-2.1.1-py3-none-any.whl (224 kB)
Collecting pysha3==1.0.2
Using cached pysha3-1.0.2.tar.gz (829 kB)
Preparing metadata (setup.py) ... done
Collecting humanize==4.0.0
Using cached humanize-4.0.0-py3-none-any.whl (97 kB)
Collecting tzlocal==2.1
Using cached tzlocal-2.1-py2.py3-none-any.whl (16 kB)
Collecting cffi==1.15.0
Using cached cffi-1.15.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (446 kB)
Collecting marshmallow==3.15.0
Using cached marshmallow-3.15.0-py3-none-any.whl (47 kB)
Collecting bytestring-splitter==2.4.1
Using cached bytestring_splitter-2.4.1-py3-none-any.whl (13 kB)
Requirement already satisfied: hyperlink==21.0.0 in /usr/lib/python3/dist-packages (from nulink==0.5.0) (21.0.0)
Collecting trie==2.0.0a5
Downloading trie-2.0.0a5-py3-none-any.whl (38 kB)
Collecting base58==2.1.1
Using cached base58-2.1.1-py3-none-any.whl (5.6 kB)
Requirement already satisfied: zope.interface==5.4.0 in /usr/lib/python3/dist-packages (from nulink==0.5.0) (5.4.0)
Requirement already satisfied: jinja2==3.0.3 in /usr/lib/python3/dist-packages (from nulink==0.5.0) (3.0.3)
Collecting pytzdata==2020.1
Using cached pytzdata-2020.1-py2.py3-none-any.whl (489 kB)
Collecting pynacl==1.5.0
Using cached PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
Collecting varint==1.0.2
Using cached varint-1.0.2.tar.gz (1.9 kB)
Preparing metadata (setup.py) ... done
Collecting multidict==6.0.2
Using cached multidict-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (114 kB)
Collecting nulink-twisted==0.1.0
Downloading nulink_twisted-0.1.0-py3-none-any.whl (3.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 37.8 MB/s eta 0:00:00
Collecting snaptime==0.2.4
Using cached snaptime-0.2.4.tar.gz (2.9 kB)
Preparing metadata (setup.py) ... done
Collecting pendulum==2.1.2
Using cached pendulum-2.1.2.tar.gz (81 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting aiohttp==3.8.1
Using cached aiohttp-3.8.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.2 MB)
Collecting appdirs==1.4.4
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting pycryptodome==3.14.1
Using cached pycryptodome-3.14.1-cp35-abi3-manylinux2010_x86_64.whl (2.0 MB)
Collecting urllib3==1.26.9
Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
Requirement already satisfied: pyrsistent==0.18.1 in /usr/lib/python3/dist-packages (from nulink==0.5.0) (0.18.1)
Collecting mnemonic==0.20
Using cached mnemonic-0.20-py3-none-any.whl (62 kB)
Collecting eth-hash[pycryptodome]==0.3.2
Using cached eth_hash-0.3.2-py3-none-any.whl (8.8 kB)
Collecting netaddr==0.8.0
Using cached netaddr-0.8.0-py2.py3-none-any.whl (1.9 MB)
Collecting trezor==0.13.0
Using cached trezor-0.13.0-py3-none-any.whl (178 kB)
Collecting service-identity==21.1.0
Using cached service_identity-21.1.0-py2.py3-none-any.whl (12 kB)
Collecting ipfshttpclient==0.8.0a2
Using cached ipfshttpclient-0.8.0a2-py3-none-any.whl (82 kB)
Requirement already satisfied: automat==20.2.0 in /usr/lib/python3/dist-packages (from nulink==0.5.0) (20.2.0)
Requirement already satisfied: constantly==15.1.0 in /usr/lib/python3/dist-packages (from nulink==0.5.0) (15.1.0)
Collecting markupsafe==2.1.1
Using cached MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting eth-utils==1.10.0
Using cached eth_utils-1.10.0-py3-none-any.whl (24 kB)
Collecting flask==2.1.1
Using cached Flask-2.1.1-py3-none-any.whl (95 kB)
Requirement already satisfied: idna==3.3 in /usr/lib/python3/dist-packages (from nulink==0.5.0) (3.3)
Collecting construct==2.10.68
Using cached construct-2.10.68.tar.gz (57 kB)
Preparing metadata (setup.py) ... done
Collecting cytoolz==0.11.2
Using cached cytoolz-0.11.2.tar.gz (481 kB)
Preparing metadata (setup.py) ... done
Collecting maya==0.6.1
Using cached maya-0.6.1-py2.py3-none-any.whl (12 kB)
Collecting hexbytes==0.2.2
Using cached hexbytes-0.2.2-py3-none-any.whl (6.1 kB)
Collecting frozenlist==1.3.0
Using cached frozenlist-1.3.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (157 kB)
Collecting eth-abi==2.1.1
Using cached eth_abi-2.1.1-py3-none-any.whl (27 kB)
Requirement already satisfied: pytz==2022.1 in /usr/lib/python3/dist-packages (from nulink==0.5.0) (2022.1)
Requirement already satisfied: incremental==21.3.0 in /usr/lib/python3/dist-packages (from nulink==0.5.0) (21.3.0)
Collecting eth-bloom==1.0.4
Using cached eth_bloom-1.0.4-py3-none-any.whl (5.4 kB)
Collecting pyparsing==3.0.8
Using cached pyparsing-3.0.8-py3-none-any.whl (98 kB)
Collecting txaio==22.2.1
Using cached txaio-22.2.1-py2.py3-none-any.whl (30 kB)
Collecting attrs==21.4.0
Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting typing-extensions==3.10.0.2
Using cached typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
Collecting nucypher-core==0.2.0
Using cached nucypher_core-0.2.0.tar.gz (19 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in
main()
File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
return hook(config_settings)
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 162, in get_requires_for_build_wheel
return self._get_build_requires(
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 143, in _get_build_requires
self.run_setup()
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 267, in run_setup
super(_BuildMetaLegacyBackend,
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 158, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 2, in
from setuptools_rust import Binding, RustExtension
File "/tmp/pip-build-env-8u9dz2tx/overlay/local/lib/python3.10/dist-packages/setuptools_rust/init.py", line 1, in
from .build import build_rust
File "/tmp/pip-build-env-8u9dz2tx/overlay/local/lib/python3.10/dist-packages/setuptools_rust/build.py", line 22, in
from setuptools.command.build import build as CommandBuild
ModuleNotFoundError: No module named 'setuptools.command.build'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant