-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.sh
More file actions
executable file
·58 lines (45 loc) · 1.65 KB
/
settings.sh
File metadata and controls
executable file
·58 lines (45 loc) · 1.65 KB
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
58
#!/bin/bash
OS1="Linux"
OS2="MAC"
if [ "$1" = "$OS1" ]; then
# Linux
sudo apt-get install python3-tk
sudo pip3 install pytesseract
#python3.7 -m pip install pytesseract
sudo pip3 install pyttsx3
sudo pip3 install --upgrade speechrecognition
sudo pip3 install googletrans
sudo apt-get install python-pyaudio
sudo apt-get install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
sudo apt-get install ffmpeg libav-tools
sudo apt-get install python3.7-dev
sudo pip3 install pyaudio
sudo pip3 install git+https://github.com/mphilli/English-to-IPA.git
sudo pip3 install Vocabulary
sudo pip3 install wikipedia
sudo pip3 install nltk
sudo python3.7 -m nltk.downloader -d /usr/share/nltk_data wordnet
sudo pip3 install PyDrive
sudo python3.7 -m pip install language_check
sudo apt-get install python3-pil python3-pil.imagetk
sudo pip3 install PyMuPDF
sudo pip3 install PySimpleGUI
sudo pip3 install pdf2image
sudo python3.7 -m pip install -U pillow
sudo pip3 install Wand
sudo pip3 install PyPDF2
# ImageMagic
# sudo apt-get install libmagickwand-dev
elif [ "$1" = "$OS2" ]; then
# Mac OS
sudo pip3 install pytesseract
brew install tesseract
brew install freetype imagemagick
brew install imagemagick@6
ln -s /usr/local/Cellar/imagemagick@6/6.9.10-43/lib/libMagickWand-6.Q16.dylib /usr/local/lib/libMagickWand.dylib
sudo pip3 install Wand
sudo pip3 install git+https://github.com/mphilli/English-to-IPA.git
sudo pip3 install ety
else
echo "You must specify Linux or MAC"
fi