Python Forum

Full Version: Issues Installing Pyenv/Python 3.9.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Support,

Unsure if this is the correct category to post this, but I am finding some issues installing Python 3.9.1.

The device I am trying to install this on is a Microsoft Surface 4 - Model 1979 with Windows 10 installed, lastest feature before 11.

I have attached the error message below, but essentially I have performed the following:

Installed Ubuntu version “20.04 LTS”
Using the Terminal, I have then updated the shell, installed programming tools (GIT, Homebrew and Pyenv) and then got to install Python, installed the prerequisite and then entered the command:

pyenv install 3.9.1

and it fails with the following error message:

WARNING - The Python sqlite3 extension was not compiled, Missing the sqlite3 lib?
Installed Python 3.9.1 to /home/anthonyman/ .pyenv/versions/3.9.1

When I try to check the version of Python installed using command Python --version, i get:

zsh: command not found: python

Any help would be greatly appreciated, maybe its an old verson of python and I need to install the latest? I am not too family with this unfortanutely.

Thanks Brandon
Brandon_Contactum Wrote:WARNING - The Python sqlite3 extension was not compiled, Missing the sqlite3 lib?
You most install build environment first.
I also have tutorial here.