Installation issues 2nd step Python Command - python install_erpnext.py

The 1st command was success ie: - 
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py 
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3  but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py  ??



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Hi Aditya,

erpnext requires python 2.7+ but it won't work on python 3+

Also your linux distribution seems to be unknown. I would recommend standard distributions like centos and ubuntu. 

Thanks,
Anand.

On 26-Sep-2013, at 1:11 PM, Aditya Kumar <to...@gmail.com> wrote:

The 1st command was success ie: - 
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py 
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3  but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py  ??



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
My Linux is a CentOS 6.4 x86_64

I will get the python 2.7+ and do away with the 3+ version.

But the issue when I run this command "python install_erpnext.py " is Exception: Sorry! This installer works only with yum or apt-get package management

How can I resolve that?

Aditya

On Thursday, September 26, 2013 1:40:16 PM UTC+5:30, Anand Doshi wrote:
Hi Aditya,

erpnext requires python 2.7+ but it won't work on python 3+

Also your linux distribution seems to be unknown. I would recommend standard distributions like centos and ubuntu. 

Thanks,
Anand.

On 26-Sep-2013, at 1:11 PM, Aditya Kumar <to...@gmail.com> wrote:

The 1st command was success ie: - 
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py 
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3  but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py  ??



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
I think the error will go away for python 2.7 since it would be able to detect the OS.

-Anand.

On 26-Sep-2013, at 1:47 PM, Aditya Kumar <to...@gmail.com> wrote:

My Linux is a CentOS 6.4 x86_64

I will get the python 2.7+ and do away with the 3+ version.

But the issue when I run this command "python install_erpnext.py " is Exception: Sorry! This installer works only with yum or apt-get package management

How can I resolve that?

Aditya

On Thursday, September 26, 2013 1:40:16 PM UTC+5:30, Anand Doshi wrote:
Hi Aditya,

erpnext requires python 2.7+ but it won't work on python 3+

Also your linux distribution seems to be unknown. I would recommend standard distributions like centos and ubuntu. 

Thanks,
Anand.

On 26-Sep-2013, at 1:11 PM, Aditya Kumar <to...@gmail.com> wrote:

The 1st command was success ie: - 
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py 
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3  but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py  ??



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Okay let me try and then can update right here. I am also documenting the issues faced during the install and shall make a post for other users to refer to esp. those who are getting started for the first time with erp next.

Aditya

On Thursday, September 26, 2013 1:59:50 PM UTC+5:30, Anand Doshi wrote:
I think the error will go away for python 2.7 since it would be able to detect the OS.

-Anand.

On 26-Sep-2013, at 1:47 PM, Aditya Kumar <to...@gmail.com> wrote:

My Linux is a CentOS 6.4 x86_64

I will get the python 2.7+ and do away with the 3+ version.

But the issue when I run this command "python install_erpnext.py " is Exception: Sorry! This installer works only with yum or apt-get package management

How can I resolve that?

Aditya

On Thursday, September 26, 2013 1:40:16 PM UTC+5:30, Anand Doshi wrote:
Hi Aditya,

erpnext requires python 2.7+ but it won't work on python 3+

Also your linux distribution seems to be unknown. I would recommend standard distributions like centos and ubuntu. 

Thanks,
Anand.

On 26-Sep-2013, at 1:11 PM, Aditya Kumar <to...@gmail.com> wrote:

The 1st command was success ie: - 
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py 
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3  but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py  ??



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
I installed python 2.7.4 usr/local/bin/python2.7

But still when I run the command it shows me the same errors . Where do I need to place my python files? I feel something is wrong as still it detects python as 2.6.6

Aditya

On Thursday, September 26, 2013 1:59:50 PM UTC+5:30, Anand Doshi wrote:
I think the error will go away for python 2.7 since it would be able to detect the OS.

-Anand.

On 26-Sep-2013, at 1:47 PM, Aditya Kumar <to...@gmail.com> wrote:

My Linux is a CentOS 6.4 x86_64

I will get the python 2.7+ and do away with the 3+ version.

But the issue when I run this command "python install_erpnext.py " is Exception: Sorry! This installer works only with yum or apt-get package management

How can I resolve that?

Aditya

On Thursday, September 26, 2013 1:40:16 PM UTC+5:30, Anand Doshi wrote:
Hi Aditya,

erpnext requires python 2.7+ but it won't work on python 3+

Also your linux distribution seems to be unknown. I would recommend standard distributions like centos and ubuntu. 

Thanks,
Anand.

On 26-Sep-2013, at 1:11 PM, Aditya Kumar <to...@gmail.com> wrote:

The 1st command was success ie: - 
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py 
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3  but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py  ??



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
I over came that issue - now set python 2.7.4 as the default on my server

to...@toadityakumar.com [~/public_html/erp]# wget --no-check-certificate  https://raw.github.com/webnotes/erpnext/master/install_erpnext.py
--2013-09-26 09:47:41--  https://raw.github.com/webnotes/erpnext/master/install_erpnext.py
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 10758 (11K) [text/plain]
Saving to: `install_erpnext.py'

100%[==================================================================================================================================================================>] 10,758      --.-K/s   in 0s      

2013-09-26 09:47:41 (89.5 MB/s) - `install_erpnext.py' saved [10758/10758]

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.7.4
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management


Still it gets stuck on the 2nd command of python install_erpnext.py

Any help here?

Aditya

On Thursday, September 26, 2013 1:59:50 PM UTC+5:30, Anand Doshi wrote:
I think the error will go away for python 2.7 since it would be able to detect the OS.

-Anand.

On 26-Sep-2013, at 1:47 PM, Aditya Kumar <to...@gmail.com> wrote:

My Linux is a CentOS 6.4 x86_64

I will get the python 2.7+ and do away with the 3+ version.

But the issue when I run this command "python install_erpnext.py " is Exception: Sorry! This installer works only with yum or apt-get package management

How can I resolve that?

Aditya

On Thursday, September 26, 2013 1:40:16 PM UTC+5:30, Anand Doshi wrote:
Hi Aditya,

erpnext requires python 2.7+ but it won't work on python 3+

Also your linux distribution seems to be unknown. I would recommend standard distributions like centos and ubuntu. 

Thanks,
Anand.

On 26-Sep-2013, at 1:11 PM, Aditya Kumar <to...@gmail.com> wrote:

The 1st command was success ie: - 
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py 
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3  but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py  ??



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Edit the installer file. You can comment that part and try.

-Anand.

On 26-Sep-2013, at 3:21 PM, Aditya Kumar <to...@gmail.com> wrote:

I over came that issue - now set python 2.7.4 as the default on my server

Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 10758 (11K) [text/plain]
Saving to: `install_erpnext.py'

100%[==================================================================================================================================================================>] 10,758      --.-K/s   in 0s      

2013-09-26 09:47:41 (89.5 MB/s) - `install_erpnext.py' saved [10758/10758]

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.7.4
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management


Still it gets stuck on the 2nd command of python install_erpnext.py

Any help here?

Aditya

On Thursday, September 26, 2013 1:59:50 PM UTC+5:30, Anand Doshi wrote:
I think the error will go away for python 2.7 since it would be able to detect the OS.

-Anand.

On 26-Sep-2013, at 1:47 PM, Aditya Kumar <to...@gmail.com> wrote:

My Linux is a CentOS 6.4 x86_64

I will get the python 2.7+ and do away with the 3+ version.

But the issue when I run this command "python install_erpnext.py " is Exception: Sorry! This installer works only with yum or apt-get package management

How can I resolve that?

Aditya

On Thursday, September 26, 2013 1:40:16 PM UTC+5:30, Anand Doshi wrote:
Hi Aditya,

erpnext requires python 2.7+ but it won't work on python 3+

Also your linux distribution seems to be unknown. I would recommend standard distributions like centos and ubuntu. 

Thanks,
Anand.

On 26-Sep-2013, at 1:11 PM, Aditya Kumar <to...@gmail.com> wrote:

The 1st command was success ie: - 
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py 
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3  but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py  ??



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
So I overcame that problem too - 

But now it says the below :

oo...@server1 [/home/toaditya/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.7.4
Distribution =  centos
--------------------------------------------------------------------------------
Installing Packages: (This may take some time)
python python-setuptools gcc python-devel MySQL-python httpd git memcached ntp vim-enhanced screen
--------------------------------------------------------------------------------

Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 25, in install_pre_requisites
    install_using_yum()
  File "install_erpnext.py", line 68, in install_using_yum
    exec_in_shell("yum install -y %s" % packages)
  File "install_erpnext.py", line 341, in exec_in_shell
    raise Exception, err
Exception: There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.4 (default, Sep 26 2013, 08:35:34) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]


Is there still something missing? Yum is infact installed on my server.

Aditya

On Thursday, September 26, 2013 3:49:49 PM UTC+5:30, Anand Doshi wrote:
Edit the installer file. You can comment that part and try.

-Anand.

On 26-Sep-2013, at 3:21 PM, Aditya Kumar <to...@gmail.com> wrote:

I over came that issue - now set python 2.7.4 as the default on my server

Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 10758 (11K) [text/plain]
Saving to: `install_erpnext.py'

100%[==================================================================================================================================================================>] 10,758      --.-K/s   in 0s      

2013-09-26 09:47:41 (89.5 MB/s) - `install_erpnext.py' saved [10758/10758]

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.7.4
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management


Still it gets stuck on the 2nd command of python install_erpnext.py

Any help here?

Aditya

On Thursday, September 26, 2013 1:59:50 PM UTC+5:30, Anand Doshi wrote:
I think the error will go away for python 2.7 since it would be able to detect the OS.

-Anand.

On 26-Sep-2013, at 1:47 PM, Aditya Kumar <to...@gmail.com> wrote:

My Linux is a CentOS 6.4 x86_64

I will get the python 2.7+ and do away with the 3+ version.

But the issue when I run this command "python install_erpnext.py " is Exception: Sorry! This installer works only with yum or apt-get package management

How can I resolve that?

Aditya

On Thursday, September 26, 2013 1:40:16 PM UTC+5:30, Anand Doshi wrote:
Hi Aditya,

erpnext requires python 2.7+ but it won't work on python 3+

Also your linux distribution seems to be unknown. I would recommend standard distributions like centos and ubuntu. 

Thanks,
Anand.

On 26-Sep-2013, at 1:11 PM, Aditya Kumar <to...@gmail.com> wrote:

The 1st command was success ie: - 
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py 
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3  but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py  ??



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Hi Aditya,

Thats the problem! Your OS is not CENTOS!!

Thanks,
Anand.


On 26-Sep-2013, at 3:59 PM, Aditya Kumar <to...@gmail.com> wrote:

So I overcame that problem too - 

But now it says the below :

oo...@server1 [/home/toaditya/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.7.4
Distribution =  centos
--------------------------------------------------------------------------------
Installing Packages: (This may take some time)
python python-setuptools gcc python-devel MySQL-python httpd git memcached ntp vim-enhanced screen
--------------------------------------------------------------------------------

Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 25, in install_pre_requisites
    install_using_yum()
  File "install_erpnext.py", line 68, in install_using_yum
    exec_in_shell("yum install -y %s" % packages)
  File "install_erpnext.py", line 341, in exec_in_shell
    raise Exception, err
Exception: There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.4 (default, Sep 26 2013, 08:35:34) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]


Is there still something missing? Yum is infact installed on my server.

Aditya

On Thursday, September 26, 2013 3:49:49 PM UTC+5:30, Anand Doshi wrote:
Edit the installer file. You can comment that part and try.

-Anand.

On 26-Sep-2013, at 3:21 PM, Aditya Kumar <to...@gmail.com> wrote:

I over came that issue - now set python 2.7.4 as the default on my server

Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 10758 (11K) [text/plain]
Saving to: `install_erpnext.py'

100%[==================================================================================================================================================================>] 10,758      --.-K/s   in 0s      

2013-09-26 09:47:41 (89.5 MB/s) - `install_erpnext.py' saved [10758/10758]

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.7.4
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management


Still it gets stuck on the 2nd command of python install_erpnext.py

Any help here?

Aditya

On Thursday, September 26, 2013 1:59:50 PM UTC+5:30, Anand Doshi wrote:
I think the error will go away for python 2.7 since it would be able to detect the OS.

-Anand.

On 26-Sep-2013, at 1:47 PM, Aditya Kumar <to...@gmail.com> wrote:

My Linux is a CentOS 6.4 x86_64

I will get the python 2.7+ and do away with the 3+ version.

But the issue when I run this command "python install_erpnext.py " is Exception: Sorry! This installer works only with yum or apt-get package management

How can I resolve that?

Aditya

On Thursday, September 26, 2013 1:40:16 PM UTC+5:30, Anand Doshi wrote:
Hi Aditya,

erpnext requires python 2.7+ but it won't work on python 3+

Also your linux distribution seems to be unknown. I would recommend standard distributions like centos and ubuntu. 

Thanks,
Anand.

On 26-Sep-2013, at 1:11 PM, Aditya Kumar <to...@gmail.com> wrote:

The 1st command was success ie: - 
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py 
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3  but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py  ??



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Aditya,
I have a theory.

There is a possiblity that your system wide python is messed up.

How did you manage to install Python 2.7.4? Did it install to /usr/local ?

What does `which python` say?

yum also uses python and it should get the python env that was shipped with the OS.


On Thu, Sep 26, 2013 at 3:59 PM, Aditya Kumar <to...@gmail.com> wrote:
So I overcame that problem too -

But now it says the below :

oo...@server1 [/home/toaditya/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.7.4
Distribution = centos
--------------------------------------------------------------------------------
Installing Packages: (This may take some time)
python python-setuptools gcc python-devel MySQL-python httpd git memcached ntp vim-enhanced screen
--------------------------------------------------------------------------------

Traceback (most recent call last):
File "install_erpnext.py", line 348, in <module>
install()
File "install_erpnext.py", line 13, in install
install_pre_requisites()
File "install_erpnext.py", line 25, in install_pre_requisites
install_using_yum()
File "install_erpnext.py", line 68, in install_using_yum
exec_in_shell("yum install -y %s" % packages)
File "install_erpnext.py", line 341, in exec_in_shell
raise Exception, err
Exception: There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.4 (default, Sep 26 2013, 08:35:34)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]


Is there still something missing? Yum is infact installed on my server.

Aditya

On Thursday, September 26, 2013 3:49:49 PM UTC+5:30, Anand Doshi wrote:
Edit the installer file. You can comment that part and try.

-Anand.

On 26-Sep-2013, at 3:21 PM, Aditya Kumar <to...@gmail.com> wrote:

I over came that issue - now set python 2.7.4 as the default on my server

Connecting to raw.github.com|199.27.73.133|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 10758 (11K) [text/plain]
Saving to: `install_erpnext.py'

100%[==================================================================================================================================================================>] 10,758 --.-K/s in 0s

2013-09-26 09:47:41 (89.5 MB/s) - `install_erpnext.py' saved [10758/10758]

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.7.4
Distribution =
Traceback (most recent call last):
File "install_erpnext.py", line 348, in <module>
install()
File "install_erpnext.py", line 13, in install
install_pre_requisites()
File "install_erpnext.py", line 23, in install_pre_requisites
is_redhat, is_debian = validate_install()
File "install_erpnext.py", line 57, in validate_install
raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management


Still it gets stuck on the 2nd command of python install_erpnext.py

Any help here?

Aditya

On Thursday, September 26, 2013 1:59:50 PM UTC+5:30, Anand Doshi wrote:
I think the error will go away for python 2.7 since it would be able to detect the OS.

-Anand.

On 26-Sep-2013, at 1:47 PM, Aditya Kumar <to...@gmail.com> wrote:

My Linux is a CentOS 6.4 x86_64

I will get the python 2.7+ and do away with the 3+ version.

But the issue when I run this command "python install_erpnext.py " is Exception: Sorry! This installer works only with yum or apt-get package management

How can I resolve that?

Aditya

On Thursday, September 26, 2013 1:40:16 PM UTC+5:30, Anand Doshi wrote:
Hi Aditya,

erpnext requires python 2.7+ but it won't work on python 3+

Also your linux distribution seems to be unknown. I would recommend standard distributions like centos and ubuntu.

Thanks,
Anand.

On 26-Sep-2013, at 1:11 PM, Aditya Kumar <to...@gmail.com> wrote:

