Running my app on Streamlit Cloud I want to use a package from git (GitHub - QuantumPhotonicsLab/readPTU: A Python library to read PTU files from PicoQuant) that requires a compiler ( ‘gcc’ on Linux, ‘clang’ on macOS or ‘vc’ on Windows).
- To install the package readPTU I added a line git+URL in requirments.txt. However when trying to import the package I get the import error :
File “/home/appuser/venv/lib/python3.7/site-packages/readPTU/readPTU.py”, line 33, in from ._readTTTRRecords_HHT2_HH2 import ffi, lib
This file should have been created when running the setup.py of ReadPTU if the right compiler was present.
I’m not sure what to add to packages.txt so that the installation of the package runs fine on the cloud. I tried adding “clang”, “gcc” or “cmakes” but none of those worked. Can you help me figure it out?
Thanks for your help!