Installation issue

345 views
Skip to first unread message

Priya Shitole

unread,
Dec 24, 2013, 7:57:23 AM12/24/13
to erpnext-dev...@googlegroups.com
Hi All..

I am trying to install new erpnext setup on xubuntu - python 2.7.
Using following steps : 

     1. First i'm using this command:   wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py
   2.Create user by using command : python2.7 install_erpnext.py 
It shows following error : 

ERPNext Database Name: newerp
Traceback (most recent call last):
  File "install_erpnext.py", line 321, in <module>
    install(install_path=install_path)
  File "install_erpnext.py", line 38, in install
    install_erpnext(install_path)
  File "install_erpnext.py", line 177, in install_erpnext
    import wnf
  File "lib/wnf.py", line 12, in <module>
    import webnotes
  File "lib/webnotes/__init__.py", line 16, in <module>
    import semantic_version
ImportError: No module named semantic_version

 I have tried to google to install sementic_version package. but i have not found proper installation steps.
 
 Please suggest a solution.
 
 Thanks & Regards,
  - Priya Shitole

Pratik Vyas

unread,
Dec 25, 2013, 12:34:13 AM12/25/13
to erpnext-dev...@googlegroups.com
Hi Priya,

On Tue, Dec 24, 2013 at 6:27 PM, Priya Shitole <priyash...@gmail.com> wrote:
Hi All..

I am trying to install new erpnext setup on xubuntu - python 2.7.
Using following steps : 

     1. First i'm using this command:   wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py
   2.Create user by using command : python2.7 install_erpnext.py 
It shows following error : 

ERPNext Database Name: newerp
Traceback (most recent call last):
  File "install_erpnext.py", line 321, in <module>
    install(install_path=install_path)
  File "install_erpnext.py", line 38, in install
    install_erpnext(install_path)
  File "install_erpnext.py", line 177, in install_erpnext
    import wnf
  File "lib/wnf.py", line 12, in <module>
    import webnotes
  File "lib/webnotes/__init__.py", line 16, in <module>
    import semantic_version
ImportError: No module named semantic_version


Try
```
sudo pip install semantic_version
sudo su - erpnext
cd ~/erpnext
python2.7 ./lib/wnf.py --reinstall --force
```

also, as your installation was interrupted, you will have to set cron job for running scheduler as well.

However, it is strange that you are getting this error as semantic_version should have been installed by the script.


 I have tried to google to install sementic_version package. but i have not found proper installation steps.
 
 Please suggest a solution.
 


Did you manually install Python2.7? Xubuntu should have shipped with Python 2.7 if you are using an LTS version that is not too old.

Lastly, if you just want to evaluate ERPNext on your local machine, the easiest way is use the virtual machine from here, https://www.erpnext.com/erpnext-download 

 Thanks & Regards,
  - Priya Shitole



Thanks,
--
Pratik
erpnext
Reply all
Reply to author
Forward
0 new messages