Skip to content

FileNotFoundError: [Errno 2] No such file or directory: 'command' #2

Description

@sugizo

env
google colab

steps

pip install -U layout3mesh
!wget -c https://raw.githubusercontent.com/das-dias/layout3mesh/master/tests/data/crossed_metal.gds
!wget -c https://raw.githubusercontent.com/das-dias/layout3mesh/master/tests/data/mock_layers.ymls
!layout3mesh -i ./crossed_metal.gds -t ./mock_layers.ymls -o ./crossed_metal.gltf

result

Traceback (most recent call last):
  File "/usr/local/bin/layout3mesh", line 5, in <module>
    from layout3mesh.cli import main
  File "/usr/local/lib/python3.10/dist-packages/layout3mesh/cli.py", line 59, in <module>
    subprocess.check_output(["command", "-v", "blender"])
  File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 503, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'command'

best regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions