Using sudo with pip3?

jim jf_byrnes at comcast.net
Sat Jan 7 20:02:14 EST 2017


On 01/07/2017 03:17 PM, Dennis Lee Bieber wrote:
> On Sat, 7 Jan 2017 12:22:45 -0600, jim <jf_byrnes at comcast.net> declaimed
> the following:
>
>>
>> What is "system python"? If I do $ which python I get /usr/bin/python
>> which points to python 2.7xx. So if everything I added was for python 3
>> either using pip3 or apt-get would I be adding to "system python"?
>>
>
> 	What does
>
> 		which python3
>
> return?

jfb at jims-1604:~$ which python3
/usr/bin/python3

Regards,  Jim

> wulfraed at Jessie:~$ which python
> /usr/bin/python
> wulfraed at Jessie:~$ which python3
> /usr/bin/python3
> wulfraed at Jessie:~$ python
> Python 2.7.9 (default, Mar  1 2015, 12:57:24)
> [GCC 4.9.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>>
> wulfraed at Jessie:~$ python3
> Python 3.4.2 (default, Oct  8 2014, 10:45:20)
> [GCC 4.9.1] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>>
> wulfraed at Jessie:~$
>
> 	I consider both of those to be "system" as I don't recall explicitly
> asking for either (Debian running in VirtualBox)
>




More information about the Python-list mailing list