Compiling with pyenv installed

02 Sep 2022 01:37 - 02 Sep 2022 01:49 #250963 by aluebke
I've been tinkering with using pyenv on my RPi's.  However with it installed the compile would fail.  I've found that when you install a version of python you need to enable shared libraries.  Here's the command I used:

env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install -v 3.9.13

Then activate it with:

pyenv global 3.9.13

Change the version to what you want of course. 

You also need to install pygobject and yapps with pip in the new version of python.

I'm just posting this in case anyone else has a similar issue or need.
Last edit: 02 Sep 2022 01:49 by aluebke.
The following user(s) said Thank You: andypugh, tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum