
#a2enmod apreq (You may get some warning message mentioning modules are enabled/ not enabled and needs apache restart.Do /etc/init.d/apache2 restart and try enabling the modules) #chown -R netdisco:netdisco /usr /local /netdisco (Changing ownership of netdisco user)Ħ) ensure following apache modules enabled #a2enmod perl #useradd -d /usr /local /netdisco netdisco (This creates netdisco user on your server) #mkdir -p /usr /local /netdisco /data /logsĥ) Now create netdisco user on the system #mv netdisco-1.0 /* /usr /local /netdisco 4)Create log directory for netdisco #mkdir -p /usr /local /netdisco Move netdisco-1.0 folder to /usr/local/netdisco home folder Zipfile.#tar xzvf netdisco-1.0_with_ (This will create a folder netdisco-1.0 under /home/bejoy) 3)Create the netdisco home folder under /usr/local Raise BadZipFile(“File is not a zip file”) Zip = zipfile.ZipFile(zipfp, allowZip64=True)įile “/usr/lib/python3.4/zipfile.py”, line 937, in initįile “/usr/lib/python3.4/zipfile.py”, line 978, in _RealGetContents Unpack_file(from_path, location, content_type, link)įile “/srv/hass/hass_venv/lib/python3.4/site-packages/pip/utils/ init.py”, line 599, in unpack_fileįile “/srv/hass/hass_venv/lib/python3.4/site-packages/pip/utils/ init.py”, line 484, in unzip_file Unpack_file_url(link, location, download_dir, hashes=hashes)įile “/srv/hass/hass_venv/lib/python3.4/site-packages/pip/download.py”, line 715, in unpack_file_url Ignore_dependencies=self.ignore_dependencies))įile “/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py”, line 620, in _prepare_fileįile “/srv/hass/hass_venv/lib/python3.4/site-packages/pip/download.py”, line 809, in unpack_url Self.requirement_set.prepare_files(self.finder)įile “/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py”, line 380, in prepare_files Any ideasįile “/srv/hass/hass_venv/lib/python3.4/site-packages/pip/basecommand.py”, line 215, in mainįile “/srv/hass/hass_venv/lib/python3.4/site-packages/pip/commands/install.py”, line 335, in runįile “/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py”, line 749, in build



I get the following error while logged in to the virtual enviroment of hass (hass_venv) and try to install netdisco by running the command pip3 install netdisco.
