- Development Status :: 4 - Beta
- Environment :: Other Environment
- License :: OSI Approved :: BSD License
- Operating System :: OS Independent
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
- Topic :: Software Development
- Topic :: Software Development :: Libraries
- Topic :: Software Development :: Libraries :: Python Modules
When you know about this project and you want to new install pgen2 to support your project or you get trouble as ModuleNotFoundError: No module named "pgen2" or ImportError: cannot import name "pgen2" in your project, let follow this tutorial to install pgen2
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_pgen2_env
- Active the virtual environment
test_pgen2_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_pgen2_env
- Active the virtual environment
source test_pgen2_env/bin/active
To install pgen2 on Windows(CMD):
py -m pip install pgen2
To install pgen2 on Unix/macOs:
pip install pgen2
Example:
pip install pgen2==0.1.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
pgen2 0.1.1 | 2020-01-18T20:17:40 | Windows: Unix/macOs:
|
pgen2 0.1.0 | 2013-03-18T23:12:54 | Windows: Unix/macOs:
|
Download the distribution file from pgen2-0.1.1.tar.gz or the specific pgen2 version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_pgen2_downloaded_file>
On Unix/macOs:
pip install <path_to_pgen2_downloaded_file>
List distribution:
Project link:
- Homepage