Bench start does not work

/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
12:51:27 system           | redis_cache.1 started (pid=4517)
12:51:27 redis_cache.1    | 4517:C 17 Apr 2022 12:51:27.866 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:51:27 redis_cache.1    | 4517:C 17 Apr 2022 12:51:27.866 # Redis version=6.2.4, bits=64, commit=00000000, modified=0, pid=4517, just started
12:51:27 redis_cache.1    | 4517:C 17 Apr 2022 12:51:27.866 # Configuration loaded
12:51:27 redis_cache.1    | 4517:M 17 Apr 2022 12:51:27.867 * Increased maximum number of open files to 10032 (it was originally set to 2560).
12:51:27 redis_cache.1    | 4517:M 17 Apr 2022 12:51:27.867 * monotonic clock: POSIX clock_gettime
12:51:27 redis_cache.1    | 4517:M 17 Apr 2022 12:51:27.868 * Running mode=standalone, port=13001.
12:51:27 redis_cache.1    | 4517:M 17 Apr 2022 12:51:27.868 # Server initialized
12:51:27 redis_cache.1    | 4517:M 17 Apr 2022 12:51:27.868 * Ready to accept connections
/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
12:51:27 system           | redis_socketio.1 started (pid=4518)
/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
12:51:27 redis_socketio.1 | 4518:C 17 Apr 2022 12:51:27.950 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:51:27 redis_socketio.1 | 4518:C 17 Apr 2022 12:51:27.950 # Redis version=6.2.4, bits=64, commit=00000000, modified=0, pid=4518, just started
12:51:27 redis_socketio.1 | 4518:C 17 Apr 2022 12:51:27.950 # Configuration loaded
12:51:27 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:27.951 * Increased maximum number of open files to 10032 (it was originally set to 2560).
12:51:27 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:27.951 * monotonic clock: POSIX clock_gettime
12:51:27 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:27.952 * Running mode=standalone, port=12001.
12:51:27 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:27.952 # Server initialized
12:51:27 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:27.952 * Loading RDB produced by version 6.2.4
12:51:27 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:27.952 * RDB age 65 seconds
12:51:27 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:27.952 * RDB memory usage when created 0.96 Mb
12:51:27 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:27.952 * DB loaded from disk: 0.000 seconds
12:51:27 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:27.952 * Ready to accept connections
12:51:27 system           | redis_queue.1 started (pid=4519)
12:51:27 redis_queue.1    | 4519:C 17 Apr 2022 12:51:27.972 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:51:27 redis_queue.1    | 4519:C 17 Apr 2022 12:51:27.972 # Redis version=6.2.4, bits=64, commit=00000000, modified=0, pid=4519, just started
12:51:27 redis_queue.1    | 4519:C 17 Apr 2022 12:51:27.972 # Configuration loaded
12:51:27 redis_queue.1    | 4519:M 17 Apr 2022 12:51:27.973 * Increased maximum number of open files to 10032 (it was originally set to 2560).
12:51:27 redis_queue.1    | 4519:M 17 Apr 2022 12:51:27.973 * monotonic clock: POSIX clock_gettime
12:51:27 redis_queue.1    | 4519:M 17 Apr 2022 12:51:27.974 * Running mode=standalone, port=11001.
12:51:27 redis_queue.1    | 4519:M 17 Apr 2022 12:51:27.974 # Server initialized
12:51:27 redis_queue.1    | 4519:M 17 Apr 2022 12:51:27.974 * Loading RDB produced by version 6.2.4
12:51:27 redis_queue.1    | 4519:M 17 Apr 2022 12:51:27.974 * RDB age 8752 seconds
12:51:27 redis_queue.1    | 4519:M 17 Apr 2022 12:51:27.974 * RDB memory usage when created 169.62 Mb
/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
12:51:28 system           | web.1 started (pid=4520)
/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
12:51:28 system           | socketio.1 started (pid=4521)
/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
12:51:28 system           | worker_short.1 started (pid=4526)
12:51:28 system           | watch.1 started (pid=4522)
/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
12:51:28 system           | worker_default.1 started (pid=4523)
12:51:28 system           | worker_long.1 started (pid=4528)
12:51:28 system           | schedule.1 started (pid=4524)
12:51:28 socketio.1       | listening on *: 9001
12:51:29 web.1            | /Users/abdurrahmanmohammed/v13-bench/env/lib/python3.9/site-packages/past/builtins/misc.py:45: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
12:51:29 web.1            |   from imp import reload
12:51:29 watch.1          | /Users/abdurrahmanmohammed/v13-bench/env/lib/python3.9/site-packages/past/builtins/misc.py:45: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
12:51:29 watch.1          |   from imp import reload
12:51:29 schedule.1       | /Users/abdurrahmanmohammed/v13-bench/env/lib/python3.9/site-packages/past/builtins/misc.py:45: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
12:51:29 schedule.1       |   from imp import reload
12:51:30 web.1            |  * Running on http://0.0.0.0:8001/ (Press CTRL+C to quit)
12:51:30 web.1            |  * Restarting with fsevents reloader
12:51:30 system           | worker_short.1 stopped (rc=1)
12:51:30 system           | sending SIGTERM to redis_cache.1 (pid 4517)
12:51:30 system           | sending SIGTERM to redis_socketio.1 (pid 4518)
12:51:30 system           | sending SIGTERM to redis_queue.1 (pid 4519)
12:51:30 system           | sending SIGTERM to web.1 (pid 4520)
12:51:30 system           | sending SIGTERM to socketio.1 (pid 4521)
12:51:30 system           | sending SIGTERM to watch.1 (pid 4522)
12:51:30 system           | sending SIGTERM to schedule.1 (pid 4524)
12:51:30 system           | sending SIGTERM to worker_long.1 (pid 4528)
12:51:30 system           | sending SIGTERM to worker_default.1 (pid 4523)
12:51:30 redis_cache.1    | 4517:signal-handler (1650189090) Received SIGTERM scheduling shutdown...
12:51:30 redis_socketio.1 | 4518:signal-handler (1650189090) Received SIGTERM scheduling shutdown...
12:51:30 system           | worker_long.1 stopped (rc=-15)
12:51:30 system           | worker_default.1 stopped (rc=-15)
12:51:30 system           | socketio.1 stopped (rc=-15)
12:51:30 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:30.573 # User requested shutdown...
12:51:30 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:30.573 * Saving the final RDB snapshot before exiting.
12:51:30 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:30.579 * DB saved on disk
12:51:30 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:30.579 * Removing the pid file.
12:51:30 redis_socketio.1 | 4518:M 17 Apr 2022 12:51:30.579 # Redis is now ready to exit, bye bye...
12:51:30 system           | redis_socketio.1 stopped (rc=0)
12:51:30 redis_cache.1    | 4517:M 17 Apr 2022 12:51:30.605 # User requested shutdown...
12:51:30 redis_cache.1    | 4517:M 17 Apr 2022 12:51:30.605 * Removing the pid file.
12:51:30 redis_cache.1    | 4517:M 17 Apr 2022 12:51:30.607 # Redis is now ready to exit, bye bye...
12:51:30 system           | redis_cache.1 stopped (rc=0)
12:51:30 redis_queue.1    | 4519:signal-handler (1650189090) Received shutdown signal during loading, exiting now.
12:51:30 system           | schedule.1 stopped (rc=-15)
12:51:30 system           | watch.1 stopped (rc=-15)
12:51:30 system           | redis_queue.1 stopped (rc=0)
12:51:30 system           | web.1 stopped (rc=0)

development setup

Try this
sudo pip3 uninstall setuptools
sudo pip3 install setuptools==59.6.0
sudo pip3 install -e /home/erp/.bench/

@Mohamed_Almagory
Thank you for your help.

I don’t understand the last command.
what directory is that? I’m not able to find it.

sudo pip3 install -e /home/[erpnext user]/.bench/

@Mohamed_Almagory

I tried it. But bench start still isn’t working

If it helps. This is on my local machine (mac)