I already have python 2.7.5 here : /usr/local/bin/python2.7
But my Cento OS default is 2.6.6 and I cannot alter it as it will break my cpanel. The ERP has been installed but shows parser error.
How can I have ERPNEXT use the python on this location /usr/local/bin/python2.7 ?
Thanks
–
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.
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.
You can try to use virtualenvwrapper. (On my local, Python 3 is default but I use 2.7.5 for projects).
$mkvirtualenv erpnext -p `which python2.7`
You might have to either change the shebangs of the CGI scripts to use python2.7 or play with SetEnv in apache conf to alter the path to use the virtualenv Python.
On Mon, Sep 30, 2013 at 6:30 PM, Aditya Kumar <to...@gmail.com> wrote:
Hi,
I already have python 2.7.5 here : /usr/local/bin/python2.7
But my Cento OS default is 2.6.6 and I cannot alter it as it will break my cpanel. The ERP has been installed but shows parser error.
How can I have ERPNEXT use the python on this location /usr/local/bin/python2.7 ?
Thanks
–
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.
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.
Does the below work on a live server? Or is that solution only for a local machine server
On Monday, September 30, 2013 8:24:16 PM UTC+5:30, pdvyas wrote:
You can try to use virtualenvwrapper. (On my local, Python 3 is default but I use 2.7.5 for projects).
$mkvirtualenv erpnext -p `which python2.7`
You might have to either change the shebangs of the CGI scripts to use python2.7 or play with SetEnv in apache conf to alter the path to use the virtualenv Python.
On Mon, Sep 30, 2013 at 6:30 PM, Aditya Kumar <to...@gmail.com> wrote:
Hi,
I already have python 2.7.5 here : /usr/local/bin/python2.7
But my Cento OS default is 2.6.6 and I cannot alter it as it will break my cpanel. The ERP has been installed but shows parser error.
How can I have ERPNEXT use the python on this location /usr/local/bin/python2.7 ?
Thanks
–
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.
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.
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.
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.