- License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
When you know about this project and you want to new install ghostscript to support your project or you get trouble as ModuleNotFoundError: No module named "ghostscript" or ImportError: cannot import name "ghostscript" in your project, let follow this tutorial to install ghostscript
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_ghostscript_env
- Active the virtual environment
test_ghostscript_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_ghostscript_env
- Active the virtual environment
source test_ghostscript_env/bin/active
To install ghostscript on Windows(CMD):
py -m pip install ghostscript
To install ghostscript on Unix/macOs:
pip install ghostscript
Example:
pip install ghostscript==0.1
Please see the version list below table:
Version | Released date | Command |
---|---|---|
ghostscript 0.7 | 2021-03-06T15:56:01 | Windows: Unix/macOs:
|
ghostscript 0.6 | 2018-01-16T22:13:18 | Windows: Unix/macOs:
|
ghostscript 0.4.1 | 2011-02-09T09:58:15 | Windows: Unix/macOs:
|
ghostscript 0.4 | 2011-01-29T14:20:02 | Windows: Unix/macOs:
|
ghostscript 0.3 | 2010-08-12T12:57:01 | Windows: Unix/macOs:
|
ghostscript 0.2 | 2010-08-06T16:49:31 | Windows: Unix/macOs:
|
ghostscript 0.1 | 2010-08-06T13:07:13 | Windows: Unix/macOs:
|
Download the distribution file from ghostscript-0.7.tar.gz or the specific ghostscript version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_ghostscript_downloaded_file>
On Unix/macOs:
pip install <path_to_ghostscript_downloaded_file>
List distribution:
- ghostscript-0.1.tar.bz2
- ghostscript-0.1.zip
- ghostscript-0.2.tar.bz2
- ghostscript-0.2.zip
- ghostscript-0.3.tar.bz2
- ghostscript-0.3.zip
- ghostscript-0.4.tar.bz2
- ghostscript-0.4.zip
- ghostscript-0.4.1.tar.bz2
- ghostscript-0.4.1.zip
- ghostscript-0.5.dev0-py2.py3-none-any.whl
- ghostscript-0.5.dev0-py3-none-any.whl
- ghostscript-0.5.dev0.linux-x86_64.tar.gz
- ghostscript-0.6-py2.py3-none-any.whl
- ghostscript-0.6.tar.gz
- ghostscript-0.7-py2.py3-none-any.whl
- ghostscript-0.7.tar.gz
Project link: