Duplicate Your Mac Workflow on Windows 10

Duplicate Your Mac Workflow on Windows 10

Duplicate Your Mac Workflow on Windows 10. Working with pyenv Virtual Environments and GitHub on Your PC

Over the last two years of working as a Data Scientist on an issued MacBook, I’ve grown accustomed to a workflow that includes:

  • Creating a virtual environment using pyenv & virtualenvwrapper. This allowed me to easily switch between different versions of Python as I worked on my projects and contributed to others.
  • Cloning repos, creating branches, and pushing changes into GitHub/BitBucket.

After having to give up my work machine and before shelling out $1500 on a new Mac, I wanted to duplicate this part of my workflow on my own Windows 10 PC. My assumption was, if I can get this part down then everything else (i.e. ssh into an EC2 server) will be relatively simple.

A handful of hours were spent on research, installing pyenv-winvirtualenv, and Git Bash, fiddling with Windows environment variables, and getting it all to work, but the ease with which I could create a virtual environment with, say, Python 3.7.6 for my Kaggle work just wasn’t there. This is how I would’ve created it previously:

$ pyenv install 3.7.6
$ pyenv virtualenv 3.7.6 kaggle
$ pyenv activate kaggle

Ultimately, this is what I was satisfied with:

  1. Install Ubuntu and open a Ubuntu shell
  2. Install pyenv and update ~/.bashrc
  3. Setup Git Config

Install Ubuntu and Open a Ubuntu shell

Turn the Windows feature on for Windows Subsystem for Linux, then install the Linux distribution you want to use — in my case, Ubuntu. Easy-to-follow instructions for doing these two steps can be found here. Be prepared to restart your machine for this.

Once the installation is complete, click on “Launch” or open a Ubuntu shell by typing “ubuntu” in Windows Search and opening the app, then update the packages with:

$ sudo apt-get update

$ sudo apt-get install -y build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev \
liblzma-dev python-openssl git

The latter part of this is to fix any build problems you might encounter when trying to install certain versions of Python for use in your virtual environments.

virtual-environment windows-10 github data-science pyenv

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

50 Data Science Jobs That Opened Just Last Week

Data Science and Analytics market evolves to adapt to the constantly changing economic and business environments. Our latest survey report suggests that as the overall Data Science and Analytics market evolves to adapt to the constantly changing economic and business environments, data scientists and AI practitioners should be aware of the skills and tools that the broader community is working on. A good grip in these skills will further help data science enthusiasts to get the best jobs that various industries in their data science functions are offering.

Applications Of Data Science On 3D Imagery Data

The agenda of the talk included an introduction to 3D data, its applications and case studies, 3D data alignment and more.

Data Science Course in Dallas

Become a data analysis expert using the R programming language in this [data science](https://360digitmg.com/usa/data-science-using-python-and-r-programming-in-dallas "data science") certification training in Dallas, TX. You will master data...

The List of Top 10 Data Science Lists; Data Science MOOCs with Substance

The List of Top 10 Lists in Data Science; Going Beyond Superficial: Data Science MOOCs with Substance; Introduction to Statistics for Data Science; Content-Based Recommendation System using Word Embeddings; How Natural Language Processing Is Changing Data Analytics. Also this week: The List of Top 10 Lists in Data Science; Going Beyond Superficial: Data Science MOOCs with Substance; Introduction to Statistics for Data Science

32 Data Sets to Uplift your Skills in Data Science | Data Sets

Need a data set to practice with? Data Science Dojo has created an archive of 32 data sets for you to use to practice and improve your skills as a data scientist.