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

How to install cma-es via python pip




cma-es - Covariance Matrix Adaptation Evolution Strategy (CMA-ES) implemented with TensorFlow, it belongs to Classifiers:

- Intended Audience :: Education
- Topic :: Scientific/Engineering :: Mathematics

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



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_cma-es_env

- Active the virtual environment

test_cma-es_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_cma-es_env

- Active the virtual environment

source test_cma-es_env/bin/active


Step 2: OK, now, let flow below content to start the installation cma-es

To install cma-es on Windows(CMD):

py -m pip install cma-es

To install cma-es on Unix/macOs:

pip install cma-es


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

Example:

pip install cma-es==1.0.0


Please see the version list below table:

VersionReleased dateCommand
cma-es 1.5.02021-12-01T18:58:03Windows:

py -m pip install cma-es==1.5.0

Unix/macOs:

pip install cma-es==1.5.0

cma-es 1.4.02021-12-01T18:17:15Windows:

py -m pip install cma-es==1.4.0

Unix/macOs:

pip install cma-es==1.4.0

cma-es 1.3.02019-11-16T12:06:04Windows:

py -m pip install cma-es==1.3.0

Unix/macOs:

pip install cma-es==1.3.0

cma-es 1.2.02019-10-17T11:45:21Windows:

py -m pip install cma-es==1.2.0

Unix/macOs:

pip install cma-es==1.2.0

cma-es 1.1.02019-10-12T11:54:30Windows:

py -m pip install cma-es==1.1.0

Unix/macOs:

pip install cma-es==1.1.0

cma-es 1.0.02019-10-11T16:15:50Windows:

py -m pip install cma-es==1.0.0

Unix/macOs:

pip install cma-es==1.0.0


Step 4: Otherwise, you can install cma-es from local archives:

Download the distribution file from cma-es-1.5.0.tar.gz or the specific cma-es version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_cma-es_downloaded_file>

On Unix/macOs:

pip install <path_to_cma-es_downloaded_file>


List distribution:

- cma-es-1.0.0.tar.gz (python version >=3.6)
- cma-es-1.1.0.tar.gz (python version >=3.6)
- cma-es-1.2.0.tar.gz (python version >=3.6)
- cma-es-1.3.0.tar.gz (python version >=3.6)
- cma-es-1.4.0.tar.gz (python version >=3.6)
- cma_es-1.4.0-py3-none-any.whl (python version >=3.6)
- cma-es-1.5.0.tar.gz (python version >=3.6)
- cma_es-1.5.0-py3-none-any.whl (python version >=3.6)


Project link:

- Homepage