Skip to content

Instantly share code, notes, and snippets.

@cawfree
Last active September 23, 2021 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cawfree/f5355ee4ce5a8df78595fbb064e13656 to your computer and use it in GitHub Desktop.
Save cawfree/f5355ee4ce5a8df78595fbb064e13656 to your computer and use it in GitHub Desktop.
How to install deep-daze on MacOS
  1. Download and execute the latest version of the official Python 3.9 Installer.
  2. Once installed, accept the certificates for Python3.
  3. Next, append the following to your ~/.bashrc:
export PATH="$PATH:$HOME/usr/local/bin/python3.9:$HOME/Library/Frameworks/Python.framework/Versions/3.9/bin" # make python3 accessible
alias pip=pip3 # use pip3 whenever we make a call to pip
  1. Save your changes to ~/.bashrc and then use source ~/.bashrc.
  2. Next, use pip install deep-daze to install deep-daze and take a note of the location of the imagine binary by using pip uninstall deep-daze:
~ pip uninstall deep-daze
Found existing installation: deep-daze 0.10.2
Uninstalling deep-daze-0.10.2:
  Would remove:
    /Library/Frameworks/Python.framework/Versions/3.9/bin/imagine
    /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/deep_daze-0.10.2.dist-info/*
    /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/deep_daze/*
Proceed (Y/n)? 
  1. Finally, using the information from the previous step, you can invoke deep-daze like so:
Library/Frameworks/Python.framework/Versions/3.9/bin/imagine "a house in the woods"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment