Python 3.5 to 3.6 and missing dependencies. Help!

I had 2 versions of Python 3. Version 3.5 and 3.6 on my Mac. Lately when I update HA it updates in 3.6 but when I start HA it uses 3.5. I couldn’t figure out how to get HA to use 3.6 so I just manually removed 3.5

Now the issue is several components (Netatmo, Eight Sleep, Plex, Yahoo Weather, Transmission etc.) won’t properly load. It’s got to be due to a dependency not being installed but there’s no indication of what’s missing in the log. Can anyone see what’s missing?

2018-05-14 08:13:21 ERROR (MainThread) [homeassistant.setup] Error during setup of component netatmo
TypeError: 'NoneType' object is not subscriptable
2018-05-14 08:13:22 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.netatmo. Setup failed for dependencies: netatmo
2018-05-14 08:13:22 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.netatmo: Could not setup all dependencies.
2018-05-14 08:13:29 ERROR (MainThread) [pyeight.eight] Error posting Eight data. Cannot connect to host app-api.8slp.net:443 ssl:True [[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)]
2018-05-14 08:13:29 ERROR (MainThread) [pyeight.eight] Unable to authenticate and fetch eight token.
2018-05-14 08:13:29 ERROR (MainThread) [homeassistant.setup] Setup failed for eight_sleep: Component failed to initialize.
2018-05-14 08:13:30 ERROR (SyncWorker_9) [yahooweather] Fetch no weather data Yahoo!
2018-05-14 08:13:32 ERROR (MainThread) [homeassistant.components.sensor] waze_travel_time: Error on device update!
IndexError: list index out of range
2018-05-14 08:13:35 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform plex
AttributeError: 'NoneType' object has no attribute 'machineIdentifier'
2018-05-14 08:13:58 ERROR (SyncWorker_9) [homeassistant.components.sensor.transmission] Connection to Transmission API failed on 192.168.1.4:9091 with message HTTPHandlerError 60: Operation timed out
2018-05-14 08:14:01 ERROR (MainThread) [homeassistant.components.sensor.template] Could not render template alert_title: UndefinedError: 'mappingproxy object' has no attribute 'Message'
2018-05-14 08:14:01 ERROR (MainThread) [homeassistant.components.sensor.template] Could not render template alert_text: UndefinedError: 'mappingproxy object' has no attribute 'Message'
2018-05-14 08:14:03 ERROR (MainThread) [homeassistant.helpers.service] Error rendering data template: UndefinedError: 'dict object' has no attribute 'entity_id'

I don’t have a mac (at the moment) but the general principle is the same for all computers.

Define a virtual environment for HA using the version of Python you wish to use (3.6 in your case) and then install HA using pip in that virtual environment. All components will then use the python from the virtual environment.

OK so I used a virtual environment but still getting errors and components not loading. How do I force the dependencies to install?

2018-05-14 15:40:32 ERROR (MainThread) [homeassistant.setup] Error during setup of component wemo
ModuleNotFoundError: No module named 'netifaces'
2018-05-14 15:40:32 ERROR (MainThread) [homeassistant.setup] Error during setup of component homekit
ModuleNotFoundError: No module named 'netifaces'
2018-05-14 15:40:33 ERROR (MainThread) [homeassistant.setup] Error during setup of component discovery
ModuleNotFoundError: No module named 'netifaces'
2018-05-14 15:40:33 ERROR (MainThread) [pyeight.eight] Error posting Eight data. Cannot connect to host app-api.8slp.net:443 ssl:True [[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)]
2018-05-14 15:40:33 ERROR (MainThread) [pyeight.eight] Unable to authenticate and fetch eight token.
2018-05-14 15:40:33 ERROR (MainThread) [homeassistant.setup] Setup failed for eight_sleep: Component failed to initialize.
2018-05-14 15:40:34 ERROR (MainThread) [homeassistant.setup] Error during setup of component netatmo
TypeError: 'NoneType' object is not subscriptable
2018-05-14 15:40:34 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.netatmo. Setup failed for dependencies: netatmo
2018-05-14 15:40:34 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.netatmo: Could not setup all dependencies.
2018-05-14 15:40:36 ERROR (SyncWorker_3) [yahooweather] Fetch no weather data Yahoo!
2018-05-14 15:41:06 ERROR (SyncWorker_9) [homeassistant.components.sensor.transmission] Connection to Transmission API failed on 192.168.1.4:9091 with message HTTPHandlerError 600: urllib2.URLError: timed out
2018-05-14 15:41:28 ERROR (MainThread) [homeassistant.components.sensor.template] Could not render template alert_title: UndefinedError: 'mappingproxy object' has no attribute 'Message'
2018-05-14 15:41:28 ERROR (MainThread) [homeassistant.components.sensor.template] Could not render template alert_text: UndefinedError: 'mappingproxy object' has no attribute 'Message'
2018-05-14 15:41:29 ERROR (MainThread) [homeassistant.helpers.service] Error rendering data template: UndefinedError: 'dict object' has no attribute 'entity_id'

When I try to install them manually with this command…

python3 -m pip install netifaces

here’s the result…

Requirement already satisfied: netifaces in ./lib/python3.6/site-packages (0.10.7)

Could it be a permissions problem??