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

How to install emmet via python pip




emmet - Emmet is a builder framework for the Materials Project, it belongs to Classifiers:

- Development Status :: 2 - Pre-Alpha
- Intended Audience :: Information Technology
- Intended Audience :: System Administrators
- Topic :: Other/Nonlisted Topic

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



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_emmet_env

- Active the virtual environment

test_emmet_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_emmet_env

- Active the virtual environment

source test_emmet_env/bin/active


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

To install emmet on Windows(CMD):

py -m pip install emmet

To install emmet on Unix/macOs:

pip install emmet


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

Example:

pip install emmet==0.1


Please see the version list below table:

VersionReleased dateCommand
emmet 2018.6.72018-06-07T23:21:04Windows:

py -m pip install emmet==2018.6.7

Unix/macOs:

pip install emmet==2018.6.7

emmet 2018.6.62018-06-06T16:07:46Windows:

py -m pip install emmet==2018.6.6

Unix/macOs:

pip install emmet==2018.6.6

emmet 2018.4.22018-04-02T23:52:55Windows:

py -m pip install emmet==2018.4.2

Unix/macOs:

pip install emmet==2018.4.2

emmet 0.12017-06-22T22:42:57Windows:

py -m pip install emmet==0.1

Unix/macOs:

pip install emmet==0.1


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_emmet_downloaded_file>

On Unix/macOs:

pip install <path_to_emmet_downloaded_file>


List distribution:

- emmet-0.1-py3-none-any.whl
- emmet-0.1-py3.6.egg
- emmet-0.1.tar.gz
- emmet-2018.4.2-py3-none-any.whl
- emmet-2018.4.2.tar.gz
- emmet-2018.6.6-py3-none-any.whl (python version >=3.6)
- emmet-2018.6.6.tar.gz (python version >=3.6)
- emmet-2018.6.7-py3-none-any.whl (python version >=3.6)
- emmet-2018.6.7.tar.gz (python version >=3.6)


Project link:

- Homepage