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

How to install sinergym via python pip




sinergym - The goal of sinergym is to create an environment following OpenAI Gym interface for wrapping simulation engines for building control using deep reinforcement learning., it belongs to Classifiers:

- Development Status :: 5 - Production/Stable
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.10

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



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_sinergym_env

- Active the virtual environment

test_sinergym_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_sinergym_env

- Active the virtual environment

source test_sinergym_env/bin/active


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

To install sinergym on Windows(CMD):

py -m pip install sinergym

To install sinergym on Unix/macOs:

pip install sinergym


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

Example:

pip install sinergym==1.7.2.post4


Please see the version list below table:

VersionReleased dateCommand
sinergym 1.9.52022-06-22T08:09:01Windows:

py -m pip install sinergym==1.9.5

Unix/macOs:

pip install sinergym==1.9.5

sinergym 1.9.12022-05-23T08:11:35Windows:

py -m pip install sinergym==1.9.1

Unix/macOs:

pip install sinergym==1.9.1

sinergym 1.8.42022-04-07T10:48:47Windows:

py -m pip install sinergym==1.8.4

Unix/macOs:

pip install sinergym==1.8.4

sinergym 1.8.22022-04-01T08:42:44Windows:

py -m pip install sinergym==1.8.2

Unix/macOs:

pip install sinergym==1.8.2

sinergym 1.7.72022-03-15T13:31:00Windows:

py -m pip install sinergym==1.7.7

Unix/macOs:

pip install sinergym==1.7.7

sinergym 1.7.62022-02-16T09:03:37Windows:

py -m pip install sinergym==1.7.6

Unix/macOs:

pip install sinergym==1.7.6

sinergym 1.7.52022-02-14T16:09:44Windows:

py -m pip install sinergym==1.7.5

Unix/macOs:

pip install sinergym==1.7.5

sinergym 1.7.32022-01-31T16:26:22Windows:

py -m pip install sinergym==1.7.3

Unix/macOs:

pip install sinergym==1.7.3

sinergym 1.7.2.post42022-01-31T15:52:41Windows:

py -m pip install sinergym==1.7.2.post4

Unix/macOs:

pip install sinergym==1.7.2.post4


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_sinergym_downloaded_file>

On Unix/macOs:

pip install <path_to_sinergym_downloaded_file>


List distribution:


Project link:

- Homepage