Created
June 7, 2019 19:51
-
-
Save ergin/9928cdf8694dfaedf43520a90e464710 to your computer and use it in GitHub Desktop.
Installation of Scoop, Python 3, Jupyter Notebooks, Pandas, Numpy, Matplotlib, Sklearn on Windows with Powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure PowerShell 5 (or later, include PowerShell Core) and .NET Framework 4.5 (or later) are installed. Then run the following steps. | |
# Install Scoop | |
iex (new-object net.webclient).downloadstring('https://get.scoop.sh') | |
# Note: if you get an error you might need to change the execution policy (i.e. enable Powershell) with Set-ExecutionPolicy RemoteSigned -scope CurrentUser | |
# Install Python 3 | |
scoop install python | |
# Upgrade pip | |
python3 -m pip install --upgrade pip | |
# Create directory structure for Jupyter Notebooks. Note: feel free to change the path anything you want. | |
mkdir C:\Projects\Jupyter\Notebooks | |
cd C:\Projects\Jupyter\Notebooks | |
# Install pipenv | |
python3 -m pip install pipenv | |
pipenv --python 3.7 | |
# Install Jupyter Notebooks | |
pipenv install jupyterlab | |
# Install related ML libs. Note: feel free to add/change any package you want or need. | |
pipenv install pandas numpy matplotlib seaborn sklearn | |
# Run Jupyter Notebooks. | |
# Note: you need the line below anytime you want to run Jupyter Notebooks. | |
pipenv run jupyter lab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment