#Can't get new installer script to work (M1).

22 messages Β· Page 1 of 1 (latest)

onyx blaze
#

@thin dagger @tacit warren I may be having a dumb day πŸ™‚

I just tried the mac src-installer....Getting this just as soon as I launch the .sh:

joe@MBP-J-Max invokeAI % ./install.sh
Installing InvokeAI..

Downloading micromamba from https://micro.mamba.pm/api/micromamba/mac-arm64/latest to /Users/joe/invokeAI/installer_files/mamba/micromamba
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 50 100 50 0 0 27 0 0:00:01 0:00:01 --:--:-- 27
tar: Error opening archive: Unrecognized archive format
Micromamba version:
Packages to install: conda
There was a problem while initializing micromamba. Cannot continue.

onyx blaze
#

Having a prob with reg. 1-click installer too: Tried the reg (non src) 1-click, and I get this:
Trying the new 1-click:

creating build/temp.macosx-11.0-arm64-cpython-310
creating build/temp.macosx-11.0-arm64-cpython-310/src
creating build/temp.macosx-11.0-arm64-cpython-310/src/greenlet
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -mmacosx-version-min=11.0 -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC -I/var/folders/c8/z52g4gc5679gygt8z0dx0jqm0000gn/T/tmp1kfkgxcf/tools/deps/include -I/var/folders/c8/z52g4gc5679gygt8z0dx0jqm0000gn/T/tmp1kfkgxcf/tools/deps/include/ncursesw -I/var/folders/c8/z52g4gc5679gygt8z0dx0jqm0000gn/T/tmp1kfkgxcf/tools/deps/include/uuid -Werror=unguarded-availability-new -I/Users/joe/InvokeAI/.venv/include -I/install/include/python3.10 -c src/greenlet/greenlet.cpp -o build/temp.macosx-11.0-arm64-cpython-310/src/greenlet/greenlet.o --std=gnu++11
src/greenlet/greenlet.cpp:16:10: fatal error: 'Python.h' file not found
#include <Python.h>
^~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

Γ— Encountered error while trying to install package.
╰─> greenlet

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.```


I even tried uninstalling other vers. of Python just to start clean with no conflicts.
river holly
#

mybe this is a noob question but I am getting dependency colnfloct on install realesrgan 0.3.0 depends on basicsr==1.4.1
gfpgan 1.3.8 depends on basicsr>=1.4.2

#

what should i do in this case?

forest brook
#

@river holly I fixed this temporarily by forcing a previous version of Real-ESRGAN. I edited environments-and-requirements/environment-mac.yml and changed line 59 (the one for Real-ESRGAN) to this:

- git+https://github.com/invoke-ai/Real-ESRGAN.git@5ca1078535923d485892caee7d7804380bfc87fd#egg=realesrgan

high schooner
#

Would love any help :) Love me some InvokeAI, so sleek pepeinlove

high schooner
#
╭─[~/Downloads/invoketest/InvokeAI]─[southmost@thing]─[130]─[585]
╰─[:(] % cd ..
╭─[~/Downloads/invoketest]─[southmost@thing]─[0]─[586]
╰─[:)] % ./InvokeAI/installer/install.sh
tacit warren
#

yay!

#

were working on fixing installers - weve got some work to do on our release process

high schooner
tardy cosmos
#

Same problem for me, neither of the installers worked on my M1 MacBook Pro 14”. Fingers crossed for the next version. The project looks awesome so I’m looking forward to trying it πŸ‘

tardy cosmos
# tacit warren What issue did you run into?

It was 2 errors when running the installer.

1: First I got this error the first time I ran install.sh from InvokeAI-mac.zip (lmbd missing xrun)

Running setup.py install for lmdb ... error
  error: subprocess-exited-with-error

  Γ— Running setup.py install for lmdb did not run successfully.
  β”‚ exit code: 1

[….]

 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

Γ— Encountered error while trying to install package.
╰─> lmdb

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Solved this by running

$ xcode-select --install

2: Now i get the same error as movingimage posted above (greenlet)

:

Running setup.py install for greenlet ... error
  error: subprocess-exited-with-error

  Γ— Running setup.py install for greenlet did not run successfully.
  β”‚ exit code: 1

[…]

src/greenlet/greenlet.cpp:16:10: fatal error: 'Python.h' file not found
      #include <Python.h>
               ^~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

Γ— Encountered error while trying to install package.
╰─> greenlet

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Using M1 Pro, macOS 13

tacit warren
#

Greenlet issue definitely is fixed

tardy cosmos
tacit warren
#

Try this fella

tardy cosmos
#

Hmm, how do I grab the grab the 'installer/install' .sh|.bat from dev?

tacit warren
#

If you’re not confident in messing with the repo stuff, you can just wait for 2.1.4… should be super near release