how to check python version
# To check your Python version in the command line use:
python --version
# To check your Python verson inside a script use:
import sys
print(sys.version)
how to check python version
# To check your Python version in the command line use:
python --version
# To check your Python verson inside a script use:
import sys
print(sys.version)
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
how to install specific version of python with venv
#LAUNCH THE COMMAND WITH YOUR SPECIFIC DISTRIBUTION PATH INSTEAD OF THE ONTHEGO 'python'
#THEN CREATE YOUR ENV NORMAL
c:\>python\python3.8 -m venv myEnv1 c:\path\to\myenv
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