[Libre-soc-dev] Coriolis 2 - Tutorials and check
Jacob Lifshay
programmerjake at gmail.com
Thu Aug 11 00:14:04 BST 2022
resending because I somehow missed cc-ing Santhosh, also fixing typo.
On Wed, Aug 10, 2022, 13:51 Jacob Lifshay <programmerjake at gmail.com> wrote:
> On Wed, Aug 10, 2022, 08:48 Luke Kenneth Casson Leighton via Libre-soc-dev
> <libre-soc-dev at lists.libre-soc.org> wrote:
>
>> what *that* in turn leads us to check is where /usr/bin/python
>> points to, and I bet it is a symlink to python3.
>>
>
>> Change it to python2 and all should be good.
>
>
> better yet, don't change /usr/bin/python since that could break your linux
> install, instead, first make sure you're not running in a python3
> virtualenv (`which python` should print /usr/bin/python), then add a
> symlink python to python2 in your PATH, putting it in ~/bin or ~/.local/bin
> and making sure those get added to PATH in ~/.profile:
> mkdir -p ~/.local/bin
> ln -s /usr/bin/python2 ~/.local/bin/python
>
> then edit ~/.profile and make sure it has something like:
> # set PATH so it includes user's private bin if it exists
> if [ -d "$HOME/.local/bin" ] ; then
> PATH="$HOME/.local/bin:$PATH"
> fi
>
>
> Jacob
>
More information about the Libre-soc-dev
mailing list