pip install specific version
# To install a specific version of a package using pip:
pip install Package_name==version
# Example:
pip install MySQL_python==1.2.2
pip install specific version
# To install a specific version of a package using pip:
pip install Package_name==version
# Example:
pip install MySQL_python==1.2.2
how to pip install a specific version
# At the time of writing this numpy is in version 1.19.x
# This statement below will install numpy version 1.18.1
python -m pip install numpy==1.18.1
import specific version of package python
# adapted from answer given by Stack Overflow user in the source link
import pkg_resources
pkg_resources.require("your_package==its_version")
import your_package
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us