Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install clamd via python pip




clamd - Clamd is a python interface to Clamd (Clamav daemon)., it belongs to Classifiers:

- License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)

When you know about this project and you want to new install clamd to support your project or you get trouble as ModuleNotFoundError: No module named "clamd" or ImportError: cannot import name "clamd" in your project, let follow this tutorial to install clamd



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

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 virtual environment:

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_clamd_env

- Active the virtual environment

test_clamd_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_clamd_env

- Active the virtual environment

source test_clamd_env/bin/active


Step 2: OK, now, let flow below content to start the installation clamd

To install clamd on Windows(CMD):

py -m pip install clamd

To install clamd on Unix/macOs:

pip install clamd


Step 3: If you want to install a specific clamd version, add ==<clamd version> to the end command line

Example:

pip install clamd==0.3.0


Please see the version list below table:

VersionReleased dateCommand
clamd 1.0.22014-08-21T14:58:18Windows:

py -m pip install clamd==1.0.2

Unix/macOs:

pip install clamd==1.0.2

clamd 1.0.12013-03-07T00:03:57Windows:

py -m pip install clamd==1.0.1

Unix/macOs:

pip install clamd==1.0.1

clamd 1.0.02013-02-08T22:58:38Windows:

py -m pip install clamd==1.0.0

Unix/macOs:

pip install clamd==1.0.0

clamd 0.3.42013-02-01T14:57:37Windows:

py -m pip install clamd==0.3.4

Unix/macOs:

pip install clamd==0.3.4

clamd 0.3.32013-01-28T14:25:02Windows:

py -m pip install clamd==0.3.3

Unix/macOs:

pip install clamd==0.3.3

clamd 0.3.22013-01-28T14:14:43Windows:

py -m pip install clamd==0.3.2

Unix/macOs:

pip install clamd==0.3.2

clamd 0.3.12013-01-26T23:47:39Windows:

py -m pip install clamd==0.3.1

Unix/macOs:

pip install clamd==0.3.1

clamd 0.3.02012-11-15T17:10:57Windows:

py -m pip install clamd==0.3.0

Unix/macOs:

pip install clamd==0.3.0


Step 4: Otherwise, you can install clamd from local archives:

Download the distribution file from clamd-1.0.2.tar.gz or the specific clamd version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_clamd_downloaded_file>

On Unix/macOs:

pip install <path_to_clamd_downloaded_file>


List distribution:

- clamd-0.3.0.tar.gz
- clamd-0.3.1.tar.gz
- clamd-0.3.2.tar.gz
- clamd-0.3.3.tar.gz
- clamd-0.3.4.zip
- clamd-1.0.0.zip
- clamd-1.0.1.zip
- clamd-1.0.2-py2.py3-none-any.whl
- clamd-1.0.2.tar.gz


Project link:

- Homepage