You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./venv/bin/pip install -r requirements.txt
echo "=========> Change directory to custom_nodes"
cd custom_nodes
echo "=========> Clone ComfyUI-Manager"
git clone https://github.com/ltdrdata/ComfyUI-Manager.git
cd '/private/var/folders/98/m330_r_x32g1g4txzqhhgl8m0000gn/T/AppTranslocation/07068557-16AC-478D-8EBC-CEB7D86CD676/d/'
echo "=========> Change directory"
cd ComfyUI
kill_server_on_port 8188
echo "=========> Start ConfyUI insiade of the environment "
./venv/bin/python main.py &
sleep 2
echo "=========>Open Browser "
open http://127.0.0.1:8188
}
wmimac:d maxfield$ kill_server_on_port() {
echo "=========> Checking if a server is running on port $1..."
server_pid=$(lsof -i :$1 | grep LISTEN | awk '{print $2}')
if [ -n "$server_pid" ]; then
echo "=========> Server found with PID $server_pid. Killing server..."
kill -9 $server_pid
echo "=========> Server on port $1 has been killed."
else
echo "=========> No server is currently running on port $1."
fi
}
wmimac:d maxfield$ echo "===========================> InstallComfyUI v.0.9.0 <==========================="
===========================> InstallComfyUI v.0.9.0 <===========================
wmimac:d maxfield$ install_homebrew
=========> Check if Homebrew is installed
=========> Homebrew not found. Installing Homebrew...
=========> install homebrew
==> Checking for sudo access (which may request your password)...
Password:
Sorry, try again.
Password:
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following new directories will be created:
/usr/local/Cellar
/usr/local/Caskroom
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).
Run these commands in your terminal to add Homebrew to your PATH:
echo >> /Users/maxfield/.zprofile
echo 'eval "$(/usr/local/bin/brew shellenv)"' >> /Users/maxfield/.zprofile
eval "$(/usr/local/bin/brew shellenv)"
=========> Homebrew is installed.
=========> install Python
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.13/manifests/3.13.3-1
###################################################################################################################### 100.0%
Error: /usr/local/Cellar/mpdecimal/4.0.0 is not a directory
=========> Clone the Git repository
fatal: could not create work tree dir 'ComfyUI': Read-only file system
=========> Change directory to the cloned repository
-bash: cd: ComfyUI: No such file or directory
=========> Create and activate virtual environment
Could not import runpy module
Traceback (most recent call last):
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 1176, in exec_module
File "", line 14, in
File "", line 1360, in _find_and_load
File "", line 1322, in _find_and_load_unlocked
File "", line 1262, in _find_spec
File "", line 1559, in find_spec
File "", line 1533, in _get_spec
File "", line 1636, in find_spec
File "", line 1679, in _fill_cache
OSError: [Errno 34] Result too large: '/private/var/folders/98/m330_r_x32g1g4txzqhhgl8m0000gn/T/AppTranslocation/07068557-16AC-478D-8EBC-CEB7D86CD676/d'
=========> Activate virtual environment
-bash: venv/bin/activate: No such file or directory
=========> Install torchvision inside of virtual environment
-bash: ./venv/bin/pip: No such file or directory
-bash: ./venv/bin/pip: No such file or directory
=========> Change directory to custom_nodes
-bash: cd: custom_nodes: No such file or directory
=========> Clone ComfyUI-Manager
fatal: could not create work tree dir 'ComfyUI-Manager': Read-only file system
=========> Change directory
-bash: cd: ComfyUI: No such file or directory
=========> Checking if a server is running on port 8188...
=========> No server is currently running on port 8188.
=========> Start ConfyUI insiade of the environment
[1] 8644
-bash: ./venv/bin/python: No such file or directory
[1]+ Exit 127 ./venv/bin/python main.py
=========>Open Browser
echo "=========> Check if Homebrew is installed"
if ! command -v brew &>/dev/null; then
echo "=========> Homebrew not found. Installing Homebrew..."
echo "=========> install homebrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
echo "=========> Homebrew is installed."
continue_script
}
continue_script() {
echo "=========> install Python"
brew install python
echo "=========> Clone the Git repository"
git clone https://github.com/comfyanonymous/ComfyUI
echo "=========> Change directory to the cloned repository"
cd ComfyUI
echo "=========> Create and activate virtual environment"
python3 -m venv venv
echo "=========> Activate virtual environment"
source venv/bin/activate
echo "=========> Install torchvision inside of virtual environment "
./venv/bin/pip instwmimac:~ maxfield$
wmimac:~ maxfield$ cd '/private/var/folders/98/m330_r_x32g1g4txzqhhgl8m0000gn/T/AppTranslocation/07068557-16AC-478D-8EBC-CEB7D86CD676/d/'
wmimac:d maxfield$ install_homebrew() {
echo "=========> Check if Homebrew is installed"
if ! command -v brew &>/dev/null; then
echo "=========> Homebrew not found. Installing Homebrew..."
echo "=========> install homebrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
echo "=========> Homebrew is installed."
continue_script
./venv/bin/pip install -r requirements.txt
echo "=========> Change directory to custom_nodes"
cd custom_nodes
echo "=========> Clone ComfyUI-Manager"
git clone https://github.com/ltdrdata/ComfyUI-Manager.git
cd '/private/var/folders/98/m330_r_x32g1g4txzqhhgl8m0000gn/T/AppTranslocation/07068557-16AC-478D-8EBC-CEB7D86CD676/d/'
echo "=========> Change directory"
cd ComfyUI
kill_server_on_port 8188
echo "=========> Start ConfyUI insiade of the environment "
./venv/bin/python main.py &
sleep 2
echo "=========>Open Browser "
open http://127.0.0.1:8188
}
wmimac:d maxfield$ kill_server_on_port() {
echo "=========> Checking if a server is running on port $1..."
server_pid=$(lsof -i :$1 | grep LISTEN | awk '{print $2}')
if [ -n "$server_pid" ]; then
echo "=========> Server found with PID $server_pid. Killing server..."
kill -9 $server_pid
echo "=========> Server on port $1 has been killed."
else
echo "=========> No server is currently running on port $1."
fi
}
wmimac:d maxfield$ echo "===========================> InstallComfyUI v.0.9.0 <==========================="
===========================> InstallComfyUI v.0.9.0 <===========================
wmimac:d maxfield$ install_homebrew
=========> Check if Homebrew is installed
=========> Homebrew is installed.
=========> install Python
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.13/manifests/3.13.3-1
Already downloaded: /Users/maxfield/Library/Caches/Homebrew/downloads/c1320fdecb7ec29ab4a10c506bbe39179751a95489af3414b3a4acce32721cc0--python@3.13-3.13.3-1.bottle_manifest.json
Error: /usr/local/Cellar/openssl@3/3.2.1 is not a directory
=========> Clone the Git repository
fatal: could not create work tree dir 'ComfyUI': Read-only file system
=========> Change directory to the cloned repository
-bash: cd: ComfyUI: No such file or directory
=========> Create and activate virtual environment
Could not import runpy module
Traceback (most recent call last):
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 1176, in exec_module
File "", line 14, in
File "", line 1360, in _find_and_load
File "", line 1322, in _find_and_load_unlocked
File "", line 1262, in _find_spec
File "", line 1559, in find_spec
File "", line 1533, in _get_spec
File "", line 1636, in find_spec
File "", line 1679, in _fill_cache
OSError: [Errno 34] Result too large: '/private/var/folders/98/m330_r_x32g1g4txzqhhgl8m0000gn/T/AppTranslocation/07068557-16AC-478D-8EBC-CEB7D86CD676/d'
=========> Activate virtual environment
-bash: venv/bin/activate: No such file or directory
=========> Install torchvision inside of virtual environment
-bash: ./venv/bin/pip: No such file or directory
-bash: ./venv/bin/pip: No such file or directory
=========> Change directory to custom_nodes
-bash: cd: custom_nodes: No such file or directory
=========> Clone ComfyUI-Manager
fatal: could not create work tree dir 'ComfyUI-Manager': Read-only file system
=========> Change directory
-bash: cd: ComfyUI: No such file or directory
=========> Checking if a server is running on port 8188...
=========> No server is currently running on port 8188.
=========> Start ConfyUI insiade of the environment
[1] 10613
-bash: ./venv/bin/python: No such file or directory
[1]+ Exit 127 ./venv/bin/python main.py
=========>Open Browser
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
originally: No homebrew installed. Macport installed. iMac i9, 2019 model.
Error checking in script not functioning well.
tried doing by hand, but was unable to get torch installed.
Press RETURN/ENTER to continue or any other key to abort:
==> /usr/bin/sudo /bin/mkdir -p /usr/local/Cellar /usr/local/Caskroom
==> /usr/bin/sudo /bin/chmod ug=rwx /usr/local/Cellar /usr/local/Caskroom
==> /usr/bin/sudo /usr/sbin/chown maxfield /usr/local/Cellar /usr/local/Caskroom
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/Cellar /usr/local/Caskroom
==> /usr/bin/sudo /bin/mkdir -p /usr/local/Homebrew
==> /usr/bin/sudo /usr/sbin/chown -R maxfield:admin /usr/local/Homebrew
==> /usr/bin/sudo /bin/mkdir -p /Users/maxfield/Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Users/maxfield/Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown -R maxfield /Users/maxfield/Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Enumerating objects: 299399, done.
remote: Counting objects: 100% (27074/27074), done.
remote: Compressing objects: 100% (795/795), done.
remote: Total 299399 (delta 26607), reused 26323 (delta 26279), pack-reused 272325 (from 2)
remote: Enumerating objects: 55, done.
remote: Counting objects: 100% (34/34), done.
remote: Total 55 (delta 33), reused 33 (delta 33), pack-reused 21 (from 1)
==> Updating Homebrew...
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:ef0bc1da0f381f61f3e1fbc1abaf7616f66d1e2fff5eff3682645f966077392d
###################################################################################################################### 100.0%
==> Pouring portable-ruby-3.3.8.el_capitan.bottle.tar.gz
==> Installation successful!
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
==> Next steps:
echo >> /Users/maxfield/.zprofile
echo 'eval "$(/usr/local/bin/brew shellenv)"' >> /Users/maxfield/.zprofile
eval "$(/usr/local/bin/brew shellenv)"
https://docs.brew.sh
=========> Homebrew is installed.
=========> install Python
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.13/manifests/3.13.3-1
###################################################################################################################### 100.0%
Error: /usr/local/Cellar/mpdecimal/4.0.0 is not a directory
=========> Clone the Git repository
fatal: could not create work tree dir 'ComfyUI': Read-only file system
=========> Change directory to the cloned repository
-bash: cd: ComfyUI: No such file or directory
=========> Create and activate virtual environment
Could not import runpy module
Traceback (most recent call last):
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 1176, in exec_module
File "", line 14, in
File "", line 1360, in _find_and_load
File "", line 1322, in _find_and_load_unlocked
File "", line 1262, in _find_spec
File "", line 1559, in find_spec
File "", line 1533, in _get_spec
File "", line 1636, in find_spec
File "", line 1679, in _fill_cache
OSError: [Errno 34] Result too large: '/private/var/folders/98/m330_r_x32g1g4txzqhhgl8m0000gn/T/AppTranslocation/07068557-16AC-478D-8EBC-CEB7D86CD676/d'
=========> Activate virtual environment
-bash: venv/bin/activate: No such file or directory
=========> Install torchvision inside of virtual environment
-bash: ./venv/bin/pip: No such file or directory
-bash: ./venv/bin/pip: No such file or directory
=========> Change directory to custom_nodes
-bash: cd: custom_nodes: No such file or directory
=========> Clone ComfyUI-Manager
fatal: could not create work tree dir 'ComfyUI-Manager': Read-only file system
=========> Change directory
-bash: cd: ComfyUI: No such file or directory
=========> Checking if a server is running on port 8188...
=========> No server is currently running on port 8188.
=========> Start ConfyUI insiade of the environment
[1] 8644
-bash: ./venv/bin/python: No such file or directory
[1]+ Exit 127 ./venv/bin/python main.py
=========>Open Browser
echo "=========> Check if Homebrew is installed"
if ! command -v brew &>/dev/null; then
echo "=========> Homebrew not found. Installing Homebrew..."
echo "=========> install homebrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
echo "=========> Homebrew is installed."
continue_script
}
continue_script() {
echo "=========> install Python"
brew install python
echo "=========> Clone the Git repository"
git clone https://github.com/comfyanonymous/ComfyUI
echo "=========> Change directory to the cloned repository"
cd ComfyUI
echo "=========> Create and activate virtual environment"
python3 -m venv venv
echo "=========> Activate virtual environment"
source venv/bin/activate
echo "=========> Install torchvision inside of virtual environment "
./venv/bin/pip instwmimac:~ maxfield$
wmimac:~ maxfield$ cd '/private/var/folders/98/m330_r_x32g1g4txzqhhgl8m0000gn/T/AppTranslocation/07068557-16AC-478D-8EBC-CEB7D86CD676/d/'
wmimac:d maxfield$ install_homebrew() {
Beta Was this translation helpful? Give feedback.
All reactions