当我在Linux上安装frappe(版本13)时
当我跑步时bench init
它给出了一个错误
错误:httplib2 0.20.1 有要求 pyparsing<3,>=2.4.2,但您将拥有不兼容的 pyparsing 3.0.0。
尽管安装完成了。
之后,当创建新站点时,会出现错误
AttributeError:模块“pyparsing”没有属性“downcaseTokens”
这是一个已弃用的函数,在 3.0 版本中不可用,但在 2.4.2 版本中可用
我该如何解决这个问题?我可以强制安装早期版本的 pyparsing 吗?
问候哈里
我有一个 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) 通过使用“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)