Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Tell pip to stop confusing the noobs with upgrade suggestions #2988

Closed
OutsourcedGuru opened this issue Jan 4, 2019 · 16 comments
Closed
Labels
done Done but not yet released request Feature request
Milestone

Comments

@OutsourcedGuru
Copy link

Is your feature request related to a problem? Please describe.
Each and every pip install activity is displayed for users both in the Settings-related popup and in the logs/command line.

A lot of the users seem to think that any warning is a bad thing. The warning/message in question is related to the pip suggestion that pip itself ought to be upgraded. Some of the time this results in users asking on the forum what they should do. Some of the time users then take it upon themself to attempt to "fix" their pip version, getting into trouble.

Describe the solution you'd like
pip install --disable-pip-version-check _whatever_

...or edit the $VIRTUAL_ENV/pip.conf with this information so that manual commands don't throw the "error".

Describe alternatives you've considered
We could attempt to distribute the information in the documentation and forum but it's not usually read first, to be honest.

Additional context
They see something similar to this:
https://i.stack.imgur.com/Sedia.jpg

@GitIssueBot GitIssueBot added the request Feature request label Jan 4, 2019
@foosel foosel added this to the 1.3.11 milestone Jan 10, 2019
@foosel
Copy link
Member

foosel commented Jan 10, 2019

Yeah, I fear it really has come to this. Been pondering it for a while, but even though there's an FAQ entry about it, people still get too confused by it, so that needs to be done I guess.

@tedder
Copy link
Contributor

tedder commented Jan 10, 2019

There were what, 2-3 separate threads on it over the break? I thought it was silly at first to do this, but obv I'm wrong.

@OutsourcedGuru
Copy link
Author

I know, they're just wearing us out with things-they-shouldn't-be-doing, to be honest. Granted, Christmas is a big time for buying new 3D printers and toys.

@foosel
Copy link
Member

foosel commented Jan 11, 2019

I actually setup an FAQ entry for that a couple months back, but I guess it's not news that people don't read.

foosel added a commit that referenced this issue Jan 11, 2019
Users get too confused by the warning the lack of it generates on plugin
installs/uninstalls and updates of any kind through pip. An FAQ entry
on that matter hasn't helped, so we are now pulling out the nuclear
option to reduce support overhead.

Implements #2988
@foosel foosel added the done Done but not yet released label Jan 11, 2019
@foosel
Copy link
Member

foosel commented Jan 11, 2019

There you go. Done through the above commit, to be part of 1.3.11.

@OutsourcedGuru
Copy link
Author

Thanks.

People are so event-driven these days. It's based upon the constant upgrade mentality out there.

I have several Macs, iPads, iPhones and they all nag me to upgrade this, that and the other thing. We're being programmed that we MUST take all updates or face some unknown consequences.

@OutsourcedGuru
Copy link
Author

Updating OctoPi / not a directory

I saw the blog entry about OctoPi 0.15.0 and 0.16.0, so I want to update my OctoPi.
When using the command: pip install --upgrade pip
I got error messages. So I used following commands to update pip (I thought so)...

🤕

@OutsourcedGuru
Copy link
Author

For what it's worth, I note that this page suggests that the developer upgrade their pip. I'm not sure whether or not that this can get someone into trouble.

screen shot 2019-03-02 at 12 29 12 pm

@karolzlot
Copy link

karolzlot commented Mar 30, 2019

I think I have related issue. I use PrusaPrint image. It is my first day, so I can start with new image if this can't be solved easily

I did not remove any lines from below, so you can see when things stopped working

  1. Manual extension installation was working (OctoPrint plugin manager coudn't access internet, but bash doesn't mind )
pi@octopi:~ $ pip install "https://github.com/OctoPrint/OctoPrint-FirmwareUpdate                                                                             r/archive/master.zip"
-bash: pip: command not found
pi@octopi:~ $ ~/oprint/bin/pip install "https://github.com/OctoPrint/OctoPrint-F                                                                             irmwareUpdater/archive/master.zip"
Collecting https://github.com/OctoPrint/OctoPrint-FirmwareUpdater/archive/master                                                                             .zip
  Downloading https://github.com/OctoPrint/OctoPrint-FirmwareUpdater/archive/mas                                                                             ter.zip
     \ 471kB 3.3MB/s
