pybel command not found

In this troubleshooting guide we learn how to fix pybel command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

pybel: command not found

or when using sudo you get the following error message

sudo: pybel: command not found

Solutions to pybel: command not found

How To Fix pybel: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pybel is provided by python3-pybel package.

python3-pybel is:

PyBEL is a pure Python package for parsing and handling biological networks encoded in the Biological Expression Language (BEL) version

  1. It also facilitates data interchange between common formats and databases such as NetworkX, JSON, CSV, SIF, Cytoscape, CX, NDEx, SQL, and Neo4J.

This package installs the library for Python 3.

To fix this problem, we can install more using the command below.

sudo apt-get -y install python3-pybel

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install python3-pybel.

sudo apt -y install python3-pybel

Or if you have aptitude installed you can use the following command.

sudo aptitude install python3-pybel

Summary

In this tutorial we learn how to fix pybel command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.