System for doing some python base data analytics
Pip nees Longpath enabled in order to install Jupyter on your machine (you will probably want this for the machine, not just the project)
Run powershell with elevated privledges, from the terminal cmd.exe
:
Start-Process powershell -Verb runAs
In new window:
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" `
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
pip3 install jupyterlab
Venv is a system in python, that allows for you to install dependencies locally for a package, without having to isntall them system wide
Command Pallet python.createEnvironment
-> Venv
-> requirements.txt
python -m venv .venv
Activating a virutal environment will make it so that python uses the environments not global liraries
Open a terminal (it should be activated already and will show that) by prefixing the prompt with (.venv)
To activate the venv without running a shell from vscode
`.\.venv\Scripts\activatee`
- Delete dir .venv
- Command Pallet
python.createEnvironment
->Venv
->requirements.txt
When inside an activated environment, any library changes should be isolated to the virtual environment
`pip3 install -r requirements.txt`