在 Mac 中设置 ERP-next
Setting up ERP-next in Mac
我已经按照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
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
我已经按照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
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