The 1st command was success ie: -
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =
Traceback (most recent call last):
File "install_erpnext.py", line 348, in <module>
install()
File "install_erpnext.py", line 13, in install
install_pre_requisites()
File "install_erpnext.py", line 23, in install_pre_requisites
is_redhat, is_debian = validate_install()
File "install_erpnext.py", line 57, in validate_install
raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3 but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py ??



Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




--
Pratik Vyas
Ph: +919925239915
Google Profile : http://www.google.com/profiles/pdvyas
@anand - my OS is centOS 6.4 I have verified that.

@pdvyas : 

My System wide python is 2.6.6. as I did a python --version and it showe up 2.6.6

Yes python 2.7.4 was installed to /usr/local

'which python'   says   "/usr/bin/python"

Yum I believe is receiving the python as shipped with the OS ie : 2.6.6

Aditya 

On Thursday, September 26, 2013 4:15:14 PM UTC+5:30, pdvyas wrote:
Aditya,
I have a theory.

There is a possiblity that your system wide python is messed up.

How did you manage to install Python 2.7.4? Did it install to /usr/local ?

What does `which python` say?

yum also uses python and it should get the python env that was shipped with the OS.


On Thu, Sep 26, 2013 at 3:59 PM, Aditya Kumar <to...@gmail.com> wrote:
So I overcame that problem too - 

But now it says the below :

oo...@server1 [/home/toaditya/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.7.4
Distribution =  centos
--------------------------------------------------------------------------------
Installing Packages: (This may take some time)
python python-setuptools gcc python-devel MySQL-python httpd git memcached ntp vim-enhanced screen
--------------------------------------------------------------------------------

Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 25, in install_pre_requisites
    install_using_yum()
  File "install_erpnext.py", line 68, in install_using_yum
    exec_in_shell("yum install -y %s" % packages)
  File "install_erpnext.py", line 341, in exec_in_shell
    raise Exception, err
Exception: There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.4 (default, Sep 26 2013, 08:35:34) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]


Is there still something missing? Yum is infact installed on my server.

Aditya

On Thursday, September 26, 2013 3:49:49 PM UTC+5:30, Anand Doshi wrote:
Edit the installer file. You can comment that part and try.

-Anand.

On 26-Sep-2013, at 3:21 PM, Aditya Kumar <to...@gmail.com> wrote:

I over came that issue - now set python 2.7.4 as the default on my server

Connecting to raw.github.com|199.27.73.133|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 10758 (11K) [text/plain]
Saving to: `install_erpnext.py'

100%[==================================================================================================================================================================>] 10,758      --.-K/s   in 0s      

2013-09-26 09:47:41 (89.5 MB/s) - `install_erpnext.py' saved [10758/10758]

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.7.4
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management


Still it gets stuck on the 2nd command of python install_erpnext.py

Any help here?

Aditya

On Thursday, September 26, 2013 1:59:50 PM UTC+5:30, Anand Doshi wrote:
I think the error will go away for python 2.7 since it would be able to detect the OS.

-Anand.

On 26-Sep-2013, at 1:47 PM, Aditya Kumar <to...@gmail.com> wrote:

My Linux is a CentOS 6.4 x86_64

I will get the python 2.7+ and do away with the 3+ version.

But the issue when I run this command "python install_erpnext.py " is Exception: Sorry! This installer works only with yum or apt-get package management

How can I resolve that?

Aditya

On Thursday, September 26, 2013 1:40:16 PM UTC+5:30, Anand Doshi wrote:
Hi Aditya,

erpnext requires python 2.7+ but it won't work on python 3+

Also your linux distribution seems to be unknown. I would recommend standard distributions like centos and ubuntu. 

Thanks,
Anand.

On 26-Sep-2013, at 1:11 PM, Aditya Kumar <to...@gmail.com> wrote:

The 1st command was success ie: - 
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py 
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3  but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py  ??



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsubscr…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsubscr…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsubscr…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




--
Pratik Vyas
Ph: +919925239915
Google Profile : http://www.google.com/profiles/pdvyas



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
I believe my main issue the cpanel on the VPS. It will eventually break the apache and mess things up.

Is there a way out to make erpnext run on VPS with cpanel or should I opt for an amazon ec2 hosting?

