我有一个 ERPNext 安装脚本,它在 Ubuntu 18.04 上运行良好。当我在 20.04 运行相同的脚本时,我不得不等待超过 20 分钟才能完成,而在 18.04 需要大约 30 秒。
我的脚本包括这两行:
./env/bin/pip install numpy==1.18.5
./env/bin/pip install pandas==0.24.2
Run Code Online (Sandbox Code Playgroud)
他们的输出是:
Collecting numpy==1.18.5
Downloading numpy-1.18.5-cp38-cp38-manylinux1_x86_64.whl (20.6 MB)
|????????????????????????????????| 20.6 MB 138 kB/s
Installing collected packages: numpy
Successfully installed numpy-1.18.5
Collecting pandas==0.24.2
Downloading pandas-0.24.2.tar.gz (11.8 MB)
|????????????????????????????????| 11.8 MB 18.0 MB/s
Requirement already satisfied: python-dateutil>=2.5.0 in ./env/lib/python3.8/site-packages (from pandas==0.24.2) (2.8.1)
Requirement already satisfied: pytz>=2011k in ./env/lib/python3.8/site-packages (from pandas==0.24.2) (2019.3)
Requirement already satisfied: numpy>=1.12.0 in ./env/lib/python3.8/site-packages (from pandas==0.24.2) (1.18.5)
Requirement already …Run Code Online (Sandbox Code Playgroud) 我正在接受尝试使用 ERPNext 进行测试和开发的挑战。我对 ERPNext、Docker、Compose、Git 等还不熟悉。我需要从头开始学习这些。
在 Mac 或 Windows 计算机上安装 ERPNext(目前用于测试目的)的一般最有效方法是什么?
以下是我的标准:
我读到,根据操作系统的不同,有不同的使用 ERPNext 的方法,包括 VirtualBox 和适用于 Linux 的 Windows 子系统。我正在寻找最快、资源消耗最少且功能最丰富的解决方案
我会查看ERPNext官方文档,但我也想了解其他人的个人经验和方法。
这是一项艰巨的任务,因此我在深入研究之前寻求一些建议。
我在Ubuntu上安装了ERPNext,现在我有一个特定的要求,我想在Windows操作系统上安装它.
我已经下载了以下先决条件.
1. Python 2.7
2. MariaDB
在Windows上安装erpnext的正确步骤是什么??
我正在尝试从 Windows 内的 .bat 文件执行 ubuntu 内的 .sh 文件。
我尝试过以下代码
cd "C:\Program Files\Ubuntu\Ubuntu"
start ubuntu1804.exe run ErpStartupService.sh
Run Code Online (Sandbox Code Playgroud)
我的 ErpStartupService.sh 是
#!/bin/bash
sudo service mysql start
sudo service nginx start
sudo service redis-server start
sudo service supervisor start
cd /home/frappe/frappe-bench
sudo bench start
read -p "$*"
Run Code Online (Sandbox Code Playgroud)
如果我从 ubuntu 终端运行 ErpStartupService.sh 作为 ./ErpStartupService.sh ,一切都会按预期执行。但是如果我运行 bat 文件终端就会消失并且无法理解发生了什么。我正在使用 ubuntu 18.0.4 作为 wsl
通过使用“Easy Install”使用以下命令安装 Frappe ERPNext:
sudo python install.py --production --user frappe
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
TASK [frappe_selinux : Check enabled SELinux modules] *************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “semanage module -l”, “delta”: “0:00:02.254885”, “end”: “2019-03-08 10:07:33.398287”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-03-08 10:07:31.143402”, “stderr”: “libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).\nOSError: No such file or directory”, “stderr_lines”: [“libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).”, “OSError: No …Run Code Online (Sandbox Code Playgroud) 我是按照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) erpnext ×7
frappe ×3
erp ×2
batch-file ×1
centos ×1
linux ×1
mariadb ×1
open-source ×1
pandas ×1
pip ×1
python ×1
selinux ×1
ubuntu-18.04 ×1
ubuntu-20.04 ×1