- Intended Audience :: Other Audience
- Intended Audience :: System Administrators
- Programming Language :: Python :: 3.3
- Topic :: Database
- Topic :: Software Development :: Build Tools
When you know about this project and you want to new install wsl to support your project or you get trouble as ModuleNotFoundError: No module named "wsl" or ImportError: cannot import name "wsl" in your project, let follow this tutorial to install wsl
In Windows (CMD):
py -m pip --version
In Unix/macOS:
python3 -m pip --version
Ensure pip, setuptools, and wheel are up to date:
In Windows (CMD):
py -m pip install --upgrade pip setuptools wheel
In Unix/macOS:
python3 -m pip install --upgrade pip setuptools wheel
Optional - If you want to install
In Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_wsl_env
- Active the virtual environment
test_wsl_env\Scripts\active
In Unix/macOS:
- Install virtualenv - if you installed it, please ignore
pip3 install virtualenv
- Create a virtual environment
python3 -m venv test_wsl_env
- Active the virtual environment
source test_wsl_env/bin/active
To install wsl on Windows(CMD):
py -m pip install wsl
To install wsl on Unix/macOs:
pip install wsl
Example:
pip install wsl==0.3
Please see the version list below table:
Version | Released date | Command |
---|---|---|
wsl 0.12 | 2017-02-20T23:01:48 | Windows: Unix/macOs:
|
wsl 0.11 | 2017-02-19T22:53:25 | Windows: Unix/macOs:
|
wsl 0.8 | 2016-11-07T14:20:33 | Windows: Unix/macOs:
|
wsl 0.7 | 2016-11-03T16:29:31 | Windows: Unix/macOs:
|
wsl 0.6 | 2016-10-20T16:58:23 | Windows: Unix/macOs:
|
wsl 0.5 | 2016-10-05T03:28:39 | Windows: Unix/macOs:
|
wsl 0.4 | 2016-09-12T12:35:09 | Windows: Unix/macOs:
|
wsl 0.3 | 2016-09-10T12:08:19 | Windows: Unix/macOs:
|
Download the distribution file from wsl-0.12.tar.gz or the specific wsl version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_wsl_downloaded_file>
On Unix/macOs:
pip install <path_to_wsl_downloaded_file>
List distribution:
Project link:
- Homepage