4 ms·
Interesting. On Fedora here, and it actually includes version 3.4 of python with the command name "python3", and the above instructions worked just fine using
by tux1968 10y ago
Interesting. On Fedora here, and it actually includes version 3.4 of python with the command name "python3", and the above instructions worked just fine using it.
However, now you have me worried that the article left out caveats and warnings about how these commands might lead to "unexpected results".
- Macha 10y agoThe 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.