Installation#

Note

Wheels are provided for Linux x86-64 platforms. Other machines will have to build the wheel from the source distribution. Building pyncbitk involves compiling the NCBI C++ Toolkit, which requires a C++ compiler to be available.

GitHub + pip#

If, for any reason, you prefer to download the library from GitHub, you can clone the repository and install the repository by running (with the admin rights):

$ git clone --recursive https://github.com/althonos/pyncbitk
$ pip install --user ./pyncbitk

Caution

Keep in mind this will install always try to install the latest commit, which may not even build, so consider using a versioned release instead.

GitHub + build#

If you do not want to use pip, you can still clone the repository and compile manually, although you will need to install the build package first:

$ git clone --recursive https://github.com/althonos/pyncbitk
$ cd pyncbitk
$ python -m build . --wheel
# python -m installer pyncbitk*.whl

Danger

Installing packages without pip is strongly discouraged, as they can only be uninstalled manually, and may damage your system.