pi@Ender3:~ $ ~/oprint/bin/pip install --force-reinstall --no-cache-dir OctoPrint==1.5.3 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting OctoPrint==1.5.3 Downloading OctoPrint-1.5.3-py2.py3-none-any.whl (3.8 MB) |████████████████████████████████| 3.8 MB 3.5 MB/s Collecting OctoPrint-FileCheck>=2020.08.07 Downloading OctoPrint_FileCheck-2020.8.7-py2.py3-none-any.whl (19 kB) Collecting futures<4,>=3.3; python_version < "3" Downloading futures-3.3.0-py2-none-any.whl (16 kB) Collecting semantic-version<3,>=2.8.5 Downloading semantic_version-2.8.5-py2.py3-none-any.whl (15 kB) Collecting itsdangerous<2,>=1.1.0 Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB) Collecting future<1,>=0.18.2 Downloading future-0.18.2.tar.gz (829 kB) |████████████████████████████████| 829 kB 3.8 MB/s Collecting blinker<2,>=1.4 Downloading blinker-1.4.tar.gz (111 kB) |████████████████████████████████| 111 kB 3.6 MB/s Collecting unidecode<0.05,>=0.04.14 Downloading Unidecode-0.04.21-py2.py3-none-any.whl (228 kB) |████████████████████████████████| 228 kB 4.0 MB/s Collecting werkzeug<2,>=1.0.1 Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB) |████████████████████████████████| 298 kB 3.4 MB/s Collecting Flask-Assets<3,>=2.0 Downloading Flask-Assets-2.0.tar.gz (23 kB) Collecting PyYAML<6,>=5.3.1 Downloading PyYAML-5.4.1.tar.gz (175 kB) |████████████████████████████████| 175 kB 4.1 MB/s Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: /home/pi/oprint/bin/python2 /home/pi/oprint/local/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-lpgnkH/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools wheel Cython cwd: None Complete output (24 lines): Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/home/pi/oprint/lib/python2.7/site-packages/pip/__main__.py", line 26, in sys.exit(_main()) File "/home/pi/oprint/lib/python2.7/site-packages/pip/_internal/cli/main.py", line 73, in main command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) File "/home/pi/oprint/lib/python2.7/site-packages/pip/_internal/commands/__init__.py", line 105, in create_command module = importlib.import_module(module_path) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/home/pi/oprint/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 17, in from pip._internal.cli.req_command import RequirementCommand, with_cleanup File "/home/pi/oprint/lib/python2.7/site-packages/pip/_internal/cli/req_command.py", line 18, in from pip._internal.index.collector import LinkCollector File "/home/pi/oprint/lib/python2.7/site-packages/pip/_internal/index/collector.py", line 14, in from pip._vendor import html5lib, requests File "/home/pi/oprint/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py", line 43, in from pip._vendor import urllib3 File "/home/pi/oprint/lib/python2.7/site-packages/pip/_vendor/urllib3/__init__.py", line 9, in from logging import NullHandler ImportError: cannot import name NullHandler ---------------------------------------- ERROR: Command errored out with exit status 1: /home/pi/oprint/bin/python2 /home/pi/oprint/local/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-lpgnkH/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools wheel Cython Check the logs for full command output. pi@Ender3:~ $