-
Notifications
You must be signed in to change notification settings - Fork 3
/
INSTALL.txt
57 lines (45 loc) · 1.62 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
The following is an overview of packages used by pywad.
=============LINUX=============================
Verified on ubuntu 15 installation.
apt-get install python-pip
apt-get install python-numpy
apt-get install python-scipy
apt-get install python-matplotlib
apt-get remove python-pil
apt-get install libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev
pip install -I pillow
pip install pydicom
pip install pynetdicom
pip install pdfminer
pip install scikit-image
pip install pyocr
apt-get install tesseract-ocr
pip install MySQL-python
============WINDOWS=============================
Verified on XP, W10.
Install python-2.7.10.msi:
https://www.python.org/downloads/
Install install MicroSoft Visual C++ compiler for python 2.7:
http://www.microsoft.com/en-us/download/details.aspx?id=44266
Install MySQL-python-1.2.4.win32-py2.7.exe:
https://pypi.python.org/pypi/MySQL-python/1.2.4
Install scipy-0.16.0-win32-superpack-python2.7.exe:
http://sourceforge.net/projects/scipy/files/scipy/0.16.0/
Add Python to the path.
Then in a command window:
pip install numpy
pip install matplotlib
pip install pillow
pip install lxml
pip install pydicom
pip install pdfminer
pip install scikit-image
pip install pynetdicom
For pyocr on windows:
First install https://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-ocr-setup-3.02.02.exe
Now permanently add the installation location ( default: C:\Program Files (x86)\Tesseract-OCR ) to your PATH
Download https://github.com/asch99/pyocr/archive/master.zip
Unpack the downloaded pyocr-master.zip
In a new (bash) command shell:
cd pyocr-master
python setup.py install