Multiple errors when installing the server


#1

I am getting multiple errors and I've tried following the installation process step by step.
I also saw another issue opened that was solved using a c++ compiler, where would I download this from.
I would greatly appreciate any help.
Thanks

C:\Users\ro>pip install virtualenv
Requirement already satisfied: virtualenv in c:\python27\lib\site-packages (16.0.0)

C:\Users\ro>cd C:\OctoPrint

C:\OctoPrint>virtualenv venv
New python executable in C:\OctoPrint\venv\Scripts\python.exe
Installing setuptools, pip, wheel...done.

C:\OctoPrint>venv\Scripts\activate.bat

(venv) C:\OctoPrint>pip install https://get.octoprint.org/latest
Collecting https://get.octoprint.org/latest
Downloading https://get.octoprint.org/latest (4.9MB)
100% |################################| 4.9MB 742kB/s
Collecting flask<0.11,>=0.9 (from OctoPrint==1.3.8)
Collecting Jinja2<2.9,>=2.8 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/67/ea/92b1d9d8f2dc43302df7f5271b9500bbfc237386782343561a5f62beb306/Jinja2-2.8.1-py2.py3-none-any.whl
Collecting werkzeug<0.9,>=0.8.3 (from OctoPrint==1.3.8)
Collecting tornado==4.0.2 (from OctoPrint==1.3.8)
Collecting sockjs-tornado<1.1,>=1.0.3 (from OctoPrint==1.3.8)
Collecting PyYAML<3.11,>=3.10 (from OctoPrint==1.3.8)
Collecting Flask-Login<0.3,>=0.2.2 (from OctoPrint==1.3.8)
Collecting Flask-Principal<0.4,>=0.3.5 (from OctoPrint==1.3.8)
Collecting Flask-Babel<0.10,>=0.9 (from OctoPrint==1.3.8)
Collecting Flask-Assets<0.11,>=0.10 (from OctoPrint==1.3.8)
Collecting markdown<2.7,>=2.6.4 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl
Collecting pyserial<3.5,>=2.7 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl
Collecting netaddr<0.8,>=0.7.17 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/ba/97/ce14451a9fd7bdb5a397abf99b24a1a6bb7a1a440b019bebd2e9a0dbec74/netaddr-0.7.19-py2.py3-none-any.whl
Collecting watchdog<0.9,>=0.8.3 (from OctoPrint==1.3.8)
Collecting sarge<0.2,>=0.1.4 (from OctoPrint==1.3.8)
Collecting netifaces<0.11,>=0.10 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/81/39/4e9a026265ba944ddf1fea176dbb29e0fe50c43717ba4fcf3646d099fe38/netifaces-0.10.7.tar.gz
Collecting pylru<1.1,>=1.0.9 (from OctoPrint==1.3.8)
Collecting rsa<3.3,>=3.2 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/df/40/7e146be0b15022a84992a485a8503ddb20bebd18a68340f3af5abde534f4/rsa-3.2.3-py2.py3-none-any.whl
Collecting pkginfo<1.3,>=1.2.1 (from OctoPrint==1.3.8)
Collecting requests<3,>=2.18.4 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
Collecting semantic_version<2.5,>=2.4.2 (from OctoPrint==1.3.8)
Collecting psutil==5.4.3 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/b9/e4/6867765edcab8d12a52c84c9b0af492ecb99f8cc565ad552341bcf73ebd9/psutil-5.4.3-cp27-none-win_amd64.whl
Collecting Click<6.3,>=6.2 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/a0/90/0f5ea412a4d5b8e31cb514208e02824b45a8f4de52654733f0a862353fd9/click-6.2-py2.py3-none-any.whl
Collecting awesome-slugify<1.7,>=1.6.5 (from OctoPrint==1.3.8)
Collecting feedparser<5.3,>=5.2.1 (from OctoPrint==1.3.8)
Collecting chainmap<1.1,>=1.0.2 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/6a/53/795ce18439a067eea1b233152985c0e67fd7dcc4edf102fb30f8cca6bad0/chainmap-1.0.2-py2.py3-none-any.whl
Collecting future<0.16,>=0.15 (from OctoPrint==1.3.8)
Collecting scandir<1.4,>=1.3 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/b1/73/493f392cd7e1549361e7727f75dea1c9f3a627350973018857578c8c5598/scandir-1.3.tar.gz
Collecting websocket-client<0.41,>=0.40 (from OctoPrint==1.3.8)
Collecting python-dateutil<2.7,>=2.6 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/4b/0d/7ed381ab4fe80b8ebf34411d14f253e1cf3e56e2820ffa1d8844b23859a2/python_dateutil-2.6.1-py2.py3-none-any.whl
Collecting wrapt<1.11,>=1.10.10 (from OctoPrint==1.3.8)
Collecting futures<3.2,>=3.1.1 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/a6/1c/72a18c8c7502ee1b38a604a5c5243aa8c2a64f4bba4e6631b1b8972235dd/futures-3.1.1-py2-none-any.whl
Collecting emoji<0.5,>=0.4.5 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/28/b5/d16d0d84a9c2243c52222d96fd083cf4ec526fd5150b831964643d7702ec/emoji-0.4.5-py2-none-any.whl
Collecting monotonic<1.4,>=1.3 (from OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/1e/4c/f58022573cd15125bc03114913906bcb6d9bc1a4b8a170a88e0525b6cd51/monotonic-1.3-py2.py3-none-any.whl
Collecting frozendict<1.3,>=1.2 (from OctoPrint==1.3.8)
Collecting itsdangerous>=0.21 (from flask<0.11,>=0.9->OctoPrint==1.3.8)
Collecting MarkupSafe (from Jinja2<2.9,>=2.8->OctoPrint==1.3.8)
Collecting certifi (from tornado==4.0.2->OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
Collecting backports.ssl-match-hostname (from tornado==4.0.2->OctoPrint==1.3.8)
Collecting blinker (from Flask-Principal<0.4,>=0.3.5->OctoPrint==1.3.8)
Collecting Babel>=1.0 (from Flask-Babel<0.10,>=0.9->OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/b8/ad/c6f60602d3ee3d92fbed87675b6fb6a6f9a38c223343ababdb44ba201f10/Babel-2.6.0-py2.py3-none-any.whl
Collecting speaklater>=1.2 (from Flask-Babel<0.10,>=0.9->OctoPrint==1.3.8)
Collecting webassets>=0.10 (from Flask-Assets<0.11,>=0.10->OctoPrint==1.3.8)
Collecting argh>=0.24.1 (from watchdog<0.9,>=0.8.3->OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/06/1c/e667a7126f0b84aaa1c56844337bf0ac12445d1beb9c8a6199a7314944bf/argh-0.26.2-py2.py3-none-any.whl
Collecting pathtools>=0.1.1 (from watchdog<0.9,>=0.8.3->OctoPrint==1.3.8)
Collecting pyasn1>=0.1.3 (from rsa<3.3,>=3.2->OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/a0/70/2c27740f08e477499ce19eefe05dbcae6f19fdc49e9e82ce4768be0643b9/pyasn1-0.4.3-py2.py3-none-any.whl
Collecting idna<2.8,>=2.5 (from requests<3,>=2.18.4->OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Collecting urllib3<1.24,>=1.21.1 (from requests<3,>=2.18.4->OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests<3,>=2.18.4->OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting Unidecode<0.05,>=0.04.14 (from awesome-slugify<1.7,>=1.6.5->OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/01/a1/9d7f3138ee3d79a1ab865a2cb38200ca778d85121db19fe264c76c981184/Unidecode-0.04.21-py2.py3-none-any.whl
Collecting regex (from awesome-slugify<1.7,>=1.6.5->OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/aa/25/1dbdf13df9d04ed9e9b17fcf54bcb2a1a8f2ca9ed40aa113e25feb51ed0b/regex-2018.07.11-cp27-none-win_amd64.whl
Collecting six (from websocket-client<0.41,>=0.40->OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting pytz>=0a (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint==1.3.8)
Using cached https://files.pythonhosted.org/packages/30/4e/27c34b62430286c6d59177a0842ed90dc789ce5d1ed740887653b898779a/pytz-2018.5-py2.py3-none-any.whl
Building wheels for collected packages: OctoPrint, netifaces, scandir
Running setup.py bdist_wheel for OctoPrint ... done
Stored in directory: c:\users\ro\appdata\local\temp\pip-ephem-wheel-cache-_t5360\wheels\2e\0d\09\39f09d58d37b3c4977631d1a6c08c6c66c893b6c7eac42e3dc
Running setup.py bdist_wheel for netifaces ... error
Complete output from command c:\octoprint\venv\scripts\python.exe -u -c "import setuptools, tokenize;file='c:\users\ro\appdata\local\temp\pip-install-hcvml8\netifaces\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d c:\users\ro\appdata\local\temp\pip-wheel-410jk8 --python-tag cp27:
running bdist_wheel
running build
running build_ext
building 'netifaces' extension
error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27

Failed building wheel for netifaces
Running setup.py clean for netifaces
Running setup.py bdist_wheel for scandir ... error
Complete output from command c:\octoprint\venv\scripts\python.exe -u -c "import setuptools, tokenize;file='c:\users\ro\appdata\local\temp\pip-install-hcvml8\scandir\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d c:\users\ro\appdata\local\temp\pip-wheel-mqyztl --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-2.7
copying scandir.py -> build\lib.win-amd64-2.7
running build_ext
building '_scandir' extension
error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27

Failed building wheel for scandir
Running setup.py clean for scandir
Successfully built OctoPrint
Failed to build netifaces scandir
Installing collected packages: itsdangerous, werkzeug, MarkupSafe, Jinja2, flask, certifi, backports.ssl-match-hostname, tornado, sockjs-tornado, PyYAML, Flask-Login, blinker, Flask-Principal, pytz, Babel, speaklater, Flask-Babel, webassets, Flask-Assets, markdown, pyserial, netaddr, argh, pathtools, watchdog, sarge, netifaces, pylru, pyasn1, rsa, pkginfo, idna, urllib3, chardet, requests, semantic-version, psutil, Click, Unidecode, regex, awesome-slugify, feedparser, chainmap, future, scandir, six, websocket-client, python-dateutil, wrapt, futures, emoji, monotonic, frozendict, OctoPrint
Running setup.py install for netifaces ... error
Complete output from command c:\octoprint\venv\scripts\python.exe -u -c "import setuptools, tokenize;file='c:\users\ro\appdata\local\temp\pip-install-hcvml8\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 c:\users\ro\appdata\local\temp\pip-record-i31ha7\install-record.txt --single-version-externally-managed --compile --install-headers c:\octoprint\venv\include\site\python2.7\netifaces:
running install
running build
running build_ext
building 'netifaces' extension
error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27


Command "c:\octoprint\venv\scripts\python.exe -u -c "import setuptools, tokenize;file='c:\users\ro\appdata\local\temp\pip-install-hcvml8\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 c:\users\ro\appdata\local\temp\pip-record-i31ha7\install-record.txt --single-version-externally-managed --compile --install-headers c:\octoprint\venv\include\site\python2.7\netifaces" failed with error code 1 in c:\users\ro\appdata\local\temp\pip-install-hcvml8\netifaces\

(venv) C:\OctoPrint>