Hello everyone,
I am installing erpnext 14 under a docker container (Debian 12) - Windows Server 2022 with Vs Code, I followed all the steps without problem until step: bench get-app --branch version-14 erpnext
It always shows me the error message on the terminal:
….
File “/workspace/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 7, in
from redis.commands.search import Search
ModuleNotFoundError: No module named ‘redis.commands’
ERROR: bench build --app erpnext
subprocess.CalledProcessError: Command ‘bench build --app erpnext’ returned non-zero exit status 1.
…
To solve this problem I tried a lot of solutions:
pip install redis
apt install redis-server
sudo apt-get install python3.10-venv
…
No luck, there is a trick to fix this anomaly.
Regards.
Thank you for your reply.
Indeed, before seeing your answer, I redid the whole installation when I found that there is a new version of frappe container put yesterday, and I ensured the installation of the latest version of the framework frappe “version 14” with command: **bench init --skip-redis-config-generation --strike-branch version-14 strike-bench**
And oddly everything went smoothly. conclusion: Frappe 14 ==> ErpNext 14.
THANKS