Skip to content

Fix macOS install.sh by patching sysconfig#1488

Merged
damian0815 merged 1 commit into
invoke-ai:developmentfrom
damian0815:fix_macos_installer
Nov 17, 2022
Merged

Fix macOS install.sh by patching sysconfig#1488
damian0815 merged 1 commit into
invoke-ai:developmentfrom
damian0815:fix_macos_installer

Conversation

@damian0815
Copy link
Copy Markdown
Contributor

@damian0815 damian0815 commented Nov 15, 2022

On macOS, patch python sysconfig just before creating the venv so that extensions (greenlet & grpcio) can build.

Ref astral-sh/python-build-standalone#103, in particular the solution from @alecthomas posted here: astral-sh/python-build-standalone#103 (comment)

To use: checkout, cd into installer, run create_installers.sh, copy InvokeAI-mac.zip into an empty folder outside of your existing invokeAI install, unzip it and run install.sh.

Copy link
Copy Markdown
Contributor

@tildebyte tildebyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@tildebyte
Copy link
Copy Markdown
Contributor

@lstein; Please hold off on getting this into 'main'. I have some other fixes which, together with this, should probably go into a "Z-stream" release. I'm going to open a PR some time today/this evening

@damian0815
Copy link
Copy Markdown
Contributor Author

this isn't shippable, see #1491

@lstein lstein marked this pull request as draft November 16, 2022 16:53
Copy link
Copy Markdown
Collaborator

@lstein lstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tildebyte should review this as well.

@tildebyte
Copy link
Copy Markdown
Contributor

@damian0815; This can be merged whenever you're comfortable with it

@damian0815 damian0815 marked this pull request as ready for review November 17, 2022 21:33
@damian0815 damian0815 merged commit 7d262fc into invoke-ai:development Nov 17, 2022
@damian0815 damian0815 deleted the fix_macos_installer branch November 18, 2022 11:03
@psychedelicious psychedelicious mentioned this pull request Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants