我已经按照GitHub进行了设置。我已经安装了pip,MariaDB,长凳和Redis。
运行命令bench init frappe-bench and cd frappe-bench
后,我不允许创建新站点。以下是IO遇到的错误。
/usr/local/Cellar/python/3.7.5/bin/python3.7: Error while finding module specification for 'frappe.utils.bench_helper' (ModuleNotFoundError: No module named 'frappe')
Usage: bench [OPTIONS] COMMAND [ARGS]...
Try "bench --help" for help.
Error: No such command "new-site".
我也将my.conf更改为
[mysqld]
innodb-file-format=barracuda
innodb-file-per-table=1
innodb-large-prefix=1
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
[mysql]
default-character-set = utf8mb4
答案 0 :(得分:1)
bench init frappe-bench
cd env
source env/bin/activate
pip install -e ./apps/frappe --no-cache-dir
bench build
参考:https://discuss.erpnext.com/t/mac-os-setup-failed/53422/3