Answers for "how to check a package version in python"

6

check package version python

import packagename
print(packagename.__version__)
Posted by: Guest on April-18-2020
0

how to check version of any library in python

# type below command based on which module version you want to know.
$ python -m django --version
$ python -m pandas --version
Posted by: Guest on July-23-2021
0

python package version

Linux:
$ pip freeze | grep lxml
lxml==2.3

Windows:
c:> pip freeze | findstr lxml
lxml==2.3

Python:
$ python -c "import requests; print(requests.__version__)"
2.14.2
Posted by: Guest on September-09-2021
0

how to check current version of library in python

#Let's say you want to check tensorflow version

import tensorflow as tf
tf.__version__
Posted by: Guest on January-15-2021

Code answers related to "how to check a package version in python"

Python Answers by Framework

Browse Popular Code Answers by Language