Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (art) [arnaldo@MboiTui Sardine]$ poetry install
- Installing dependencies from lock file
- Package operations: 1 install, 0 updates, 0 removals
- • Installing linkpython (0.1.1): Failed
- CalledProcessError
- Command '['/home/arnaldo/Envs/art/bin/python', '-m', 'pip', 'install', '--use-pep517', '--disable-pip-version-check', '--prefix', '/home/arnaldo/Envs/art', '--no-deps', '/home/arnaldo/.cache/pypoetry/artifacts/db/73/4c/ecd872eb7f42c94218651ae664fa038e4d0ab9baa958a405709f9bd0ff/LinkPython-0.1.1.tar.gz']' returned non-zero exit status 1.
- at /usr/lib/python3.9/subprocess.py:528 in run
- 524│ # We don't call process.wait() as .__exit__ does that for us.
- 525│ raise
- 526│ retcode = process.poll()
- 527│ if check and retcode:
- → 528│ raise CalledProcessError(retcode, process.args,
- 529│ output=stdout, stderr=stderr)
- 530│ return CompletedProcess(process.args, retcode, stdout, stderr)
- 531│
- 532│
- The following error occurred when trying to handle this error:
- EnvCommandError
- Command ['/home/arnaldo/Envs/art/bin/python', '-m', 'pip', 'install', '--use-pep517', '--disable-pip-version-check', '--prefix', '/home/arnaldo/Envs/art', '--no-deps', '/home/arnaldo/.cache/pypoetry/artifacts/db/73/4c/ecd872eb7f42c94218651ae664fa038e4d0ab9baa958a405709f9bd0ff/LinkPython-0.1.1.tar.gz'] errored with the following return code 1, and output:
- Processing /home/arnaldo/.cache/pypoetry/artifacts/db/73/4c/ecd872eb7f42c94218651ae664fa038e4d0ab9baa958a405709f9bd0ff/LinkPython-0.1.1.tar.gz
- Installing build dependencies: started
- Installing build dependencies: finished with status 'done'
- Getting requirements to build wheel: started
- Getting requirements to build wheel: finished with status 'done'
- Preparing metadata (pyproject.toml): started
- Preparing metadata (pyproject.toml): finished with status 'done'
- Building wheels for collected packages: LinkPython
- Building wheel for LinkPython (pyproject.toml): started
- Building wheel for LinkPython (pyproject.toml): finished with status 'error'
- error: subprocess-exited-with-error
- × Building wheel for LinkPython (pyproject.toml) did not run successfully.
- │ exit code: 1
- ╰─> [63 lines of output]
- running bdist_wheel
- running build
- running build_ext
- Traceback (most recent call last):
- File "<string>", line 27, in run
- File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
- return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
- File "/usr/lib/python3.9/subprocess.py", line 505, in run
- with Popen(*popenargs, **kwargs) as process:
- File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
- self._execute_child(args, executable, preexec_fn, close_fds,
- File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
- raise child_exception_type(errno_num, err_msg, err_filename)
- FileNotFoundError: [Errno 2] No such file or directory: 'cmake'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/arnaldo/Envs/art/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
- main()
- File "/home/arnaldo/Envs/art/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
- json_out['return_val'] = hook(**hook_input['kwargs'])
- File "/home/arnaldo/Envs/art/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
- return _build_backend().build_wheel(wheel_directory, config_settings,
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 412, in build_wheel
- return self._build_with_temp_dir(['bdist_wheel'], '.whl',
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
- self.run_setup()
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 482, in run_setup
- super(_BuildMetaLegacyBackend,
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 335, in run_setup
- exec(code, locals())
- File "<string>", line 65, in <module>
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
- return distutils.core.setup(**attrs)
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
- return run_commands(dist)
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
- dist.run_commands()
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
- self.run_command(cmd)
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
- super().run_command(command)
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
- cmd_obj.run()
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
- self.run_command('build')
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
- self.distribution.run_command(command)
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
- super().run_command(command)
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
- cmd_obj.run()
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 132, in run
- self.run_command(cmd_name)
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
- self.distribution.run_command(command)
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
- super().run_command(command)
- File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
- cmd_obj.run()
- File "<string>", line 29, in run
- RuntimeError: CMake must be installed to build the following extensions: LinkPython
- [end of output]
- note: This error originates from a subprocess, and is likely not a problem with pip.
- ERROR: Failed building wheel for LinkPython
- Failed to build LinkPython
- ERROR: Could not build wheels for LinkPython, which is required to install pyproject.toml-based projects
- at ~/Envs/art/lib/python3.9/site-packages/poetry/utils/env.py:1476 in _run
- 1472│ output = subprocess.check_output(
- 1473│ command, stderr=subprocess.STDOUT, env=env, **kwargs
- 1474│ )
- 1475│ except CalledProcessError as e:
- → 1476│ raise EnvCommandError(e, input=input_)
- 1477│
- 1478│ return decode(output)
- 1479│
- 1480│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:
- The following error occurred when trying to handle this error:
- PoetryException
- Failed to install /home/arnaldo/.cache/pypoetry/artifacts/db/73/4c/ecd872eb7f42c94218651ae664fa038e4d0ab9baa958a405709f9bd0ff/LinkPython-0.1.1.tar.gz
- at ~/Envs/art/lib/python3.9/site-packages/poetry/utils/pip.py:51 in pip_install
- 47│
- 48│ try:
- 49│ return environment.run_pip(*args)
- 50│ except EnvCommandError as e:
- → 51│ raise PoetryException(f"Failed to install {path.as_posix()}") from e
- 52│
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement