lkml.org 
[lkml]   [2020]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] scripts/sphinx-pre-install: add '-p python3' to virtualenv
On Mon, 24 Feb 2020 18:34:41 -0700
tbird20d@gmail.com wrote:

> With Ubuntu 16.04 (and presumably Debian distros of the same age),
> the instructions for setting up a python virtual environment should
> do so with the python 3 interpreter. On these older distros, the
> default python (and virtualenv command) might be python2 based.
>
> Some of the packages that sphinx relies on are now only available
> for python3. If you don't specify the python3 interpreter for
> the virtualenv, you get errors when doing the pip installs for
> various packages
>
> Fix this by adding '-p python3' to the virtualenv recommendation
> line.
>
> Signed-off-by: Tim Bird <tim.bird@sony.com>

I've applied this, even though it feels a bit fragile to me. But Python
stuff can be a bit that way, sometimes, I guess.

Thanks,

jon

\
 
 \ /
  Last update: 2020-03-02 21:10    [W:0.090 / U:0.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site