Skip to content

[bug]: ERROR: Directory invokeAI/installer[onnx] is not installable. Neither 'setup.py' nor 'pyproject.toml' found. #5097

@sammcj

Description

@sammcj

Is there an existing issue for this?

  • I have searched the existing issues

OS

macOS

GPU

cpu

VRAM

96GB

What version did you experience this issue on?

3.3.0-post3

What happened?

When trying to install InvokeAI on macOS the install / reinstall process fails with "Neither 'setup.py' nor 'pyproject.toml' found."

  • macOS 14.1.1
  • Python 3.11.6 from pyenv
    • Also tested with Python 3.12.0
    • Shouldn't InvokeAI be using it's own bundled / isolated python version
~ which python
/Users/samm/.pyenv/shims/python
~ python --version
Python 3.11.6

Additional context

Clean install:

─────────────────────────────────────────────────────── Installing the InvokeAI Application 🎨 ────────────────────────────────────────────────────────
Unable to find a wheel or perform a source install. Giving up.
ERROR: Directory '/Users/samm/git/InvokeAI/installer[onnx]' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
Traceback (most recent call last):
  File "/Users/samm/git/InvokeAI/installer/./lib/main.py", line 52, in <module>
    inst.install(**args.__dict__)
  File "/Users/samm/git/InvokeAI/installer/lib/installer.py", line 173, in install
    self.instance.install(
  File "/Users/samm/git/InvokeAI/installer/lib/installer.py", line 229, in install
    self.install_app(extra_index_url, optional_modules, find_links)
  File "/Users/samm/git/InvokeAI/installer/lib/installer.py", line 308, in install_app
    pip[
  File "/private/var/folders/b2/wnpx7gg566l7dq63x0h27r9r0000gn/T/invokeai-installer-tmpmcjc5bbv/lib/python3.11/site-packages/plumbum/commands/modifiers.py", line 145, in __rand__
    cmd(
  File "/private/var/folders/b2/wnpx7gg566l7dq63x0h27r9r0000gn/T/invokeai-installer-tmpmcjc5bbv/lib/python3.11/site-packages/plumbum/commands/base.py", line 113, in __call__
    return self.run(args, **kwargs)[1]
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/private/var/folders/b2/wnpx7gg566l7dq63x0h27r9r0000gn/T/invokeai-installer-tmpmcjc5bbv/lib/python3.11/site-packages/plumbum/commands/base.py", line 252, in run
    return p.run()
           ^^^^^^^
  File "/private/var/folders/b2/wnpx7gg566l7dq63x0h27r9r0000gn/T/invokeai-installer-tmpmcjc5bbv/lib/python3.11/site-packages/plumbum/commands/base.py", line 215, in runner
    return run_proc(p, retcode, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/private/var/folders/b2/wnpx7gg566l7dq63x0h27r9r0000gn/T/invokeai-installer-tmpmcjc5bbv/lib/python3.11/site-packages/plumbum/commands/processes.py", line 299, in run_proc
    return _check_process(proc, retcode, timeout, stdout, stderr)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/private/var/folders/b2/wnpx7gg566l7dq63x0h27r9r0000gn/T/invokeai-installer-tmpmcjc5bbv/lib/python3.11/site-packages/plumbum/commands/processes.py", line 17, in _check_process
    proc.verify(retcode, timeout, stdout, stderr)
  File "/private/var/folders/b2/wnpx7gg566l7dq63x0h27r9r0000gn/T/invokeai-installer-tmpmcjc5bbv/lib/python3.11/site-packages/plumbum/machines/base.py", line 27, in verify
    raise ProcessExecutionError(
plumbum.commands.processes.ProcessExecutionError: Unexpected exit code: 1
Command line: | /Users/samm/invokeai/.venv/bin/pip install --require-virtualenv --use-pep517 '/Users/samm/git/InvokeAI/installer[onnx]'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginstall

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions