[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: python virualenv



On Tue, Apr 28, 2020 at 11:20:04PM +0200, Rainer Dorsch wrote:
> Here is the full sequence I executed:
> 
> rd@h370:~/virtualenv$ virtualenv covidify 
> Running virtualenv with interpreter /usr/bin/python2 

Virtualenv uses python2

> New python executable in /home/rd/virtualenv/covidify/bin/python2 Also 
> Also creating executable in /home/rd/virtualenv/covidify/bin/python 
> Installing setuptools, pkg_resources, pip, wheel...done. 
> rd@h370:~/virtualenv$ source covidify/bin/activate 
> (covidify) rd@h370:~/virtualenv$ pip3 install covidify 

Pip3 uses python3 which is outside the virtualenv.

Either run pip, or create the virtualenv with python3, which will 
install pip3.


-- 
Tom Low-Shang


Reply to: