0

我已经按照 GitHub 进行了设置。我已经安装了 pip、MariaDB、bench、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
4

1 回答 1

4

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

于 2019-12-24T19:26:54.767 回答