3 ms·
The worry is: 1. Install system python 2. Install pip from somewhere 3. pip install requests 4. apt-get install something with depends on python-requests S
by Macha 10y ago
The worry is:
1. Install system python
2. Install pip from somewhere
3. pip install requests
4. apt-get install something with depends on python-requests
Should the installation of apt's requests fail? Should it work but clobber your pip installed requests? What happens when the apt version is older than the pip version? Does this break whatever you used pip install requests for?
There's two resolutions to this issue.
1. Don't use pip, always use apt for your python dependencies. The Ubuntu devs would really prefer you pick this option but not everything on pypi is on their repo and sometimes working consistently across platforms is more about than within platform consistency.
2. Use a different python environment than the system python. This could be done by using virtualenv, a different python version or a separate installation.