Having trouble getting HDMI CEC to work

So Ive been struggling to get this component to work. Im updated to .37.
I then followed the instructions found at the bottom of this post:

sudo apt-get install libcec3
sudo ln -s /usr/local/lib/python3.4/dist-packages/cec /srv/hass/hass_venv/lib/python3.4/site-packages
sudo apt-get install cmake liblockdev1-dev libudev-dev libxrandr-dev python-dev swig
cd
git clone https://github.com/Pulse-Eight/platform.git
mkdir platform/build
cd platform/build
cmake ..
make
sudo make install
cd
git clone https://github.com/Pulse-Eight/libcec.git
mkdir libcec/build
cd libcec/build
cmake -DRPI_INCLUDE_DIR=/opt/vc/include -DRPI_LIB_DIR=/opt/vc/lib ..
make -j4
sudo make install
sudo ldconfig

I then got an error on the front end stating the component wasnt set up properly (I cant remember the exact error). In gitter, someone told me to try the following:

sudo rm /srv/hass/hass_venv/lib/python3.4/site-packages

sudo -s/usr/local/lib/python3.4/site-packages/cec//srv/hass_venv/lib/python3.4/site-packages/cec

Now Im getting this error:

WARNING (Thread-16) [pycec] Not initialized. Waiting for init.

And then it wont boot. And this is where I’m stuck.
In case its helpful, here is the full log from the install.
Any ideas?

What does cec-client -l give?

I think I might ahve just figured out the initial problem.

sudo ln -s /usr/local/lib/python3.4/dist-packages/cec /srv/hass/hass_venv/lib/python3.4/site-packages

has a space in it after cec which fucked things up.

Not sure how to fix all of that though…

No device type given. Using ‘recording device’
CEC Parser created - libCEC version 4.0.2
opening a connection to the CEC adapter…
DEBUG: [ 15] Broadcast (F): osd name set to ‘Broadcast’
ERROR: [ 3518] error opening serial port ‘-1’: No such file or directory
ERROR: [ 3518] could not open a connection (try 1)
ERROR: [ 6354] error opening serial port ‘-1’: No such file or directory
ERROR: [ 6354] could not open a connection (try 2)
ERROR: [ 8244] error opening serial port ‘-1’: No such file or directory

Running echo scan | cec-client -s -d 1

picks up all my devices so that is working

There is supposed to be a space. Can you verify that the symlink is correct?

ls /srv/hass/hass_venv/lib/python3.4/site-packages/cec

should show some files

_cec.so  __init__.py

any ideas?