sudo apt install -y git python3-pip python3-venv
sudo apt install -y build-essential
# sudo apt install -y libgeos-dev
python3 -m venv ~/envs/gen
. envs/gen/bin/activate
pip install numpy scipy sympy jupyter matplotlib pyyaml pandas
pip install shapely \
pyserial \
pyqt5 \
pyqt6 \
pyqtgraph pyopengl vispy plotly \
gitpython pygithub \
scikit-fem meshio \
h5py \
pypdf pypdf4 pdf2image ezdxf PyMuPDF \
twine ftd2xx service_identity euclid3 pysolar ntplib \
fake_useragent pygame cma ladybug-geometry-polyskel microdot networkx \
yt-dlp pyexiftool xlsxgrep \
django \
mkdocs mkdocs-material mkdocs-glightbox mkdocs-rss-plugin python-slugify \
pandoc-fignos pandoc-eqnos pandoc-crossref \
esptool thonny \
pandoc_plus
# the pip version of gmsh has issues on ubuntu, so use apt to install
pip install pygmsh
pip uninstall gmsh
# according to [here](https://github.com/tomduck/pandoc-xnos/pull/29), until the PR is merged, do the above.
pip install --force-reinstall --no-cache-dir git+https://github.com/nandokawka/pandoc-xnos@284474574f51888be75603e7d1df667a0890504d#egg=pandoc-xnos
pip install git+https://github.com/pfalcon/utemplate.git
# pip install scp pysftp paho-mqtt stem #unused?
# pip install meshpy # optional
# sudo apt-get install python3-tk #recently added requirement? https://stackoverflow.com/questions/25905540/importerror-no-module-named-tkinter
add this to .bashrc
export QT_QPA_PLATFORM=“xcb”