Unable to install package netdisco==1.1.0

Hi, I setup HA under windows and everything was working OK but I could not get integration with HomeBridge working so I made a VM of Mint. Everything is working in now where my single light responds to commands (from HomeAssistent page and Siri), but I can’t get the ios component to load in the ios app plus I continually get the error that discovery could not be setup. I have attached the errors that I get below but I am at a loss. It could be that I am doing something stupid as I have never used Linux before.

I did search around but am not sure which commands I can copy as all other people I found with this issue was using a different version of Linux and I don’t know if that would break my install running unknown commands.

2017-08-18 08:44:10 ERROR (Thread-7) [homeassistant.util.package] Unable to install package netdisco==1.1.0: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-l4nv40tl/netifaces/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-eufeg5x9-record/install-record.txt --single-version-externally-managed --prefix  --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-l4nv40tl/netifaces/
2017-08-18 08:44:10 ERROR (MainThread) [homeassistant.setup] Not initializing discovery because could not install dependency netdisco==1.1.0
2017-08-18 08:44:10 ERROR (MainThread) [homeassistant.setup] Setup failed for discovery: Could not install all requirements.
2017-08-18 08:44:12 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.

I forgot to post my config file. Only change i made is to **** out my api password.

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: -33.9152560
  longitude: 151.1156200
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 3
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Australia/Sydney

# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

http:
  # Uncomment this to add a password (recommended!)
  api_password: ******
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  # base_url: example.duckdns.org:8123

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  include_used_components: true

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Track the sun
sun:

# Yeelight - Loung Room
light:
    - platform: yeelight
      devices:
        10.10.0.12:
            name: Lounge Room
            transition: 1000
            use_music_mode: True
            save_on_change: True
        # 192.168.1.13:
            # name: Front Door

# Weather prediction
sensor:
  - platform: yr

# Text to speech
tts:
  - platform: google

group: !include groups.yaml
automation: !include automations.yaml

Found my solution. For anyone interested it was found in the following link

If you are using the virtual environment then move into it like updating then run

pip3 install netifaces

I know this is a little old but wanted to add it just incase anyone runs into the same problem.

On Windows 10, Python x64 I fixed “ERROR:homeassistant.util.package:Unable to install package netdisco==1.2.4” by installing:

http://landinghub.visualstudio.com/visual-cpp-build-tools Visual Studio C++ 2015 Build Tools

From the command prompt I then ran:

py -m pip install netifaces

py -m pip install netdisco

Now HomeAssistant works fine after restarting the UI