在 Mac 中设置 ERP-next

Bin*_*eru 0 erpnext

我是按照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".
Run Code Online (Sandbox Code Playgroud)

我也将 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
Run Code Online (Sandbox Code Playgroud)

小智 5

bench init frappe-bench

cd env 
source bin/activate
pip install -e ./apps/frappe --no-cache-dir
bench build
Run Code Online (Sandbox Code Playgroud)

参考:https://discuss.erpnext.com/t/mac-os-setup-failed/53422/3