File “…/app/stock/utils.py”, line 53, in get_br
import barcode
ImportError: No module named barcode
What should i do?
Thanking you.
Regards, Gangadhar kadam
–
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.
Where is the barcode module file located? Did you install it using pip or easy install?
Sent from my phone
On 27-Jul-2013, at 2:35 PM, gangadhar kadam <em...@gmail.com> wrote:
Hello All, 1) I have installed mybarcode7. 2) I written the barcode generation code in stock modules utils.py . I have pasted code on "http://pastebin.com/NcLdgY54" 3) same code works on local machine 4) Same code gives following error
File "../app/stock/utils.py", line 53, in get_br
import barcode
ImportError: No module named barcode
What should i do?
Thanking you.
Regards, Gangadhar kadam
–
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.
1) I have downloaded pyBarcode 0.7.tar.gz in gangadhar folder and extrated it. 2) After extraction I run "python setup.py install" in pybarcode (extrated) folder.
2) my ERPnext setup is in /srv folder .
3) i tried to import barcode in python terminal,it got imported.
Where is the barcode module file located? Did you install it using pip or easy install?
Sent from my phone
On 27-Jul-2013, at 2:35 PM, gangadhar kadam <em...@gmail.com> wrote:
Hello All,
1) I have installed mybarcode7. 2) I written the barcode generation code in stock modules utils.py . I have pasted code on "http://pastebin.com/NcLdgY54"
3) same code works on local machine 4) Same code gives following error
File "../app/stock/utils.py", line 53, in get_br
import barcode
ImportError: No module named barcode
What should i do?
Thanking you.
Regards, Gangadhar kadam
–
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.
-- Thanks & Regards, Mr.Gangadhar N.Kadam. Cell: +91 9960066444 Software Engineer, New Indictrans Technologies Pvt. Ltd., Pune
P SAVE TREES - Please consider the environment before printing this email.
SAVE ENERGY - My monitor is off whenever I am away from my desk. I am helping prevent global warming by reducing consumption of power... ARE YOU?
–
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.
Gangadhar, The python version of the terminal may not be the same used by the module wsgi apache “internal issues”, the best thing to do is to import the barcode module in the terminal and inspect your installation path is shared with the version of python mod_wsgi, for this, you can run python in the terminal the following command:
import barcode
print barcode.__file__
The shared location of python modules is: /usr/lib/pyshared or /usr/lib/pymodules
If you really need to generate the barcode on the server side, why do you need to store them, then you can edit the file “server.py” and add the root path of the installation of the barcode.
1) I have downloaded pyBarcode 0.7.tar.gz in gangadhar folder and extrated it. 2) After extraction I run "python setup.py install" in pybarcode (extrated) folder.
2) my ERPnext setup is in /srv folder .
3) i tried to import barcode in python terminal,it got imported.
Where is the barcode module file located? Did you install it using pip or easy install?
Sent from my phone
On 27-Jul-2013, at 2:35 PM, gangadhar kadam <em...@gmail.com> wrote:
Hello All,
1) I have installed mybarcode7. 2) I written the barcode generation code in stock modules utils.py . I have pasted code on "http://pastebin.com/NcLdgY54"
same code works on local machine 4) Same code gives following error
File "…/app/stock/utils.py", line 53, in get_br
import barcode
ImportError: No module named barcode
What should i do?
Thanking you.
Regards, Gangadhar kadam
–
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.
Software Engineer, New Indictrans Technologies Pvt. Ltd., Pune
P SAVE TREES - Please consider the environment before printing this email.
SAVE ENERGY - My monitor is off whenever I am away from my desk. I am helping prevent global warming by reducing consumption of power... ARE YOU?
–
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.