On Thursday, January 17, 2019 at 12:10:51 AM UTC-8, Stone Zhong wrote:
> Hi,
>
> My program depend on package oci, I am using the following command to install
> it:
> pip install oci
>
> Everything works perfect in virtualenv (I am still using python 2.7.x)
>
> N
Hi,
My program depend on package oci, I am using the following command to install
it:
pip install oci
Everything works perfect in virtualenv (I am still using python 2.7.x)
Now I am creating a zip file from the libraries:
pip install oci -t ~/temp/oci
cd ~/temp/oci
zip -r ~/temp/oci.zip .
Tes
On Monday, October 29, 2018 at 5:29:11 PM UTC-7, Stone Zhong wrote:
> Hi There,
>
> Now I want to make sure my code calls a function foo with an object t,
> however, foo.assert_called_once_with(t) does not work, since t is a model
> object and the code may load a different copy
On Monday, October 29, 2018 at 5:29:11 PM UTC-7, Stone Zhong wrote:
> Hi There,
>
> Now I want to make sure my code calls a function foo with an object t,
> however, foo.assert_called_once_with(t) does not work, since t is a model
> object and the code may load a different copy
Hi There,
Now I want to make sure my code calls a function foo with an object t, however,
foo.assert_called_once_with(t) does not work, since t is a model object and the
code may load a different copy of t, so what I really want to test is "It calls
foo with t where t.id equals real_t.id, is th
On Thursday, August 30, 2018 at 10:19:34 PM UTC-7, Terry Reedy wrote:
> On 8/30/2018 10:27 PM, Stone Zhong wrote:
> > Hi there,
> >
> > I think the fact is:
> > - There are still considerable amount of people still using python2
> > - Python2 user will eventual
Hi there,
I think the fact is:
- There are still considerable amount of people still using python2
- Python2 user will eventually upgrade to python3
So any library not written in a compatible way will either break now for
python2 user, or will break in the future for python3 user. So I suppose a
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
>
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