dbt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dbt [2022/11/21 15:36] daviddbt [2025/05/01 14:28] (current) david
Line 1: Line 1:
 +====== DBY on Win ======
 +
 +===== Python =====
 +
 +Info:
 +  - https://devguide.python.org/versions/
 +  - https://github.com/pyenv-win/pyenv-win?tab=readme-ov-file
 +  - https://stackoverflow.com/questions/65348890/python-was-not-found-run-without-arguments-to-install-from-the-microsoft-store
 +
 +<code bat>
 +# Pyenv: https://github.com/pyenv-win/pyenv-win?tab=readme-ov-file
 +Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1"
 +
 +#Reopen PowerShell
 +
 +# Python:
 +
 +pyenv --version
 +pyenv install -l
 +pyenv install 3.13
 +pyenv global 3.13
 +
 +#Reopen PowerShell
 +python --version
 +
 +python -m pip list
 +python -m pip install -U pip
 +
 +
 +python -m venv venv
 +</code>
 +
 +<code bat>
 +.\venv\Scripts\activate
 +
 +python.exe -m pip list
 +python.exe -m pip install --upgrade pip
 +
 +
 +python.exe -m pip install dbt-postgres
 +</code>
  
 ====== Unsorted Notes ====== ====== Unsorted Notes ======
  
-* https://docs.getdbt.com/reference/profiles.yml + 
-* https://docs.getdbt.com/docs/get-started/getting-started-dbt-core +  * https://docs.getdbt.com/reference/profiles.yml 
-* https://www.arubacloud.com/tutorial/how-to-create-a-python-virtual-environment-on-ubuntu.aspx +  * https://docs.getdbt.com/docs/get-started/getting-started-dbt-core 
-* https://docs.getdbt.com/reference/warehouse-setups/sqlite-setup+  * https://www.arubacloud.com/tutorial/how-to-create-a-python-virtual-environment-on-ubuntu.aspx 
 +  * https://docs.getdbt.com/reference/warehouse-setups/sqlite-setup
  
 <code bash> <code bash>
  • dbt.1669044990.txt.gz
  • Last modified: 2025/03/27 15:42
  • (external edit)