How to Python installation for Ubuntu(Note.among easiest methods)

I observe serious problems about Python installation of some Ubuntu users.Where,I present to this users a procedure included 7 steps among easiest methods; 

wget https://www.python.org/ftp/python/3.9.0/Python-3.9.0b4.tgz


tar -xf Python-3.9.0b4.tgz


cd Python-3.9.0b4/


nproc


./configure --enable-optimizations


make -j 4


sudo make altinstall

 

 

 

UPDATE

Note.code required on need a idle or compiler for ubuntu of some users;

 

sudo apt-get install idle-python3.9
 
Also,if you have a python architecture  summaried as 3.x,code stru. expressed considering a automatic assignment; 
 
 sudo apt-get install idle3

 

 UPDATE

Performing pip install procudure:

 sudo apt install python-pip

 

And next,installing numpy module as example;

 pip install numpy

 

module check via Terminal;

 python3

>> import numpy as np

 

 

 UPDATE

I observe access problems  of some users on Anaconda Navigator...steps of most effective solution as procedure;

  •  Downloading linux publish related via Anaconda.com(Note.file format is .sh)
  • ~$ bash Donwload/Anaconda3-2020.11-Linux-x86_64.sh
  •  Enter after process
  •  Pass via Enter expressions
  •  Confirmation via Yes licence conditions
  •  Confirmation for processes required via Anaconda3 folder(performing installation required with Enter procedure)
  •  Applying yes procedure after installation
  •  Procedure of ~$ source .bashrc
  •  Procedure of ~$ anaconda-navigator

 

 

 

 

 

 

 

 



 

Yorumlar

Bu blogdaki popüler yayınlar

Important Tectonic Components of Turkey Geography based on Anatolian Plate

Informations about experimental plate structures

Obspy-about Developments