I have Python 3.6 installed on my Windows computer. I installed the Windows Subsystem for Linux (WSL). When I type
python into my Ubuntu terminal, I'm told I'm using Python 2.7 (which I imagine comes pre-installed on Ubuntu).
How can I use the same Python for both Windows and Linux, so that if I install a new package with pip from either, I can access it from either? I want the two systems to share the same Python.
It seems as though following something along the lines of creating an alias might work, but I'm pretty sure the
pip command will remain the same (referring to Python 3.6 on Windows and Python 2.7 on Linux), as might other functionality.