You are not logged in.
Issuing
pip list --outdated
on my system yields
Package Version Latest Type
---------------- ---------- -------- -----
binaryornot 0.4.3 0.4.4 wheel
diceware 0.9.5 0.9.6 wheel
ipython 7.1.1 7.2.0 wheel
ipython-genutils 0.1.0 0.2.0 wheel
lxml 4.2.6 4.3.0 wheel
msgpack 0.5.6 0.6.0 wheel
qutebrowser 1.5.0 1.5.2 sdist
whichcraft 0.4.0 0.5.2 wheel
youtube-dl 2018.12.31 2019.1.2 wheel
Most of these packages were installed by me from the AUR.
I'm curious what would happen if I tried to update one of these packages with pip.
For instance, suppose I issued
pip install lxml --upgrade
I originally installed
lxml
from the AUR. Would attempting this upgrade cause any problems?
Offline
I assume pip (called as root) would overwrite files on your filesystem and make a mess. If you want to use pip to manage stuff, I would not mix it with pacman.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I would install the pip stuff as a user.
pip install --user ...
Offline
for a better isolation I suggest to create a virtual environment for python in your home, then activate it and install packages you want with pip inside this virtual environment
Offline
Moving to AUR Issues...
Offline
for a better isolation I suggest to create a virtual environment for python in your home, then activate it and install packages you want with pip inside this virtual environment
In retrospect, this sounds like a good idea. Kotrfa outlines a strategy for doing something similar an an answer to this question:
https://bbs.archlinux.org/viewtopic.php?id=178564
I wonder if anyone has attempted this...
Offline