Replies: 1 comment
-
Hi @tyomasun The reason for this is that for some reason the package is installing from source, which needs the Rust compiler to compile some static libraries. Out of interest what is your operating system and CPU architecture? A few users have run into this lately, so we'll be providing a clearer error message soon. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Python 3.9.16
pip install -v -U nautilus_trader
Running command Building wheel for nautilus_trader (pyproject.toml)
=====================================================================
Nautilus Builder
Traceback (most recent call last):
File "/tmp/pip-install-96cm_43i/nautilus-trader_f93807fff4c248b3b2563b458df0b82d/build.py", line 234, in
rustc_version = subprocess.check_output(["rustc", "--version"]) # noqa
File "/usr/lib64/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib64/python3.9/subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib64/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib64/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'rustc'
Traceback (most recent call last):
File "/home/fm/.local/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in
main()
File "/home/fm/.local/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/fm/.local/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 249, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-zdu1_sii/overlay/lib/python3.9/site-packages/poetry/core/masonry/api.py", line 56, in build_wheel
return WheelBuilder.make_in(
File "/tmp/pip-build-env-zdu1_sii/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 85, in make_in
wb.build(target_dir=directory)
File "/tmp/pip-build-env-zdu1_sii/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 120, in build
self._build(zip_file)
File "/tmp/pip-build-env-zdu1_sii/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 169, in _build
self._run_build_script(self._package.build_script)
File "/tmp/pip-build-env-zdu1_sii/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 229, in _run_build_script
subprocess.check_call([self.executable.as_posix(), build_script])
File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', 'build.py']' returned non-zero exit status 1.
error: subprocess-exited-with-error
× Building wheel for nautilus_trader (pyproject.toml) 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.
full command: /usr/bin/python3 /home/fm/.local/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmprscvdds1
cwd: /tmp/pip-install-96cm_43i/nautilus-trader_f93807fff4c248b3b2563b458df0b82d
Building wheel for nautilus_trader (pyproject.toml) ... error
ERROR: Failed building wheel for nautilus_trader
Failed to build nautilus_trader
ERROR: Could not build wheels for nautilus_trader, which is required to install pyproject.toml-based projects
Beta Was this translation helpful? Give feedback.
All reactions