Do I have a guide available to install the entire erpnext on ec2 micro instance?

Aditya

On Thursday, September 26, 2013 4:15:14 PM UTC+5:30, pdvyas wrote:
Aditya,
I have a theory.

There is a possiblity that your system wide python is messed up.

How did you manage to install Python 2.7.4? Did it install to /usr/local ?

What does `which python` say?

yum also uses python and it should get the python env that was shipped with the OS.


On Thu, Sep 26, 2013 at 3:59 PM, Aditya Kumar <to...@gmail.com> wrote:
So I overcame that problem too - 

But now it says the below :

oo...@server1 [/home/toaditya/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.7.4
Distribution =  centos
--------------------------------------------------------------------------------
Installing Packages: (This may take some time)
python python-setuptools gcc python-devel MySQL-python httpd git memcached ntp vim-enhanced screen
--------------------------------------------------------------------------------

Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 25, in install_pre_requisites
    install_using_yum()
  File "install_erpnext.py", line 68, in install_using_yum
    exec_in_shell("yum install -y %s" % packages)
  File "install_erpnext.py", line 341, in exec_in_shell
    raise Exception, err
Exception: There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.4 (default, Sep 26 2013, 08:35:34) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]


Is there still something missing? Yum is infact installed on my server.

Aditya

On Thursday, September 26, 2013 3:49:49 PM UTC+5:30, Anand Doshi wrote:
Edit the installer file. You can comment that part and try.

-Anand.

On 26-Sep-2013, at 3:21 PM, Aditya Kumar <to...@gmail.com> wrote:

I over came that issue - now set python 2.7.4 as the default on my server

Connecting to raw.github.com|199.27.73.133|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 10758 (11K) [text/plain]
Saving to: `install_erpnext.py'

100%[==================================================================================================================================================================>] 10,758      --.-K/s   in 0s      

2013-09-26 09:47:41 (89.5 MB/s) - `install_erpnext.py' saved [10758/10758]

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.7.4
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management


Still it gets stuck on the 2nd command of python install_erpnext.py

Any help here?

Aditya

On Thursday, September 26, 2013 1:59:50 PM UTC+5:30, Anand Doshi wrote:
I think the error will go away for python 2.7 since it would be able to detect the OS.

-Anand.

On 26-Sep-2013, at 1:47 PM, Aditya Kumar <to...@gmail.com> wrote:

My Linux is a CentOS 6.4 x86_64

I will get the python 2.7+ and do away with the 3+ version.

But the issue when I run this command "python install_erpnext.py " is Exception: Sorry! This installer works only with yum or apt-get package management

How can I resolve that?

Aditya

On Thursday, September 26, 2013 1:40:16 PM UTC+5:30, Anand Doshi wrote:
Hi Aditya,

erpnext requires python 2.7+ but it won't work on python 3+

Also your linux distribution seems to be unknown. I would recommend standard distributions like centos and ubuntu. 

Thanks,
Anand.

On 26-Sep-2013, at 1:11 PM, Aditya Kumar <to...@gmail.com> wrote:

The 1st command was success ie: - 
  1. wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py 
2 . python install_erpnext.py
This shows me an error below :

to...@toadityakumar.com [~/public_html/erp]# python install_erpnext.py
Operating System = Linux
Python Version = 2.6.6
Distribution =  
Traceback (most recent call last):
  File "install_erpnext.py", line 348, in <module>
    install()
  File "install_erpnext.py", line 13, in install
    install_pre_requisites()
  File "install_erpnext.py", line 23, in install_pre_requisites
    is_redhat, is_debian = validate_install()
  File "install_erpnext.py", line 57, in validate_install
    raise Exception, "Sorry! This installer works only with yum or apt-get package management"
Exception: Sorry! This installer works only with yum or apt-get package management

I have installed python /usr/local/bin/python3.3  but cannot remove 2.6.6 as its being used by other application on my cent OS VPS server.

How do I proceed with the 2nd command ie: python install_erpnext.py  ??



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsubscr…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsubscr…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsubscr…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




--
Pratik Vyas
Ph: +919925239915
Google Profile : http://www.google.com/profiles/pdvyas



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.