3

我正在尝试通过运行“install_erpnext.py”来安装 erpnext,它给出了一条错误消息:

root@erpnext:~# python2.7 install_erpnext.py --create_user
useradd: user 'erpnext' already exists
Enter new UNIX password: Retype new UNIX password: passwd: password updated succ                                                 essfully
Operating System = Linux
Python Version = 2.7.3
Distribution =  ubuntu
--------------------------------------------------------------------------------
Installing Packages: (This may take some time)
python python-setuptools python-dev build-essential python-mysqldb git memcached                                                 ntp vim screen htop
--------------------------------------------------------------------------------
MySQL Root user's Password:
--------------------------------------------------------------------------------
Installing Python Modules: (This may take some time)
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Pre-requisites Installed
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Installing ERPNext
--------------------------------------------------------------------------------
ERPNext Database Name: erpnext
Traceback (most recent call last):
  File "install_erpnext.py", line 301, in <module>
  File "install_erpnext.py", line 39, in install
  File "install_erpnext.py", line 177, in install_erpnext
ImportError: No module named wnf

我不知道现在该怎么办。我也尝试复制文件'erpnext/lib/wnf.py'并将其与'install_erpnext.py'一起放入,但它仍然给出了同样的错误。我已经安装了 Python 模块和其他包。提前致谢...

4

1 回答 1

0

强烈建议使用 ERPNext 在新操作系统上安装。

于 2017-08-31T21:32:50.367 回答