Requirement already satisfied: OctoPrint in ./oprint/lib/python2.7/site-packages                                                                              (from OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: flask<0.11,>=0.10.1 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: Jinja2<2.9,>=2.8.1 in ./oprint/lib/python2.7/site                                                                             -packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: regex!=2018.11.6 in ./oprint/lib/python2.7/site-p                                                                             ackages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: werkzeug<0.9,>=0.8.3 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: tornado==4.5.3 in ./oprint/lib/python2.7/site-pac                                                                             kages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: PyYAML<3.11,>=3.10 in ./oprint/lib/python2.7/site                                                                             -packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: Flask-Login<0.3,>=0.2.11 in ./oprint/lib/python2.                                                                             7/site-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: Flask-Principal<0.4,>=0.3.5 in ./oprint/lib/pytho                                                                             n2.7/site-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: Flask-Babel<0.10,>=0.9 in ./oprint/lib/python2.7/                                                                             site-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: Flask-Assets<0.11,>=0.10 in ./oprint/lib/python2.                                                                             7/site-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: markdown<2.7,>=2.6.9 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: pyserial<3.5,>=3.4 in ./oprint/lib/python2.7/site                                                                             -packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: netaddr<0.8,>=0.7.19 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: watchdog<0.9,>=0.8.3 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: sarge==0.1.5post0 in ./oprint/lib/python2.7/site-                                                                             packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: netifaces<0.11,>=0.10.6 in ./oprint/lib/python2.7                                                                             /site-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: pylru<1.1,>=1.0.9 in ./oprint/lib/python2.7/site-                                                                             packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: rsa<3.3,>=3.2.3 in ./oprint/lib/python2.7/site-pa                                                                             ckages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: pkginfo<1.5,>=1.4.2 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: requests<3,>=2.18.4 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: semantic_version<2.5,>=2.4.2 in ./oprint/lib/pyth                                                                             on2.7/site-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: psutil<5.5,>=5.4.6 in ./oprint/lib/python2.7/site                                                                             -packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: Click<6.3,>=6.2 in ./oprint/lib/python2.7/site-pa                                                                             ckages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in ./oprint/lib/pytho                                                                             n2.7/site-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: feedparser<5.3,>=5.2.1 in ./oprint/lib/python2.7/                                                                             site-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: chainmap<1.1,>=1.0.2 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: future<0.16,>=0.15.2 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: scandir<1.4,>=1.3 in ./oprint/lib/python2.7/site-                                                                             packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: websocket-client<0.41,>=0.40.0 in ./oprint/lib/py                                                                             thon2.7/site-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: python-dateutil<2.7,>=2.6.1 in ./oprint/lib/pytho                                                                             n2.7/site-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: wrapt<1.11,>=1.10.11 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: futures<3.2,>=3.1.1 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: emoji<0.5,>=0.4.5 in ./oprint/lib/python2.7/site-                                                                             packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: monotonic<1.4,>=1.3 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: frozendict<1.3,>=1.2 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: itsdangerous>=0.21 in ./oprint/lib/python2.7/site                                                                             -packages (from flask<0.11,>=0.10.1->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0                                                                             )
Requirement already satisfied: MarkupSafe in ./oprint/lib/python2.7/site-package                                                                             s (from Jinja2<2.9,>=2.8.1->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: singledispatch in ./oprint/lib/python2.7/site-pac                                                                             kages (from tornado==4.5.3->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: certifi in ./oprint/lib/python2.7/site-packages (                                                                             from tornado==4.5.3->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: backports-abc>=0.4 in ./oprint/lib/python2.7/site                                                                             -packages (from tornado==4.5.3->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: blinker in ./oprint/lib/python2.7/site-packages (                                                                             from Flask-Principal<0.4,>=0.3.5->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: Babel>=1.0 in ./oprint/lib/python2.7/site-package                                                                             s (from Flask-Babel<0.10,>=0.9->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: speaklater>=1.2 in ./oprint/lib/python2.7/site-pa                                                                             ckages (from Flask-Babel<0.10,>=0.9->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0                                                                             )
Requirement already satisfied: webassets>=0.10 in ./oprint/lib/python2.7/site-pa                                                                             ckages (from Flask-Assets<0.11,>=0.10->OctoPrint->OctoPrint-FirmwareUpdater==1.1                                                                             .0)
Requirement already satisfied: argh>=0.24.1 in ./oprint/lib/python2.7/site-packa                                                                             ges (from watchdog<0.9,>=0.8.3->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: pathtools>=0.1.1 in ./oprint/lib/python2.7/site-p                                                                             ackages (from watchdog<0.9,>=0.8.3->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: pyasn1>=0.1.3 in ./oprint/lib/python2.7/site-pack                                                                             ages (from rsa<3.3,>=3.2.3->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in ./oprint/lib/python2.7/s                                                                             ite-packages (from requests<3,>=2.18.4->OctoPrint->OctoPrint-FirmwareUpdater==1.                                                                             1.0)
Requirement already satisfied: idna<2.7,>=2.5 in ./oprint/lib/python2.7/site-pac                                                                             kages (from requests<3,>=2.18.4->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./oprint/lib/python2.7/s                                                                             ite-packages (from requests<3,>=2.18.4->OctoPrint->OctoPrint-FirmwareUpdater==1.                                                                             1.0)
Requirement already satisfied: Unidecode<0.05,>=0.04.14 in ./oprint/lib/python2.                                                                             7/site-packages (from awesome-slugify<1.7,>=1.6.5->OctoPrint->OctoPrint-Firmware                                                                             Updater==1.1.0)
Requirement already satisfied: six in ./oprint/lib/python2.7/site-packages (from                                                                              websocket-client<0.41,>=0.40.0->OctoPrint->OctoPrint-FirmwareUpdater==1.1.0)
Requirement already satisfied: pytz>=0a in ./oprint/lib/python2.7/site-packages                                                                              (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint->OctoPrint-FirmwareUpdater==                                                                             1.1.0)
Installing collected packages: OctoPrint-FirmwareUpdater
  Running setup.py install for OctoPrint-FirmwareUpdater ... done
Successfully installed OctoPrint-FirmwareUpdater-1.1.0
You are using pip version 9.0.3, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
  1. I upgraded pip
pi@octopi:~ $ ~/oprint/bin/pip install --upgrade pip
Collecting pip
  Downloading https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828d                                                                             fc59996d721917df8e8583ea85385d51125dceff/pip-19.0.3-py2.py3-none-any.whl (1.4MB)
    100% |████████████████████████████████| 1.4MB 57kB/s
Installing collected packages: pip
  Found existing installation: pip 9.0.3
    Uninstalling pip-9.0.3:
      Successfully uninstalled pip-9.0.3
Successfully installed pip-19.0.3
pi@octopi:~ $ timedatectl
      Local time: Sat 2019-03-30 14:38:29 UTC
  Universal time: Sat 2019-03-30 14:38:29 UTC
        RTC time: n/a
       Time zone: Etc/UTC (UTC, +0000)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no
  1. apt-get update, but then I stopped it


pi@octopi:~ $ sudo apt-get update -y
Hit:1 http://mirrordirector.raspbian.org/raspbian stretch InRelease
Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
^Cading package lists... 86%

  1. Manual extension installation was still working, but numpy install was very long so I aborted it
pi@octopi:~ $ ~/oprint/bin/pip install "https://github.com/jneilliii/OctoPrint-B                                                                             edLevelVisualizer/archive/master.zip"
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Ple                                                                             ase upgrade your Python as Python 2.7 won't be maintained after that date. A fut                                                                             ure version of pip will drop support for Python 2.7.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/mas                                                                             ter.zip
  Downloading https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/                                                                             master.zip
     - 1.5MB 3.1MB/s
Requirement already satisfied: OctoPrint in ./oprint/lib/python2.7/site-packages                                                                              (from Bed-Visualizer==0.1.7) (1.3.10)
Collecting numpy (from Bed-Visualizer==0.1.7)
  Downloading https://files.pythonhosted.org/packages/cf/8d/6345b4f32b37945fedc1                                                                             e027e83970005fc9c699068d2f566b82826515f2/numpy-1.16.2.zip (5.1MB)
    100% |████████████████████████████████| 5.1MB 420kB/s
Requirement already satisfied: flask<0.11,>=0.10.1 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.10.1)
Requirement already satisfied: Jinja2<2.9,>=2.8.1 in ./oprint/lib/python2.7/site                                                                             -packages (from OctoPrint->Bed-Visualizer==0.1.7) (2.8.1)
Requirement already satisfied: regex!=2018.11.6 in ./oprint/lib/python2.7/site-p                                                                             ackages (from OctoPrint->Bed-Visualizer==0.1.7) (2018.2.21)
Requirement already satisfied: werkzeug<0.9,>=0.8.3 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.8.3)
Requirement already satisfied: tornado==4.5.3 in ./oprint/lib/python2.7/site-pac                                                                             kages (from OctoPrint->Bed-Visualizer==0.1.7) (4.5.3)
Requirement already satisfied: PyYAML<3.11,>=3.10 in ./oprint/lib/python2.7/site                                                                             -packages (from OctoPrint->Bed-Visualizer==0.1.7) (3.10)
Requirement already satisfied: Flask-Login<0.3,>=0.2.11 in ./oprint/lib/python2.                                                                             7/site-packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.2.11)
Requirement already satisfied: Flask-Principal<0.4,>=0.3.5 in ./oprint/lib/pytho                                                                             n2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.3.5)
Requirement already satisfied: Flask-Babel<0.10,>=0.9 in ./oprint/lib/python2.7/                                                                             site-packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.9)
Requirement already satisfied: Flask-Assets<0.11,>=0.10 in ./oprint/lib/python2.                                                                             7/site-packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.10)
Requirement already satisfied: markdown<2.7,>=2.6.9 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->Bed-Visualizer==0.1.7) (2.6.11)
Requirement already satisfied: pyserial<3.5,>=3.4 in ./oprint/lib/python2.7/site                                                                             -packages (from OctoPrint->Bed-Visualizer==0.1.7) (3.4)
Requirement already satisfied: netaddr<0.8,>=0.7.19 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.7.19)
Requirement already satisfied: watchdog<0.9,>=0.8.3 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.8.3)
Requirement already satisfied: sarge==0.1.5post0 in ./oprint/lib/python2.7/site-                                                                             packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.1.5.post0)
Requirement already satisfied: netifaces<0.11,>=0.10.6 in ./oprint/lib/python2.7                                                                             /site-packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.10.6)
Requirement already satisfied: pylru<1.1,>=1.0.9 in ./oprint/lib/python2.7/site-                                                                             packages (from OctoPrint->Bed-Visualizer==0.1.7) (1.0.9)
Requirement already satisfied: rsa<3.3,>=3.2.3 in ./oprint/lib/python2.7/site-pa                                                                             ckages (from OctoPrint->Bed-Visualizer==0.1.7) (3.2.3)
Requirement already satisfied: pkginfo<1.5,>=1.4.2 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->Bed-Visualizer==0.1.7) (1.4.2)
Requirement already satisfied: requests<3,>=2.18.4 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->Bed-Visualizer==0.1.7) (2.18.4)
Requirement already satisfied: semantic_version<2.5,>=2.4.2 in ./oprint/lib/pyth                                                                             on2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.7) (2.4.2)
Requirement already satisfied: psutil<5.5,>=5.4.6 in ./oprint/lib/python2.7/site                                                                             -packages (from OctoPrint->Bed-Visualizer==0.1.7) (5.4.8)
Requirement already satisfied: Click<6.3,>=6.2 in ./oprint/lib/python2.7/site-pa                                                                             ckages (from OctoPrint->Bed-Visualizer==0.1.7) (6.2)
Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in ./oprint/lib/pytho                                                                             n2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.7) (1.6.5)
Requirement already satisfied: feedparser<5.3,>=5.2.1 in ./oprint/lib/python2.7/                                                                             site-packages (from OctoPrint->Bed-Visualizer==0.1.7) (5.2.1)
Requirement already satisfied: chainmap<1.1,>=1.0.2 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->Bed-Visualizer==0.1.7) (1.0.2)
Requirement already satisfied: future<0.16,>=0.15.2 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.15.2)
Requirement already satisfied: scandir<1.4,>=1.3 in ./oprint/lib/python2.7/site-                                                                             packages (from OctoPrint->Bed-Visualizer==0.1.7) (1.3)
Requirement already satisfied: websocket-client<0.41,>=0.40.0 in ./oprint/lib/py                                                                             thon2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.40.0)
Requirement already satisfied: python-dateutil<2.7,>=2.6.1 in ./oprint/lib/pytho                                                                             n2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.7) (2.6.1)
Requirement already satisfied: wrapt<1.11,>=1.10.11 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->Bed-Visualizer==0.1.7) (1.10.11)
Requirement already satisfied: futures<3.2,>=3.1.1 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->Bed-Visualizer==0.1.7) (3.1.1)
Requirement already satisfied: emoji<0.5,>=0.4.5 in ./oprint/lib/python2.7/site-                                                                             packages (from OctoPrint->Bed-Visualizer==0.1.7) (0.4.5)
Requirement already satisfied: monotonic<1.4,>=1.3 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->Bed-Visualizer==0.1.7) (1.3)
Requirement already satisfied: frozendict<1.3,>=1.2 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->Bed-Visualizer==0.1.7) (1.2)
Requirement already satisfied: itsdangerous>=0.21 in ./oprint/lib/python2.7/site                                                                             -packages (from flask<0.11,>=0.10.1->OctoPrint->Bed-Visualizer==0.1.7) (0.24)
Requirement already satisfied: MarkupSafe in ./oprint/lib/python2.7/site-package                                                                             s (from Jinja2<2.9,>=2.8.1->OctoPrint->Bed-Visualizer==0.1.7) (1.0)
Requirement already satisfied: singledispatch in ./oprint/lib/python2.7/site-pac                                                                             kages (from tornado==4.5.3->OctoPrint->Bed-Visualizer==0.1.7) (3.4.0.3)
Requirement already satisfied: certifi in ./oprint/lib/python2.7/site-packages (                                                                             from tornado==4.5.3->OctoPrint->Bed-Visualizer==0.1.7) (2018.1.18)
Requirement already satisfied: backports-abc>=0.4 in ./oprint/lib/python2.7/site                                                                             -packages (from tornado==4.5.3->OctoPrint->Bed-Visualizer==0.1.7) (0.5)
Requirement already satisfied: blinker in ./oprint/lib/python2.7/site-packages (                                                                             from Flask-Principal<0.4,>=0.3.5->OctoPrint->Bed-Visualizer==0.1.7) (1.4)
Requirement already satisfied: Babel>=1.0 in ./oprint/lib/python2.7/site-package                                                                             s (from Flask-Babel<0.10,>=0.9->OctoPrint->Bed-Visualizer==0.1.7) (2.5.3)
Requirement already satisfied: speaklater>=1.2 in ./oprint/lib/python2.7/site-pa                                                                             ckages (from Flask-Babel<0.10,>=0.9->OctoPrint->Bed-Visualizer==0.1.7) (1.3)
Requirement already satisfied: webassets>=0.10 in ./oprint/lib/python2.7/site-pa                                                                             ckages (from Flask-Assets<0.11,>=0.10->OctoPrint->Bed-Visualizer==0.1.7) (0.12.1                                                                             )
Requirement already satisfied: argh>=0.24.1 in ./oprint/lib/python2.7/site-packa                                                                             ges (from watchdog<0.9,>=0.8.3->OctoPrint->Bed-Visualizer==0.1.7) (0.26.2)
Requirement already satisfied: pathtools>=0.1.1 in ./oprint/lib/python2.7/site-p                                                                             ackages (from watchdog<0.9,>=0.8.3->OctoPrint->Bed-Visualizer==0.1.7) (0.1.2)
Requirement already satisfied: pyasn1>=0.1.3 in ./oprint/lib/python2.7/site-pack                                                                             ages (from rsa<3.3,>=3.2.3->OctoPrint->Bed-Visualizer==0.1.7) (0.4.2)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in ./oprint/lib/python2.7/s                                                                             ite-packages (from requests<3,>=2.18.4->OctoPrint->Bed-Visualizer==0.1.7) (1.22)
Requirement already satisfied: idna<2.7,>=2.5 in ./oprint/lib/python2.7/site-pac                                                                             kages (from requests<3,>=2.18.4->OctoPrint->Bed-Visualizer==0.1.7) (2.6)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./oprint/lib/python2.7/s                                                                             ite-packages (from requests<3,>=2.18.4->OctoPrint->Bed-Visualizer==0.1.7) (3.0.4                                                                             )
Requirement already satisfied: Unidecode<0.05,>=0.04.14 in ./oprint/lib/python2.                                                                             7/site-packages (from awesome-slugify<1.7,>=1.6.5->OctoPrint->Bed-Visualizer==0.                                                                             1.7) (0.4.21)
Requirement already satisfied: six in ./oprint/lib/python2.7/site-packages (from                                                                              websocket-client<0.41,>=0.40.0->OctoPrint->Bed-Visualizer==0.1.7) (1.11.0)
Requirement already satisfied: pytz>=0a in ./oprint/lib/python2.7/site-packages                                                                              (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint->Bed-Visualizer==0.1.7) (201                                                                             8.3)
Building wheels for collected packages: Bed-Visualizer, numpy
  Building wheel for Bed-Visualizer (setup.py) ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-9G6kqU/wheels/77/77/fd/91c6afc                                                                             2643e95d43d1fcf7ab4af9cd240dc9c42f72fe246f5
  Building wheel for numpy (setup.py) ... \^canceled
