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

How to install hcipy via python pip




hcipy - A framework for performing optical propagation simulations, meant for high contrast imaging, in Python., it belongs to Classifiers:

- Development Status :: 3 - Alpha
- Programming Language :: Python :: 3.5
- Topic :: Scientific/Engineering
- Topic :: Scientific/Engineering :: Astronomy

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



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_hcipy_env

- Active the virtual environment

test_hcipy_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_hcipy_env

- Active the virtual environment

source test_hcipy_env/bin/active


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

To install hcipy on Windows(CMD):

py -m pip install hcipy

To install hcipy on Unix/macOs:

pip install hcipy


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

Example:

pip install hcipy==0.1


Please see the version list below table:

VersionReleased dateCommand
hcipy 0.5.02022-08-18T22:02:58Windows:

py -m pip install hcipy==0.5.0

Unix/macOs:

pip install hcipy==0.5.0

hcipy 0.4.02021-02-23T01:35:59Windows:

py -m pip install hcipy==0.4.0

Unix/macOs:

pip install hcipy==0.4.0

hcipy 0.3.12020-04-02T09:38:17Windows:

py -m pip install hcipy==0.3.1

Unix/macOs:

pip install hcipy==0.3.1

hcipy 0.3.02020-01-21T14:25:29Windows:

py -m pip install hcipy==0.3.0

Unix/macOs:

pip install hcipy==0.3.0

hcipy 0.22019-08-07T11:53:10Windows:

py -m pip install hcipy==0.2

Unix/macOs:

pip install hcipy==0.2

hcipy 0.12018-07-02T13:23:59Windows:

py -m pip install hcipy==0.1

Unix/macOs:

pip install hcipy==0.1


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_hcipy_downloaded_file>

On Unix/macOs:

pip install <path_to_hcipy_downloaded_file>


List distribution:

- hcipy-0.1-py3-none-any.whl
- hcipy-0.1.tar.gz
- hcipy-0.2-py2-none-any.whl
- hcipy-0.2-py3-none-any.whl
- hcipy-0.2.tar.gz
- hcipy-0.3.0-py3-none-any.whl
- hcipy-0.3.0.tar.gz
- hcipy-0.3.1-py3-none-any.whl
- hcipy-0.3.1.tar.gz
- hcipy-0.4.0-py3-none-any.whl
- hcipy-0.4.0.tar.gz
- hcipy-0.5.0-py3-none-any.whl
- hcipy-0.5.0.tar.gz
- hcipy-0.5.1-py3-none-any.whl
- hcipy-0.5.1.tar.gz


Project link:

- Homepage