- Download and execute the latest version of the official Python 3.9 Installer.
- Once installed, accept the certificates for Python3.
- 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
- Save your changes to
~/.bashrc
and then usesource ~/.bashrc
. - Next, use
pip install deep-daze
to install deep-daze and take a note of the location of theimagine
binary by usingpip 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)?
- 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"