Giter VIP home page Giter VIP logo

jupyter-auto-install's Introduction

jupyter-auto-install

auto installation of python, libraries & jupyter notebook while creating a virtual environment in WINDOWS

  • This powershell script jupyter-auto-install.ps1 will fetch the python version as per the users choice and install it.
  • This scirpt will then create a virtual environment
  • This script will install the python libraries (numpy, pandas & matplotlib)
  • Finally install jupyter notebook and launch it in local browser

The jupyter-auto-install.ps1 scriot does the following in sequential order

  1. Prompt user to input Python version
  2. Construct the URL for the Python installer
  3. Define the path where you want to save the installer
  4. Download the Python installer from www.python.org/ftp
  5. Define the installation directory for Python
    c:\users\$env:username\AppData\Local\Programs\Python\Python312
    
  6. Install Python in silent mode
  7. Define the Python directory
  8. Define the path for the new directory
  9. Check if directory was created successfully
  10. Change directory to the Python Scripts directory
  11. Upgrade pip
  12. Install virtual environment
  13. Create a virtual environment (MLlabs)
    .$pythonDirectory\virtualenv.exe MLlabs
    
    under
    c:\users\$env:username\MLProjects\MLlabs
    
  14. Change directory to project location
  15. Activate the virtual environment
  16. Install numphy library [meant for numerical computing, providing powerful array operations and mathematical functions.]
  17. Install pandas library [meant for data manipulation and analysis, offering data structures and tools for working with structured data.]
  18. Install matplotlib library [meant for creating static, animated, and interactive visualizations in Python]
  19. Install jupyter package
  20. Launch Jupyter notebook on local browser

Note

Due to administartive access restrictions in windows, during the silent python installation step (i.e step 6), please click on yes when administarative prompt is displayed

Important

Due to windows security issue, the step to add python to PATH environment variables in windows in not allowed. In this case please manually add python path to the existing windows environment variables.

jupyter-auto-install's People

Contributors

sujoyshub avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.