How to Install Python3 Idle together with Python 3.5.2 on Raspbian?

Asked

Viewed 39 times

0

Hi, how are you? I have tried to install Python 3 IDLE with Python version 3.5.2 in Raspbian, I own a Raspberry 4b. It turns out that there are two versions that appears 2.7 and 3.7 of Thorn IDLE. I followed the steps of the programming information below :

sudo apt-get install build-essential libc6-dev
sudo apt-get install libncurses5-dev libncursesw5-dev libreadline6-dev
sudo apt-get install libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev
sudo apt-get install libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev
cd $HOME
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
tar -zxvf Python-3.5.2.tgz
cd Python-3.5.2
./configure  
make -j4        
sudo make install

but when you install Idle with these commands :

sudo apt update
sudo apt install python3 idle3

does not appear to be executed. If you install Python 3 Idle first, you get version 3.7. How do I make IDLE Python 3 work for version 3.5.2 in this case ?

The ultimate goal is to be able to run a program developed in Python 3.5.2

1 answer

0

Now you would have 3 different versions of python.

You could install an environment simulator, controlling which version to use.

Try using. deb packages

Here some https://ubuntu.pkgs.org/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.