Skip to content

Instantly share code, notes, and snippets.

Last active Jan 16, 2021
What would you like to do?
Check Pip version
import numpy as np
import scipy as sp
import pandas as pd
import pip
if pip.__version__ >= "10.0.0":
from pip._internal.utils.misc import get_installed_distributions
from pip import get_installed_distributions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment