Issues installing OctoPrint

I'm Getting this error when trying to install OctoPrint.
The Visual C package installed perfectly and so did the 3.7 Python

But i just keep getting stuck at this error.

C:\OctoPrint>virtualenv venv
Using base prefix 'c:\\users\\tim\\appdata\\local\\programs\\python\\python37-32'
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 (5.0MB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5.0MB 3.4MB/s
Collecting flask<0.11,>=0.10.1 (from OctoPrint==1.3.9)
  Using cached https://files.pythonhosted.org/packages/db/9c/149ba60c47d107f85fe52564133348458f093dd5e6b57a5b60ab9ac517bb/Flask-0.10.1.tar.gz
Collecting Jinja2<2.9,>=2.8.1 (from OctoPrint==1.3.9)
  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.9)
  Using cached https://files.pythonhosted.org/packages/a1/1c/02e6127ec997c08266b03d7fd340ba7675dafe0e28886a569664fd019e56/Werkzeug-0.8.3.tar.gz
Collecting tornado==4.5.3 (from OctoPrint==1.3.9)
  Using cached https://files.pythonhosted.org/packages/e3/7b/e29ab3d51c8df66922fea216e2bddfcb6430fb29620e5165b16a216e0d3c/tornado-4.5.3.tar.gz
Collecting PyYAML<3.11,>=3.10 (from OctoPrint==1.3.9)
  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.9)
  Using cached https://files.pythonhosted.org/packages/42/3c/ead3f50b8a39b6dd3499ae6f0f5b13b955130c92a7479a287e2e07921faf/Flask-Login-0.2.11.tar.gz
Collecting Flask-Principal<0.4,>=0.3.5 (from OctoPrint==1.3.9)
  Using cached https://files.pythonhosted.org/packages/47/fa/932178a740e699a1072aa1e73dc99dee559b4500cd0ab3c0d98931589843/Flask-Principal-0.3.5.tar.gz
Collecting Flask-Babel<0.10,>=0.9 (from OctoPrint==1.3.9)
  Using cached https://files.pythonhosted.org/packages/24/6b/dd9031c446e05600b740086274a9939799f26401b8b96e124ccf71e6a9b2/Flask-Babel-0.9.tar.gz
Collecting Flask-Assets<0.11,>=0.10 (from OctoPrint==1.3.9)
  Using cached https://files.pythonhosted.org/packages/95/de/88eb544c93313031e7b85758a1443730b92e7b1d01ec7222ddfea5f382e7/Flask-Assets-0.10.tar.gz
Collecting markdown<2.7,>=2.6.9 (from OctoPrint==1.3.9)
  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.9)
  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.9)
  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.9)
  Using cached https://files.pythonhosted.org/packages/54/7d/c7c0ad1e32b9f132075967fc353a244eb2b375a3d2f5b0ce612fd96e107e/watchdog-0.8.3.tar.gz
Collecting sarge==0.1.4 (from OctoPrint==1.3.9)
  Using cached https://files.pythonhosted.org/packages/bc/9a/a715357f0f0a394edf964fb52b8b39551b629f4d1c996ade5f600fb3d278/sarge-0.1.4.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Tim\AppData\Local\Temp\pip-install-5l22vlxa\sarge\setup.py", line 11, in <module>
        import sarge
      File "C:\Users\Tim\AppData\Local\Temp\pip-install-5l22vlxa\sarge\sarge\__init__.py", line 604
        def run(self, input=None, async=False):
                                      ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Tim\AppData\Local\Temp\pip-install-5l22vlxa\sarge\

(venv) C:\OctoPrint>

octoprint uses python 2.x as far i know

1 Like