How do I import pyBarcode from the Python interpreter? According to the pyBarcode documentation the first step is to import barcode
. When I try that it says there i
Before using (import
ing) pyBarcode, you must install it, for instance with
pip install pyBarcode
Make sure that the directory that contains the module is in your PYTHONPATH environment variable.
Alternatively, you can use
import sys
sys.path.append(r"C:\path to pyBarcode")
import barcode