我已经按照 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