-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up the fish and box
The fish wifi shows up at 10.0.0.31
I have not installed vnc. Instead, use "ssh [email protected]"
I've created a startup file that handles a bunch of tasks. It's called fish_config.sh and is run from /etc/init.d/fish_config.sh. Here's instructions on how this works.
Used to queue text to speech
instructions on installing SQLite and using it with python
sudo apt-get install sqlite3
The database is set up inside of fish_config.sh
setting up support for I2C which is used by the PCF8591 AtoD module
pip install works on my macintosh - but not the raspberry pi
pip3 install smbus2
and pip install smbus2
On raspberry pi, use:
sudo apt-get install python-smbus python3-smbus python-dev python3-dev
which installs this.
I used this to break sentences up so that I could add prosody (ssml) support for question marks. Unfortunately, MS TTS doesn't appear to support Prosody (even though they claim to do so.) Adding prosody pitch="high"
doesn't do anything. So I've removed all of the nltk support.
In addition, loading nltk causes delays in init.
This was a bit problematic with incompleteread errors.
I was able to get it to install with sudo easy_install3 -U nltk
I'm getting errors download punkt. If I do it by hand it works. But nltk.data.find('punkt.zip')
is not finding it - even though it seems to be there. I've manually installed it and removed the error trapping in bmbb._init()
I've moved nltk_data (which includes punkt) to /usr/share/nltk_data
By the way - there are a lot of language support pickles that might be useless and can be deleted. search for "czech.pickle" and look in the associated PY3 directory.
I don't think I'll use stuff below this line, but keeping it around just in case
sudo apt-get install python-espeak
mkdir gitFiles
cd gitFiles
sudo python3 setup.py install
https://python-packaging.readthedocs.io/en/latest/minimal.html
There is a discussion of pyttsx for python3 at...
http://stackoverflow.com/questions/24963638/import-pyttsx-works-in-python-2-7-but-not-in-python3
https://blog.bartbania.com/raspberry_pi/files-list-file-missing-final-newline/
dpkg -c /var/cache/apt/archive/libruby2.1.deb |
awk '{if ($6 == './'){ print '/.'; } else if
(substr($6, length($6), 1) == '/'){print
substr($6, 2, length($6) - 2); } else { print
substr($6, 2, length($6) - 1);}}' >
/var/lib/dpkg/info/libruby2.1.list