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
import barcode
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