Re: virtualenv and ubuntu

2018-08-28 Thread Stone Zhong
On Tuesday, August 28, 2018 at 8:00:17 AM UTC-7, Matt Ruffalo wrote: > On 2018-08-28 07:26, stone.zh...@gmail.com wrote: > > Hi there, > > > > Sorry if the question is naive, I am on Ubuntu 16.04 with Python 3.5.2, now > > I want to use virtualenv, I noticed there are two ways to get virtualenv >

Re: virtualenv and ubuntu

2018-08-28 Thread Matt Ruffalo
On 2018-08-28 07:26, stone.zh...@gmail.com wrote: > Hi there, > > Sorry if the question is naive, I am on Ubuntu 16.04 with Python 3.5.2, now I > want to use virtualenv, I noticed there are two ways to get virtualenv > installed: > > 1) do "sudo apt-get install virtualenv" > 2) do "pip3 install v

Re: virtualenv and ubuntu

2018-08-28 Thread Kunal Jamdade
Hi, If you install with sudo it is installed for 2 users i.e current logged in as well as root. So if one login as root can use the installed "env". But if you install it with pip it will be used by the current logged in user. In my opinion, use pip to install virtualenv On Tue, Aug 28, 2018 at

virtualenv and ubuntu

2018-08-28 Thread stone . zhong
Hi there, Sorry if the question is naive, I am on Ubuntu 16.04 with Python 3.5.2, now I want to use virtualenv, I noticed there are two ways to get virtualenv installed: 1) do "sudo apt-get install virtualenv" 2) do "pip3 install virtualenv" What is the preferred way to install virtualenv? Th