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

How to install whatshap via python pip




whatshap - phase genomic variants using DNA sequencing reads, it belongs to Classifiers:

- Programming Language :: C
- Programming Language :: Cython
- Topic :: Scientific/Engineering :: Bio-Informatics

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



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_whatshap_env

- Active the virtual environment

test_whatshap_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_whatshap_env

- Active the virtual environment

source test_whatshap_env/bin/active


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

To install whatshap on Windows(CMD):

py -m pip install whatshap

To install whatshap on Unix/macOs:

pip install whatshap


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

Example:

pip install whatshap==0.1.dev0                                                        pre-release


Please see the version list below table:

VersionReleased dateCommand
whatshap 1.42022-04-07T16:12:55Windows:

py -m pip install whatshap==1.4

Unix/macOs:

pip install whatshap==1.4

whatshap 1.32022-03-11T11:54:53Windows:

py -m pip install whatshap==1.3

Unix/macOs:

pip install whatshap==1.3

whatshap 1.2.12021-12-07T13:52:11Windows:

py -m pip install whatshap==1.2.1

Unix/macOs:

pip install whatshap==1.2.1

whatshap 1.2 yanked2021-12-06T20:46:55Windows:

py -m pip install whatshap==1.2                                                                          yanked

Unix/macOs:

pip install whatshap==1.2                                                                          yanked

whatshap 1.12021-04-08T13:54:44Windows:

py -m pip install whatshap==1.1

Unix/macOs:

pip install whatshap==1.1

whatshap 1.02020-06-24T14:27:23Windows:

py -m pip install whatshap==1.0

Unix/macOs:

pip install whatshap==1.0

whatshap 0.182019-02-15T17:02:06Windows:

py -m pip install whatshap==0.18

Unix/macOs:

pip install whatshap==0.18

whatshap 0.172018-07-20T07:32:03Windows:

py -m pip install whatshap==0.17

Unix/macOs:

pip install whatshap==0.17

whatshap 0.162018-05-22T11:46:39Windows:

py -m pip install whatshap==0.16

Unix/macOs:

pip install whatshap==0.16

whatshap 0.152018-04-07T10:51:56Windows:

py -m pip install whatshap==0.15

Unix/macOs:

pip install whatshap==0.15

whatshap 0.14.12017-07-07T08:35:26Windows:

py -m pip install whatshap==0.14.1

Unix/macOs:

pip install whatshap==0.14.1

whatshap 0.142017-07-06T18:57:37Windows:

py -m pip install whatshap==0.14

Unix/macOs:

pip install whatshap==0.14

whatshap 0.132016-10-27T15:21:11Windows:

py -m pip install whatshap==0.13

Unix/macOs:

pip install whatshap==0.13

whatshap 0.122016-07-01T16:17:50Windows:

py -m pip install whatshap==0.12

Unix/macOs:

pip install whatshap==0.12

whatshap 0.112016-06-09T13:05:54Windows:

py -m pip install whatshap==0.11

Unix/macOs:

pip install whatshap==0.11

whatshap 0.102016-04-27T12:36:19Windows:

py -m pip install whatshap==0.10

Unix/macOs:

pip install whatshap==0.10

whatshap 0.92016-01-05T16:27:53Windows:

py -m pip install whatshap==0.9

Unix/macOs:

pip install whatshap==0.9


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_whatshap_downloaded_file>

On Unix/macOs:

pip install <path_to_whatshap_downloaded_file>


List distribution:


Project link:

- Homepage
- Changelog