05-general python install

Install Latest Anaconda / Miniconda

sudo apt install git python3-pip python3.11-venv

# sudo apt install libgeos-dev
python3 -m venv ~/envs/gen
. envs/gen/bin/activate

pip install numpy scipy sympy jupyter matplotlib
pip install shapely 
pip install pyserial pyyaml django 
pip install pyqt5
pip install pyqtgraph pyopengl vispy plotly
pip install gitpython 
pip install shapely scikit-fem meshio ezdxf twine 
pip install h5py
pip install pygmsh # the pip version of gmsh has issues on ubuntu, so  use apt to install
pip install pypdf pypdf4 pdf2image
pip install service_identity ftd2xx pygithub paho-mqtt scp euclid3 pysolar ntplib stem
pip install fake_useragent PyMuPDF pygame pysftp pyserial cma ladybug-geometry-polyskel  pyexiftool xlsxgrep yt-dlp microdot
pip install mkdocs mkdocs-material mkdocs-glightbox mkdocs-rss-plugin python-slugify 
pip install pandoc-fignos pandoc-eqnos pandoc-crossref
pip install --force-reinstall git+https://github.com/nandokawka/pandoc-xnos@284474574f51888be75603e7d1df667a0890504d#egg=pandoc-xnos # according to [here](https://github.com/tomduck/pandoc-xnos/pull/29), until the PR is merged, do the above.
pip install git+https://github.com/pfalcon/utemplate.git

sudo apt install -y build-essential
pip install esptool thonny

Wayland Pyqtgraph / qt5 issue

https://stackoverflow.com/questions/69994530/qt-qpa-plugin-could-not-find-the-qt-platform-plugin-wayland

add this to .bashrc

export QT_QPA_PLATFORM=“xcb”