- Programming Language :: Python :: Implementation :: PyPy
When you know about this project and you want to new install platformdirs to support your project or you get trouble as ModuleNotFoundError: No module named "platformdirs" or ImportError: cannot import name "platformdirs" in your project, let follow this tutorial to install platformdirs
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_platformdirs_env
- Active the virtual environment
test_platformdirs_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_platformdirs_env
- Active the virtual environment
source test_platformdirs_env/bin/active
To install platformdirs on Windows(CMD):
py -m pip install platformdirs
To install platformdirs on Unix/macOs:
pip install platformdirs
Example:
pip install platformdirs==2.0.0a1 pre-release
Please see the version list below table:
Version | Released date | Command |
---|---|---|
platformdirs 2.5.2 | 2022-04-18T08:48:47 | Windows: Unix/macOs:
|
platformdirs 2.5.1 | 2022-02-19T17:27:39 | Windows: Unix/macOs:
|
platformdirs 2.5.0 | 2022-02-09T15:59:38 | Windows: Unix/macOs:
|
platformdirs 2.4.1 | 2021-12-26T17:22:26 | Windows: Unix/macOs:
|
platformdirs 2.4.0 | 2021-09-25T20:46:05 | Windows: Unix/macOs:
|
platformdirs 2.3.0 | 2021-08-30T23:01:04 | Windows: Unix/macOs:
|
platformdirs 2.2.0 | 2021-07-29T11:51:37 | Windows: Unix/macOs:
|
platformdirs 2.1.0 | 2021-07-25T19:38:20 | Windows: Unix/macOs:
|
platformdirs 2.0.2 | 2021-07-13T20:03:44 | Windows: Unix/macOs:
|
platformdirs 2.0.0 | 2021-07-12T07:43:38 | Windows: Unix/macOs:
|
Download the distribution file from platformdirs-2.5.2.tar.gz or the specific platformdirs version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_platformdirs_downloaded_file>
On Unix/macOs:
pip install <path_to_platformdirs_downloaded_file>
List distribution:
Project link: