Skip to content

Here in this repository the commands are given for opening a jupyter lab / jupyter notebook in a virtual enviroment.

License

Notifications You must be signed in to change notification settings

Sheikh-Araf/Jupyter-Virtual-Enviroment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

HOW TO OPEN JUPYTER NOTEBOOK IN A VIRTUAL ENVIRONMENT

1. Go to your desired project folder e.g. C:\Users\Public\Documents>

2. Use this command to create virtual enviorment

python -m venv venv

3. Use this command to activate the virtual enviorment

.\venv\Scripts\activate

4. Use this command to install ipykernel

pip install ipykernel

5. Use this command to install a new kernel with anyname you want

python -m ipykernel install --user --name <anyname>

6. Use this command to if there is a requirements.txt available or manually install packages with pip

pip install -r requirements.txt

7. Finally open jupyterlab or jupyter notebook and select your kernel

jupyter lab or jupyter notebook

Note: In this way all the packages will be in one place and not conflicting in the main system

About

Here in this repository the commands are given for opening a jupyter lab / jupyter notebook in a virtual enviroment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published