VS Code & Python — packages & set-up
How to set up a virtual environment:
1. Download Anaconda Navigator.
2. Click on VS Code & Jutyper Notebooks.
3. Search in Environments -> all.
How to install packages:
# check the packages — within command prompt
pip list
# check the paths
sys.path
# Install and uninstall packages — in the terminal
pip install lux — user. # NB a space and 2 dashes there.
pip uninstall lux
# check which interpreter is being used — in the command prompt
py-0
# verify the python installation, in Command Prompt
py -3 — version # NB space plus 2 dashes
# Pip install packages
# Note the ‘ — ‘ double dash followed by user (singular) to store the files in the correct location. Add any other packages, using spaces, as require