Visit
http://pydatamatrix.eu/install
for the latest documentation
Install
Dependencies
DataMatrix
runs on Python 2 and 3, and requires only the Python standard library. That is, you can use it without installing any additional Python packages.
The following packages are required for extra functionality:
fastnumbers
for improved performancenumpy
andscipy
for using theFloatColumn
,IntColumn
, andSeriesColumn
objectsprettytable
for creating a text representation of a DataMatrix (e.g. to print it out)openpyxl
for reading and writing.xlsx
filesjson_tricks
for hashing, serialization to and fromjson
, and memoization (caching).pandas
for conversion to and frompandas.DataFrame
.
Installation
PyPi (pip install)
pip install python-datamatrix
Optional dependencies:
pip install fastnumbers numpy scipy prettytable openpyxl pandas json_tricks
Anaconda
conda install -c conda-forge datamatrix
Optional dependencies:
conda install -c conda-forge scipy pandas json_tricks
Ubuntu
sudo add-apt-repository ppa:smathot/cogscinl
sudo apt-get update
sudo apt install python3-datamatrix