^[[AOperation cancelled by user

  1. Below manual install of extension seems to be successful, but I don't see this extension in OctoPrint

pi@octopi:~ $
pi@octopi:~ $ ~/oprint/bin/pip install "https://github.com/malnvenshorn/OctoPrin                                                                             t-FilamentManager/archive/master.zip"
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Ple                                                                             ase upgrade your Python as Python 2.7 won't be maintained after that date. A fut                                                                             ure version of pip will drop support for Python 2.7.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/malnvenshorn/OctoPrint-FilamentManager/archive/mas                                                                             ter.zip
  Downloading https://github.com/malnvenshorn/OctoPrint-FilamentManager/archive/                                                                             master.zip
     - 1.0MB 2.9MB/s
Requirement already satisfied: OctoPrint in ./oprint/lib/python2.7/site-packages                                                                              (from OctoPrint-FilamentManager==0.5.3) (1.3.10)
Collecting backports.csv<1.1,>=1.0.5 (from OctoPrint-FilamentManager==0.5.3)
  Downloading https://files.pythonhosted.org/packages/8e/26/a6bd68f13e0f38fbb643                                                                             d6e497fc3462be83a0b6c4d43425c78bb51a7291/backports.csv-1.0.7-py2.py3-none-any.wh                                                                             l
Collecting uritools<2.2,>=2.1 (from OctoPrint-FilamentManager==0.5.3)
  Downloading https://files.pythonhosted.org/packages/27/89/5dddc3cd5d48746f0ce6                                                                             c962f1275d0a1773fd94d3a79f1031b8b0ecac33/uritools-2.1.1-py2.py3-none-any.whl
Collecting SQLAlchemy<1.2,>=1.1.15 (from OctoPrint-FilamentManager==0.5.3)
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))                                                                              after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine(                                                                             "''",))': /simple/sqlalchemy/
  Downloading https://files.pythonhosted.org/packages/cc/4d/96d93ff77cd67aca7618                                                                             e402191eee3490d8f5f245d6ab7622d35fe504f4/SQLAlchemy-1.1.18.tar.gz (5.3MB)
    100% |████████████████████████████████| 5.3MB 444kB/s
Requirement already satisfied: flask<0.11,>=0.10.1 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.10.1)
Requirement already satisfied: Jinja2<2.9,>=2.8.1 in ./oprint/lib/python2.7/site                                                                             -packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (2.8.1)
Requirement already satisfied: regex!=2018.11.6 in ./oprint/lib/python2.7/site-p                                                                             ackages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (2018.2.21)
Requirement already satisfied: werkzeug<0.9,>=0.8.3 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.8.3)
Requirement already satisfied: tornado==4.5.3 in ./oprint/lib/python2.7/site-pac                                                                             kages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (4.5.3)
Requirement already satisfied: PyYAML<3.11,>=3.10 in ./oprint/lib/python2.7/site                                                                             -packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (3.10)
Requirement already satisfied: Flask-Login<0.3,>=0.2.11 in ./oprint/lib/python2.                                                                             7/site-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.2.11)
Requirement already satisfied: Flask-Principal<0.4,>=0.3.5 in ./oprint/lib/pytho                                                                             n2.7/site-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.3.5)
Requirement already satisfied: Flask-Babel<0.10,>=0.9 in ./oprint/lib/python2.7/                                                                             site-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.9)
Requirement already satisfied: Flask-Assets<0.11,>=0.10 in ./oprint/lib/python2.                                                                             7/site-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.10)
Requirement already satisfied: markdown<2.7,>=2.6.9 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (2.6.11)
Requirement already satisfied: pyserial<3.5,>=3.4 in ./oprint/lib/python2.7/site                                                                             -packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (3.4)
Requirement already satisfied: netaddr<0.8,>=0.7.19 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.7.19)
Requirement already satisfied: watchdog<0.9,>=0.8.3 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.8.3)
Requirement already satisfied: sarge==0.1.5post0 in ./oprint/lib/python2.7/site-                                                                             packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.1.5.post0)
Requirement already satisfied: netifaces<0.11,>=0.10.6 in ./oprint/lib/python2.7                                                                             /site-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.10.6)
Requirement already satisfied: pylru<1.1,>=1.0.9 in ./oprint/lib/python2.7/site-                                                                             packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (1.0.9)
Requirement already satisfied: rsa<3.3,>=3.2.3 in ./oprint/lib/python2.7/site-pa                                                                             ckages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (3.2.3)
Requirement already satisfied: pkginfo<1.5,>=1.4.2 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (1.4.2)
Requirement already satisfied: requests<3,>=2.18.4 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (2.18.4)
Requirement already satisfied: semantic_version<2.5,>=2.4.2 in ./oprint/lib/pyth                                                                             on2.7/site-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (2.4.2)
Requirement already satisfied: psutil<5.5,>=5.4.6 in ./oprint/lib/python2.7/site                                                                             -packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (5.4.8)
Requirement already satisfied: Click<6.3,>=6.2 in ./oprint/lib/python2.7/site-pa                                                                             ckages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (6.2)
Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in ./oprint/lib/pytho                                                                             n2.7/site-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (1.6.5)
Requirement already satisfied: feedparser<5.3,>=5.2.1 in ./oprint/lib/python2.7/                                                                             site-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (5.2.1)
Requirement already satisfied: chainmap<1.1,>=1.0.2 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (1.0.2)
Requirement already satisfied: future<0.16,>=0.15.2 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.15.2)
Requirement already satisfied: scandir<1.4,>=1.3 in ./oprint/lib/python2.7/site-                                                                             packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (1.3)
Requirement already satisfied: websocket-client<0.41,>=0.40.0 in ./oprint/lib/py                                                                             thon2.7/site-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.40.0                                                                             )
Requirement already satisfied: python-dateutil<2.7,>=2.6.1 in ./oprint/lib/pytho                                                                             n2.7/site-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (2.6.1)
Requirement already satisfied: wrapt<1.11,>=1.10.11 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (1.10.11)
Requirement already satisfied: futures<3.2,>=3.1.1 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (3.1.1)
Requirement already satisfied: emoji<0.5,>=0.4.5 in ./oprint/lib/python2.7/site-                                                                             packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.4.5)
Requirement already satisfied: monotonic<1.4,>=1.3 in ./oprint/lib/python2.7/sit                                                                             e-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (1.3)
Requirement already satisfied: frozendict<1.3,>=1.2 in ./oprint/lib/python2.7/si                                                                             te-packages (from OctoPrint->OctoPrint-FilamentManager==0.5.3) (1.2)
Collecting ipaddress; python_version == "2.7" (from uritools<2.2,>=2.1->OctoPrin                                                                             t-FilamentManager==0.5.3)
  Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be                                                                             48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Requirement already satisfied: itsdangerous>=0.21 in ./oprint/lib/python2.7/site                                                                             -packages (from flask<0.11,>=0.10.1->OctoPrint->OctoPrint-FilamentManager==0.5.3                                                                             ) (0.24)
