Error while installing OctoPrint in Windows 10


#1

What is the problem?
Trying to install OctoPrint in WIndows 10, following the official instructions. Everything was OK until step 6. After that i get this error (pasting the whole install's cmd log):

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 --upgrade pip
Requirement already up-to-date: pip in c:\octoprint\venv\lib\site-packages (18.1)

(venv) C:\OctoPrint>pip install https://get.octoprint.org/latest
Collecting https://get.octoprint.org/latest
  Downloading https://get.octoprint.org/latest (5.3MB)
    100% |################################| 5.4MB 2.5MB/s
Collecting flask<0.11,>=0.10.1 (from OctoPrint==1.3.10)
Collecting Jinja2<2.9,>=2.8.1 (from OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/67/ea/92b1d9d8f2dc43302df7f5271b9500bbfc237386782343561a5f62beb306/Jinja2-2.8.1-py2.py3-none-any.whl
Collecting regex!=2018.11.6 (from OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/8d/0a/9f879502329021b033e7bd0e4a050abfb72a3a4fe3a7155773abc87a011b/regex-2018.11.22-cp27-none-win32.whl
Collecting werkzeug<0.9,>=0.8.3 (from OctoPrint==1.3.10)
Collecting tornado==4.5.3 (from OctoPrint==1.3.10)
Collecting PyYAML<3.11,>=3.10 (from OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/00/17/3b822893a1789a025d3f676a381338516a8f65e686d915b0834ecc9b4979/PyYAML-3.10.tar.gz
Collecting Flask-Login<0.3,>=0.2.11 (from OctoPrint==1.3.10)
Collecting Flask-Principal<0.4,>=0.3.5 (from OctoPrint==1.3.10)
Collecting Flask-Babel<0.10,>=0.9 (from OctoPrint==1.3.10)
Collecting Flask-Assets<0.11,>=0.10 (from OctoPrint==1.3.10)
Collecting markdown<2.7,>=2.6.9 (from OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl
Collecting pyserial<3.5,>=3.4 (from OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl
Collecting netaddr<0.8,>=0.7.19 (from OctoPrint==1.3.10)
  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.10)
Collecting sarge==0.1.5post0 (from OctoPrint==1.3.10)
Collecting netifaces<0.11,>=0.10.6 (from OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/a5/0f/585ecf75085cf9097dcc2d9056d5a8d9d6f097d656c79dcbeb8db21cc16c/netifaces-0.10.7-cp27-cp27m-win32.whl
Collecting pylru<1.1,>=1.0.9 (from OctoPrint==1.3.10)
Collecting rsa<3.3,>=3.2.3 (from OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/df/40/7e146be0b15022a84992a485a8503ddb20bebd18a68340f3af5abde534f4/rsa-3.2.3-py2.py3-none-any.whl
Collecting pkginfo<1.5,>=1.4.2 (from OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/a3/fe/f32a48d48f40a7209be9825fba2566cab92364787cf37de2e08300dd6ce7/pkginfo-1.4.2-py2.py3-none-any.whl
Collecting requests<3,>=2.18.4 (from OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl
Collecting semantic_version<2.5,>=2.4.2 (from OctoPrint==1.3.10)
Collecting psutil<5.5,>=5.4.6 (from OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/5a/3f/3f0920df352dae7f824e0e612ff02591378f78405d6c7663dcac023005c4/psutil-5.4.8-cp27-none-win32.whl
Collecting Click<6.3,>=6.2 (from OctoPrint==1.3.10)
  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.10)
Collecting feedparser<5.3,>=5.2.1 (from OctoPrint==1.3.10)
Collecting chainmap<1.1,>=1.0.2 (from OctoPrint==1.3.10)
  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.2 (from OctoPrint==1.3.10)
Collecting scandir<1.4,>=1.3 (from OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/b1/73/493f392cd7e1549361e7727f75dea1c9f3a627350973018857578c8c5598/scandir-1.3.tar.gz
Collecting websocket-client<0.41,>=0.40.0 (from OctoPrint==1.3.10)
Collecting python-dateutil<2.7,>=2.6.1 (from OctoPrint==1.3.10)
  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.11 (from OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz
Collecting futures<3.2,>=3.1.1 (from OctoPrint==1.3.10)
  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.10)
  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.10)
  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.10)
Collecting itsdangerous>=0.21 (from flask<0.11,>=0.10.1->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting MarkupSafe (from Jinja2<2.9,>=2.8.1->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/ce/44/6636e1b2dc3f71dd7f73bf170d6642de3d5dfbf34a9072ccaeb9c33f2691/MarkupSafe-1.1.0-cp27-cp27m-win32.whl
Collecting backports-abc>=0.4 (from tornado==4.5.3->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7/backports_abc-0.5-py2.py3-none-any.whl
Collecting singledispatch (from tornado==4.5.3->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting certifi (from tornado==4.5.3->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/9f/e0/accfc1b56b57e9750eba272e24c4dddeac86852c2bebd1236674d7887e8a/certifi-2018.11.29-py2.py3-none-any.whl
Collecting blinker (from Flask-Principal<0.4,>=0.3.5->OctoPrint==1.3.10)
Collecting Babel>=1.0 (from Flask-Babel<0.10,>=0.9->OctoPrint==1.3.10)
  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.10)
Collecting webassets>=0.10 (from Flask-Assets<0.11,>=0.10->OctoPrint==1.3.10)
Collecting pathtools>=0.1.1 (from watchdog<0.9,>=0.8.3->OctoPrint==1.3.10)
Collecting argh>=0.24.1 (from watchdog<0.9,>=0.8.3->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/06/1c/e667a7126f0b84aaa1c56844337bf0ac12445d1beb9c8a6199a7314944bf/argh-0.26.2-py2.py3-none-any.whl
Collecting pyasn1>=0.1.3 (from rsa<3.3,>=3.2.3->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/d1/a1/7790cc85db38daa874f6a2e6308131b9953feb1367f2ae2d1123bb93a9f5/pyasn1-0.4.4-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests<3,>=2.18.4->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests<3,>=2.18.4->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting urllib3<1.25,>=1.21.1 (from requests<3,>=2.18.4->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl
Collecting Unidecode<0.05,>=0.04.14 (from awesome-slugify<1.7,>=1.6.5->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/01/a1/9d7f3138ee3d79a1ab865a2cb38200ca778d85121db19fe264c76c981184/Unidecode-0.04.21-py2.py3-none-any.whl
Collecting six (from websocket-client<0.41,>=0.40.0->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting pytz>=0a (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint==1.3.10)
  Using cached https://files.pythonhosted.org/packages/f8/0e/2365ddc010afb3d79147f1dd544e5ee24bf4ece58ab99b16fbb465ce6dc0/pytz-2018.7-py2.py3-none-any.whl
Building wheels for collected packages: OctoPrint, PyYAML, scandir, wrapt
  Running setup.py bdist_wheel for OctoPrint ... done
  Stored in directory: c:\users\mrk~1\appdata\local\temp\pip-ephem-wheel-cache-dzs1uh\wheels\2e\0d\09\39f09d58d37b3c4977631d1a6c08c6c66c893b6c7eac42e3dc
  Running setup.py bdist_wheel for PyYAML ... error
  Complete output from command c:\octoprint\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\mrk~1\\appdata\\local\\temp\\pip-install-awmygo\\PyYAML\\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\mrk~1\appdata\local\temp\pip-wheel-b0jw8n --python-tag cp27:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win32-2.7
  creating build\lib.win32-2.7\yaml
  copying lib\yaml\composer.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\constructor.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\cyaml.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\dumper.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\emitter.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\error.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\events.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\loader.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\nodes.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\parser.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\reader.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\representer.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\resolver.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\scanner.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\serializer.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\tokens.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\__init__.py -> build\lib.win32-2.7\yaml
  running build_ext
  creating build\temp.win32-2.7
  creating build\temp.win32-2.7\Release
  checking if libyaml is compilable
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\PyYAML\setup.py", line 344, in <module>
      'test': test,
    File "c:\python27\Lib\distutils\core.py", line 151, in setup
      dist.run_commands()
    File "c:\python27\Lib\distutils\dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
      cmd_obj.run()
    File "c:\octoprint\venv\lib\site-packages\wheel\bdist_wheel.py", line 188, in run
      self.run_command('build')
    File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
      cmd_obj.run()
    File "c:\python27\Lib\distutils\command\build.py", line 127, in run
      self.run_command(cmd_name)
    File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
      cmd_obj.run()
    File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\PyYAML\setup.py", line 171, in run
      _build_ext.run(self)
    File "c:\python27\Lib\distutils\command\build_ext.py", line 340, in run
      self.build_extensions()
    File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\PyYAML\setup.py", line 213, in build_extensions
      with_ext = self.check_extension_availability(ext)
    File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\PyYAML\setup.py", line 239, in check_extension_availability
      depends=ext.depends)
    File "c:\python27\Lib\distutils\msvc9compiler.py", line 473, in compile
      self.initialize()
    File "c:\python27\Lib\distutils\msvc9compiler.py", line 383, in initialize
      vc_env = query_vcvarsall(VERSION, plat_spec)
    File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 147, in msvc9_query_vcvarsall
      return EnvironmentInfo(arch, ver).return_env()
    File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1255, in return_env
      exists),
    File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1278, in _build_paths
      return os.pathsep.join(unique_paths)
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 10: ordinal not in range(128)

  ----------------------------------------
  Failed building wheel for PyYAML
  Running setup.py clean for PyYAML
  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\\mrk~1\\appdata\\local\\temp\\pip-install-awmygo\\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\mrk~1\appdata\local\temp\pip-wheel-el32yk --python-tag cp27:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win32-2.7
  copying scandir.py -> build\lib.win32-2.7
  running build_ext
  building '_scandir' extension
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\scandir\setup.py", line 56, in <module>
      'Programming Language :: Python :: Implementation :: CPython',
    File "c:\python27\Lib\distutils\core.py", line 151, in setup
      dist.run_commands()
    File "c:\python27\Lib\distutils\dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
      cmd_obj.run()
    File "c:\octoprint\venv\lib\site-packages\wheel\bdist_wheel.py", line 188, in run
      self.run_command('build')
    File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
      cmd_obj.run()
    File "c:\python27\Lib\distutils\command\build.py", line 127, in run
      self.run_command(cmd_name)
    File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
      cmd_obj.run()
    File "c:\octoprint\venv\lib\site-packages\setuptools\command\build_ext.py", line 78, in run
      _build_ext.run(self)
    File "c:\python27\Lib\distutils\command\build_ext.py", line 340, in run
      self.build_extensions()
    File "c:\python27\Lib\distutils\command\build_ext.py", line 449, in build_extensions
      self.build_extension(ext)
    File "c:\octoprint\venv\lib\site-packages\setuptools\command\build_ext.py", line 199, in build_extension
      _build_ext.build_extension(self, ext)
    File "c:\python27\Lib\distutils\command\build_ext.py", line 499, in build_extension
      depends=ext.depends)
    File "c:\python27\Lib\distutils\msvc9compiler.py", line 473, in compile
      self.initialize()
    File "c:\python27\Lib\distutils\msvc9compiler.py", line 383, in initialize
      vc_env = query_vcvarsall(VERSION, plat_spec)
    File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 147, in msvc9_query_vcvarsall
      return EnvironmentInfo(arch, ver).return_env()
    File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1255, in return_env
      exists),
    File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1278, in _build_paths
      return os.pathsep.join(unique_paths)
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 10: ordinal not in range(128)

  ----------------------------------------
  Failed building wheel for scandir
  Running setup.py clean for scandir
  Running setup.py bdist_wheel for wrapt ... error
  Complete output from command c:\octoprint\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\mrk~1\\appdata\\local\\temp\\pip-install-awmygo\\wrapt\\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\mrk~1\appdata\local\temp\pip-wheel-qifsbc --python-tag cp27:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win32-2.7
  creating build\lib.win32-2.7\wrapt
  copying src\wrapt\arguments.py -> build\lib.win32-2.7\wrapt
  copying src\wrapt\decorators.py -> build\lib.win32-2.7\wrapt
  copying src\wrapt\importer.py -> build\lib.win32-2.7\wrapt
  copying src\wrapt\wrappers.py -> build\lib.win32-2.7\wrapt
  copying src\wrapt\__init__.py -> build\lib.win32-2.7\wrapt
  running build_ext
  building 'wrapt._wrappers' extension
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\wrapt\setup.py", line 100, in <module>
      run_setup(with_extensions=True)
    File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\wrapt\setup.py", line 70, in run_setup
      setup(**setup_kwargs_tmp)
    File "c:\python27\Lib\distutils\core.py", line 151, in setup
      dist.run_commands()
    File "c:\python27\Lib\distutils\dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
      cmd_obj.run()
    File "c:\octoprint\venv\lib\site-packages\wheel\bdist_wheel.py", line 188, in run
      self.run_command('build')
    File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
      cmd_obj.run()
    File "c:\python27\Lib\distutils\command\build.py", line 127, in run
      self.run_command(cmd_name)
    File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
      cmd_obj.run()
    File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\wrapt\setup.py", line 25, in run
      build_ext.run(self)
    File "c:\python27\Lib\distutils\command\build_ext.py", line 340, in run
      self.build_extensions()
    File "c:\python27\Lib\distutils\command\build_ext.py", line 449, in build_extensions
      self.build_extension(ext)
    File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\wrapt\setup.py", line 31, in build_extension
      build_ext.build_extension(self, ext)
    File "c:\python27\Lib\distutils\command\build_ext.py", line 499, in build_extension
      depends=ext.depends)
    File "c:\python27\Lib\distutils\msvc9compiler.py", line 473, in compile
      self.initialize()
    File "c:\python27\Lib\distutils\msvc9compiler.py", line 383, in initialize
      vc_env = query_vcvarsall(VERSION, plat_spec)
    File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 147, in msvc9_query_vcvarsall
      return EnvironmentInfo(arch, ver).return_env()
    File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1255, in return_env
      exists),
    File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1278, in _build_paths
      return os.pathsep.join(unique_paths)
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 10: ordinal not in range(128)

  ----------------------------------------
  Failed building wheel for wrapt
  Running setup.py clean for wrapt
Successfully built OctoPrint
Failed to build PyYAML scandir wrapt
Installing collected packages: werkzeug, MarkupSafe, Jinja2, itsdangerous, flask, regex, backports-abc, six, singledispatch, certifi, tornado, PyYAML, Flask-Login, blinker, Flask-Principal, pytz, Babel, speaklater, Flask-Babel, webassets, Flask-Assets, markdown, pyserial, netaddr, pathtools, argh, watchdog, sarge, netifaces, pylru, pyasn1, rsa, pkginfo, idna, chardet, urllib3, requests, semantic-version, psutil, Click, Unidecode, awesome-slugify, feedparser, chainmap, future, scandir, websocket-client, python-dateutil, wrapt, futures, emoji, monotonic, frozendict, OctoPrint
  Running setup.py install for PyYAML ... error
    Complete output from command c:\octoprint\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\mrk~1\\appdata\\local\\temp\\pip-install-awmygo\\PyYAML\\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\mrk~1\appdata\local\temp\pip-record-vjwrmt\install-record.txt --single-version-externally-managed --compile --install-headers c:\octoprint\venv\include\site\python2.7\PyYAML:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-2.7
    creating build\lib.win32-2.7\yaml
    copying lib\yaml\composer.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\constructor.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\cyaml.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\dumper.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\emitter.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\error.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\events.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\loader.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\nodes.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\parser.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\reader.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\representer.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\resolver.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\scanner.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\serializer.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\tokens.py -> build\lib.win32-2.7\yaml
    copying lib\yaml\__init__.py -> build\lib.win32-2.7\yaml
    running build_ext
    creating build\temp.win32-2.7
    creating build\temp.win32-2.7\Release
    checking if libyaml is compilable
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\PyYAML\setup.py", line 344, in <module>
        'test': test,
      File "c:\python27\Lib\distutils\core.py", line 151, in setup
        dist.run_commands()
      File "c:\python27\Lib\distutils\dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
        cmd_obj.run()
      File "c:\octoprint\venv\lib\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "c:\python27\Lib\distutils\command\install.py", line 563, in run
        self.run_command('build')
      File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
        cmd_obj.run()
      File "c:\python27\Lib\distutils\command\build.py", line 127, in run
        self.run_command(cmd_name)
      File "c:\python27\Lib\distutils\cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
        cmd_obj.run()
      File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\PyYAML\setup.py", line 171, in run
        _build_ext.run(self)
      File "c:\python27\Lib\distutils\command\build_ext.py", line 340, in run
        self.build_extensions()
      File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\PyYAML\setup.py", line 213, in build_extensions
        with_ext = self.check_extension_availability(ext)
      File "c:\users\mrk~1\appdata\local\temp\pip-install-awmygo\PyYAML\setup.py", line 239, in check_extension_availability
        depends=ext.depends)
      File "c:\python27\Lib\distutils\msvc9compiler.py", line 473, in compile
        self.initialize()
      File "c:\python27\Lib\distutils\msvc9compiler.py", line 383, in initialize
        vc_env = query_vcvarsall(VERSION, plat_spec)
      File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 147, in msvc9_query_vcvarsall
        return EnvironmentInfo(arch, ver).return_env()
      File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1255, in return_env
        exists),
      File "c:\octoprint\venv\lib\site-packages\setuptools\msvc.py", line 1278, in _build_paths
        return os.pathsep.join(unique_paths)
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 10: ordinal not in range(128)

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

(venv) C:\OctoPrint>

What did you already try to solve it?
It's pretty much the same as issue #1405 and issue #2685 (cant do more than 2 links) but the solution for #1405 (install VC++) didn't work for me since it was already installed properly and #2685 just redirects me here and i couldnt find OP's forum post, so here I am seeking for help. :confused:

Additional information about your setup
Installed python-2.7.14.msi (not forgeting "add python to your path" part)
and VCForPython27.msi (it was included in the python installer so i just did a repair just in case).
Running Win10 Pro (1809).
Trying to control My Ender 3 using my pc.

Thank you all for any help in advance.