-
Notifications
You must be signed in to change notification settings - Fork 0
Python Tips & Tricks
Joey Kleiner edited this page Nov 2, 2022
·
34 revisions
python installs:
# display all python installs on ubuntu
ls -ls /usr/bin/python*
# display python version being used
python -V
python --versionpackage installs:
# see location(s) of installed packages
python -m site
# show all installed packages
pip list
# see location of individual package
pip show pandas
# see where python installs your local packages
python -m site --user-siteinstall packages:
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org pip matplotlib
C:\Users\jklei\AppData\Local\Programs\Python\Python310\Scripts\pip3 install pandasqlGetting set up with python on windows
- Installed VS Code Desktop (User Installer 64 bit)
- Installed Python extension in VS Code
- Installed latest version of python from web browser (3.10.5)
- Selected this interpreter in VS Code