Requirement already satisfied: MarkupSafe in ./oprint/lib/python2.7/site-package                                                                             s (from Jinja2<2.9,>=2.8.1->OctoPrint->OctoPrint-FilamentManager==0.5.3) (1.0)
Requirement already satisfied: singledispatch in ./oprint/lib/python2.7/site-pac                                                                             kages (from tornado==4.5.3->OctoPrint->OctoPrint-FilamentManager==0.5.3) (3.4.0.                                                                             3)
Requirement already satisfied: certifi in ./oprint/lib/python2.7/site-packages (                                                                             from tornado==4.5.3->OctoPrint->OctoPrint-FilamentManager==0.5.3) (2018.1.18)
Requirement already satisfied: backports-abc>=0.4 in ./oprint/lib/python2.7/site                                                                             -packages (from tornado==4.5.3->OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.                                                                             5)
Requirement already satisfied: blinker in ./oprint/lib/python2.7/site-packages (                                                                             from Flask-Principal<0.4,>=0.3.5->OctoPrint->OctoPrint-FilamentManager==0.5.3) (                                                                             1.4)
Requirement already satisfied: Babel>=1.0 in ./oprint/lib/python2.7/site-package                                                                             s (from Flask-Babel<0.10,>=0.9->OctoPrint->OctoPrint-FilamentManager==0.5.3) (2.                                                                             5.3)
Requirement already satisfied: speaklater>=1.2 in ./oprint/lib/python2.7/site-pa                                                                             ckages (from Flask-Babel<0.10,>=0.9->OctoPrint->OctoPrint-FilamentManager==0.5.3                                                                             ) (1.3)
Requirement already satisfied: webassets>=0.10 in ./oprint/lib/python2.7/site-pa                                                                             ckages (from Flask-Assets<0.11,>=0.10->OctoPrint->OctoPrint-FilamentManager==0.5                                                                             .3) (0.12.1)
Requirement already satisfied: argh>=0.24.1 in ./oprint/lib/python2.7/site-packa                                                                             ges (from watchdog<0.9,>=0.8.3->OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.                                                                             26.2)
Requirement already satisfied: pathtools>=0.1.1 in ./oprint/lib/python2.7/site-p                                                                             ackages (from watchdog<0.9,>=0.8.3->OctoPrint->OctoPrint-FilamentManager==0.5.3)                                                                              (0.1.2)
Requirement already satisfied: pyasn1>=0.1.3 in ./oprint/lib/python2.7/site-pack                                                                             ages (from rsa<3.3,>=3.2.3->OctoPrint->OctoPrint-FilamentManager==0.5.3) (0.4.2)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in ./oprint/lib/python2.7/s                                                                             ite-packages (from requests<3,>=2.18.4->OctoPrint->OctoPrint-FilamentManager==0.                                                                             5.3) (1.22)
Requirement already satisfied: idna<2.7,>=2.5 in ./oprint/lib/python2.7/site-pac                                                                             kages (from requests<3,>=2.18.4->OctoPrint->OctoPrint-FilamentManager==0.5.3) (2                                                                             .6)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./oprint/lib/python2.7/s                                                                             ite-packages (from requests<3,>=2.18.4->OctoPrint->OctoPrint-FilamentManager==0.                                                                             5.3) (3.0.4)
Requirement already satisfied: Unidecode<0.05,>=0.04.14 in ./oprint/lib/python2.                                                                             7/site-packages (from awesome-slugify<1.7,>=1.6.5->OctoPrint->OctoPrint-Filament                                                                             Manager==0.5.3) (0.4.21)
Requirement already satisfied: six in ./oprint/lib/python2.7/site-packages (from                                                                              websocket-client<0.41,>=0.40.0->OctoPrint->OctoPrint-FilamentManager==0.5.3) (1                                                                             .11.0)
Requirement already satisfied: pytz>=0a in ./oprint/lib/python2.7/site-packages                                                                              (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint->OctoPrint-FilamentManager==                                                                             0.5.3) (2018.3)
Building wheels for collected packages: OctoPrint-FilamentManager, SQLAlchemy
  Building wheel for OctoPrint-FilamentManager (setup.py) ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-g2sgOX/wheels/db/5e/ad/eb4b69f                                                                             d843f9bd7653511278d1d315126815ef58a793d65d3
  Building wheel for SQLAlchemy (setup.py) ... done
  Stored in directory: /home/pi/.cache/pip/wheels/6e/2a/d1/54c6865667d73c4d70a5b                                                                             dffc2f8fb08f1b5a75c868fde617b
