NEW
python3 -m venv [my_directory]
ACTIVATE
source my_venv/bin/activate
pip install PyQt5
-
maybe this one pip install PyQtWebEngine
-
for Q Plugin development pip install pb_tool ##############################################################################
- need to add the path to the plugin folder to pb_tool.cfg plugin_path: /Users/nick/Library/Application Support/QGIS/QGIS3/profiles/test/python/plugins ##############################################################################
- FOR LTR /Applications/QGIS-LTR.app/Contents/MacOS/bin/designer
- FOR NEWEST RELEASE /Applications/QGIS.app/Contents/MacOS/bin/designer ##############################################################################
- these should be in the .vscode directory, in settings.json { // FROM: https://gist.github.com/NicolaiMogensen/acfd8723720c4761aefef3cdfc2aa55a // I like changing colors for my projects. QGIS projects are usually green. "workbench.colorCustomizations": { "titleBar.activeForeground": "#000000", "titleBar.activeBackground": "#0ff381", }, "terminal.integrated.env.osx": { "PYTHONPATH": "${env:QGIS_PATH}/Contents/Resources/python:${env:QGIS_PATH}/Contents/Resources/python/site-packages:${env:QGIS_PATH}/Contents/Resources/python/site-packages/PyQt5", "PATH": "${env:PATH}:${env:QGIS_PATH}/Contents/MacOS/bin" }, "python.pythonPath": "${env:QGIS_PATH}/Contents/MacOS/bin/python3.8" }
##############################################################################
/Applications/QGIS.app/Contents/MacOS/bin/python3.8 ##############################################################################