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.
I over came that issue - now set python 2.7.4 as the default on my server
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]
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.
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.
The 1st command was success ie: -
wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py
2 . python install_erpnext.py
This shows me an error below :
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,
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- 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,
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- 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,
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- 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.