Successfully built OctoPrint-FilamentManager SQLAlchemy
Installing collected packages: backports.csv, ipaddress, uritools, SQLAlchemy, O                                                                             ctoPrint-FilamentManager
Successfully installed OctoPrint-FilamentManager-0.5.3 SQLAlchemy-1.1.18 backpor                                                                             ts.csv-1.0.7 ipaddress-1.0.22 uritools-2.1.1

  1. I probably rebooted Pi

Using username "pi".
pi@192.168.0.204's password:
Send automatic password
Linux octopi 4.9.80+ #1098 Fri Mar 9 18:51:28 GMT 2018 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Mar 30 14:18:12 2019 from 192.168.0.103

------------------------------------------------------------------------------
Access OctoPrint from a web browser on your network by navigating to any of:

    http://octopi.local
    http://192.168.0.204

https is also available, with a self-signed certificate.
------------------------------------------------------------------------------
This image comes without a desktop environment installed because it's not
required for running OctoPrint. If you want a desktop environment you can
install it via

    sudo /home/pi/scripts/install-desktop
------------------------------------------------------------------------------
OctoPrint version : 1.3.10
OctoPi version    : 0.15.0PE
------------------------------------------------------------------------------

  1. I tried to install desktop but changed my mind

pi@octopi:~ $  sudo /home/pi/scripts/install-desktop
[sudo] password for pi:

This will install the desktop environment on your Pi
Please keep in mind that the desktop environment needs
system resources that then might not be available for
printing, possible leading to print artifacts.
It is not recommended to run the desktop environment
alongside OctoPrint if you do not have a Pi with
multiple cores (e.g. Pi1 or PiZero). Even then, use
at your own risk.

If you do not want to install the desktop environment
after all, please hit Ctrl+C now.

Press any key to continue or Ctrl+C to exit...
^C
pi@octopi:~ $

  1. Reconnected

Using username "pi".
pi@192.168.0.204's password:
Send automatic password
Linux octopi 4.9.80+ #1098 Fri Mar 9 18:51:28 GMT 2018 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Mar 30 15:19:08 2019 from 192.168.0.103

------------------------------------------------------------------------------
Access OctoPrint from a web browser on your network by navigating to any of:

    http://octopi.local
    http://192.168.0.204

https is also available, with a self-signed certificate.
------------------------------------------------------------------------------
This image comes without a desktop environment installed because it's not
required for running OctoPrint. If you want a desktop environment you can
install it via

    sudo /home/pi/scripts/install-desktop
------------------------------------------------------------------------------
OctoPrint version : 1.3.10
OctoPi version    : 0.15.0PE
------------------------------------------------------------------------------

  1. Manual extension install is no longer working. With every extension I get the same Exception "AttributeError: 'module' object has no attribute 'ip_address'"

pi@octopi:~ $ pip
-bash: pip: command not found
pi@octopi:~ $ ~/oprint/bin/pip install "https://github.com/sysadminsh/OctoPrint-M73ETAOverride/archive/master.zip"
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/sysadminsh/OctoPrint-M73ETAOverride/archive/master.zip
Exception:
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main
    status = self.run(options, args)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 315, in run
    resolver.resolve(requirement_set)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 131, in resolve
    self._resolve_one(requirement_set, req)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 294, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 242, in _get_abstract_dist_for
    self.require_hashes
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 334, in prepare_linked_requirement
    progress_bar=self.progress_bar
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_internal/download.py", line 878, in unpack_url
    progress_bar=progress_bar
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_internal/download.py", line 702, in unpack_http_url
    progress_bar)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_internal/download.py", line 917, in _download_http_url
    stream=True,
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_internal/download.py", line 403, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.py", line 53, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 839, in _validate_conn
    conn.connect()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/urllib3/connection.py", line 364, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/urllib3/connection.py", line 374, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/backports/ssl_match_hostname/__init__.py", line 107, in match_hostname
    host_ip = ipaddress.ip_address(_to_unicode(hostname))
AttributeError: 'module' object has no attribute 'ip_address'
pi@octopi:~ $ ~/oprint/bin/pip install "https://github.com/bradcfisher/OctoPrint-ExcludeRegionPlugin/archive/master.zip"
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/bradcfisher/OctoPrint-ExcludeRegionPlugin/archive/master.zip
Exception:
...
...
...

@foosel
Copy link
Member

foosel commented Apr 1, 2019

@qqgg231 that doesn't look like a related issue but rather an install that after several partial installs of something got broken. Might be fixable, but the easiest is probably to reflash since I honestly don't know what broke.

foosel added a commit that referenced this issue Apr 4, 2019
We know that python 2.7 is about to reach end of life. We are making
preparations for this in the devel branch. We don't need pip going
around and alarming our users about something they cannot solve, and
which pretty much is already solved anyhow.

So we nuke this stupid message present in current pip versions. Hard.

See also #2988
@foosel
Copy link
Member

foosel commented Apr 4, 2019

And now I've also pushed a change which will suppress pip 19.0+'s newest message of "OMG PY2.7 IS EOL!!1!" which has also already caused confusion among users. I get why they are doing this, but I'd only prefer if they were a bit less annoying about it.

Anyhow... above commit is ready for 1.3.11rc2

@foosel
Copy link
Member

foosel commented Apr 4, 2019

Correction... 1.3.11rc3 because I fscked up a merge. Sigh.

@b-morgan
Copy link

b-morgan commented Apr 8, 2019

So what version of pip should we be using?

If the pip we have is not the pip we need, can you automagically fix it a) if it is older? b) if it is newer?

@foosel
Copy link
Member

foosel commented Apr 9, 2019

If it really needs updating, yes, I'll find a way. But rather than forcing updates of pip, for the most part OctoPrint just is built to work with pretty much every version. The only cases where that doesn't apply are broken versions (which OctoPrint will detect) and version which are too old to interact with the current iteration of the official python package index (which OctoPrint will also tell you).

Long story short: in most cases you don't have to use any other version that what came with your python install and/or image, and if that changes I'll find a way to solve it ideally automatically.

The problem with updating pip - which is why I don't have it set to automatically update by default - is that newer versions sometimes introduce bad breaking changes in how it's used, and that can really break things in the field at unforeseen times in a way that needs fiddling on the command line to get back into working order.

@foosel
Copy link
Member

foosel commented May 15, 2019

1.3.11 was released yesterday.

@foosel foosel closed this as completed May 15, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
done Done but not yet released request Feature request
Projects
None yet
Development

No branches or pull requests

6 participants