Configure Python environment in Ubuntu machine.

create a file called and copy paste below command.

sudo apt-get install python-pip 
sudo apt-get install python-virtualenv 

# create a virtualenv 
mkdir ~/env cd ~/env virtualenv myenv 

#activate environment 
source ~/env/myenv/bin/activate 

#install jupyter notebook 
pip install jupyter

save it in your home folder and open a terminal

sudo chmod +x

after installing run this command

jupyter notebook   

open a browser http://localhost:8888


Leave a Reply

Your email address will not be published. Required fields are marked *