我正在尝试通过运行'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模块和其他软件包。提前谢谢......
答案 0 :(得分:0)
强烈建议使用ERPNext在新操作系统上安装。