Steps for Setting up a Python3 Virtual Environment
I use Windows and Linux together for dev. My machine is a Windows 10 box and run Ubuntu in the ‘Windows Subsystem for Linux’. I use vscode insalled on WIndows as my editing environment. So my source code is on my windows file system and I use a symbolic link to access it in Ubuntu.
See the ‘Windows Subsystem for Linux’ docs for how to set it up. See how to install virtualenv and virtualenvwrapper
Setup a projects folder off your home in Ubuntu
cd ~ mkdir projects cd projects
In Ubuntu use mkvirtualenv to create a virtualenv that uses Python3
mkvirtualenv -p python3 grok
Create a dev workspace in the Windows file system
D:\dev\grok
In Ubuntu Setup a symbolic link to access it
ln -s /mnt/d/dev/grok grok
ln -s /mnt/d/dev/rickfalck rick
In Ubuntu install your projects requirements
cd grok pip3 install -r requirements.txt
In a Nutshell
mkvirtualenv -p python3 grokthis cd grokthis pip3 install -r requirements.txt pelican content -s pelicanconf.py -t /home/rick/projects/grokthis/theme/lucid cd output python -m http.server