Advertisement
arnaldorusso

Sardine dependency

Oct 6th, 2022
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.52 KB | Source Code | 0 0
  1. (art) [arnaldo@MboiTui Sardine]$ poetry install
  2. Installing dependencies from lock file
  3.  
  4. Package operations: 1 install, 0 updates, 0 removals
  5.  
  6.   • Installing linkpython (0.1.1): Failed
  7.  
  8.   CalledProcessError
  9.  
  10.   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.
  11.  
  12.   at /usr/lib/python3.9/subprocess.py:528 in run
  13.        524│             # We don't call process.wait() as .__exit__ does that for us.
  14.        525│             raise
  15.        526│         retcode = process.poll()
  16.        527│         if check and retcode:
  17.     →  528│             raise CalledProcessError(retcode, process.args,
  18.        529│                                      output=stdout, stderr=stderr)
  19.        530│     return CompletedProcess(process.args, retcode, stdout, stderr)
  20.        531
  21.        532
  22.  
  23. The following error occurred when trying to handle this error:
  24.  
  25.  
  26.   EnvCommandError
  27.  
  28.   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:
  29.   Processing /home/arnaldo/.cache/pypoetry/artifacts/db/73/4c/ecd872eb7f42c94218651ae664fa038e4d0ab9baa958a405709f9bd0ff/LinkPython-0.1.1.tar.gz
  30.     Installing build dependencies: started
  31.     Installing build dependencies: finished with status 'done'
  32.     Getting requirements to build wheel: started
  33.     Getting requirements to build wheel: finished with status 'done'
  34.     Preparing metadata (pyproject.toml): started
  35.     Preparing metadata (pyproject.toml): finished with status 'done'
  36.   Building wheels for collected packages: LinkPython
  37.     Building wheel for LinkPython (pyproject.toml): started
  38.     Building wheel for LinkPython (pyproject.toml): finished with status 'error'
  39.     error: subprocess-exited-with-error
  40.    
  41.     × Building wheel for LinkPython (pyproject.toml) did not run successfully.
  42.     │ exit code: 1
  43.     ╰─> [63 lines of output]
  44.         running bdist_wheel
  45.         running build
  46.         running build_ext
  47.         Traceback (most recent call last):
  48.           File "<string>", line 27, in run
  49.           File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
  50.             return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  51.           File "/usr/lib/python3.9/subprocess.py", line 505, in run
  52.             with Popen(*popenargs, **kwargs) as process:
  53.           File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
  54.             self._execute_child(args, executable, preexec_fn, close_fds,
  55.           File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
  56.             raise child_exception_type(errno_num, err_msg, err_filename)
  57.         FileNotFoundError: [Errno 2] No such file or directory: 'cmake'
  58.        
  59.         During handling of the above exception, another exception occurred:
  60.        
  61.         Traceback (most recent call last):
  62.           File "/home/arnaldo/Envs/art/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
  63.             main()
  64.           File "/home/arnaldo/Envs/art/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
  65.             json_out['return_val'] = hook(**hook_input['kwargs'])
  66.           File "/home/arnaldo/Envs/art/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
  67.             return _build_backend().build_wheel(wheel_directory, config_settings,
  68.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 412, in build_wheel
  69.             return self._build_with_temp_dir(['bdist_wheel'], '.whl',
  70.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
  71.             self.run_setup()
  72.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 482, in run_setup
  73.             super(_BuildMetaLegacyBackend,
  74.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 335, in run_setup
  75.             exec(code, locals())
  76.           File "<string>", line 65, in <module>
  77.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
  78.             return distutils.core.setup(**attrs)
  79.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
  80.             return run_commands(dist)
  81.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
  82.             dist.run_commands()
  83.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
  84.             self.run_command(cmd)
  85.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
  86.             super().run_command(command)
  87.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
  88.             cmd_obj.run()
  89.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
  90.             self.run_command('build')
  91.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
  92.             self.distribution.run_command(command)
  93.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
  94.             super().run_command(command)
  95.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
  96.             cmd_obj.run()
  97.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 132, in run
  98.             self.run_command(cmd_name)
  99.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
  100.             self.distribution.run_command(command)
  101.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
  102.             super().run_command(command)
  103.           File "/tmp/pip-build-env-3evdiprp/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
  104.             cmd_obj.run()
  105.           File "<string>", line 29, in run
  106.         RuntimeError: CMake must be installed to build the following extensions: LinkPython
  107.         [end of output]
  108.    
  109.     note: This error originates from a subprocess, and is likely not a problem with pip.
  110.     ERROR: Failed building wheel for LinkPython
  111.   Failed to build LinkPython
  112.   ERROR: Could not build wheels for LinkPython, which is required to install pyproject.toml-based projects
  113.  
  114.  
  115.   at ~/Envs/art/lib/python3.9/site-packages/poetry/utils/env.py:1476 in _run
  116.       1472│                 output = subprocess.check_output(
  117.       1473│                     command, stderr=subprocess.STDOUT, env=env, **kwargs
  118.       1474│                 )
  119.       1475│         except CalledProcessError as e:
  120.     → 1476│             raise EnvCommandError(e, input=input_)
  121.       1477
  122.       1478│         return decode(output)
  123.       1479
  124.       1480│     def execute(self, bin: str, *args: str, **kwargs: Any) -> int:
  125.  
  126. The following error occurred when trying to handle this error:
  127.  
  128.  
  129.   PoetryException
  130.  
  131.   Failed to install /home/arnaldo/.cache/pypoetry/artifacts/db/73/4c/ecd872eb7f42c94218651ae664fa038e4d0ab9baa958a405709f9bd0ff/LinkPython-0.1.1.tar.gz
  132.  
  133.   at ~/Envs/art/lib/python3.9/site-packages/poetry/utils/pip.py:51 in pip_install
  134.        47
  135.        48│     try:
  136.        49│         return environment.run_pip(*args)
  137.        50│     except EnvCommandError as e:
  138.     →  51│         raise PoetryException(f"Failed to install {path.as_posix()}") from e
  139.        52
  140.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement