18.04 Pip3 install has default $PATH configuration issue

Bug #1757986 reported by Justin on 2018-03-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-pip (Ubuntu)

Bug Description

Programs installable via both pip3 and apt, that are invoked via bash (jupyter, ipython, etc.) aren't called because they aren't included in $PATH and say to install them via apt. Can someone please fix this?

Now, given that these are system packages, you may reasonably say "shouldn't you install them via apt not pip anyway," and when I was trying to debug this with people on IRC this was mentioned (by the way others have seen this, hence why I'm going to mark it confirmed). This isn't an acceptable solution in practice, because a major user of Ubuntu (data scientists) need to use the LTS version for CUDA support, but still need the most current version of their python tools (especially Ipython). Asking them to install so many tools via third party PPA that people need to maintain instead of just installing them via pip as is reasonable and was available in every version before 18.04 is unreasonable.

Justin (justinkterry) on 2018-03-22
Changed in python-pip (Ubuntu):
status: New → Confirmed
Justin (justinkterry) on 2018-03-22
tags: added: bionic
Matthias Klose (doko) wrote :

what exactly should be fixed?

Changed in python-pip (Ubuntu):
status: Confirmed → Incomplete
Justin (justinkterry) wrote :

In the second beta build, things like ipython or jupyter couldn't be invoked via bash if installed via pip or pip3. This was fixed, I think indirectly via a patch to bash, a few days before release. To future travelers, a full reinstall is required because it was fixed after upstream patches were cut off to the installations that started with beta 2.

Launchpad Janitor (janitor) wrote :

[Expired for python-pip (Ubuntu) because there has been no activity for 60 days.]

Changed in python-pip (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers