rea-analysis-optimization
MOmorluto/rea485k近 7 天新增 9,215 个 star
Installing and using common Python packages in SkillBench containers. Covers scientific computing, data analysis, and file format libraries.
Containers run as root. Always use --break-system-packages:
pip3 install --break-system-packages <package>
pip3 install --break-system-packages pandas numpy openpyxl xlsxwriter
pandas: DataFrames, CSV/Excel/JSON I/Onumpy: Numerical arrays, linear algebra, statisticsopenpyxl: Read/write Excel .xlsx filesxlsxwriter: Write Excel with formattingpip3 install --break-system-packages scipy scikit-learn matplotlib
scipy: Optimization, interpolation, signal processing, statisticsscikit-learn: ML models, preprocessing, metricsmatplotlib: Plotting (use Agg backend: import matplotlib; matplotlib.use('Agg'))pip3 install --break-system-packages python-pptx python-docx Pillow PyPDF2 pyyaml
python-pptx: PowerPoint filespython-docx: Word documentsPillow: Image processingPyPDF2 or pypdf: PDF readingpyyaml: YAML parsingpip3 install --break-system-packages requests beautifulsoup4 lxml
pip3 install --break-system-packages shapely geopandas # GIS
pip3 install --break-system-packages obspy # Seismology
pip3 install --break-system-packages rdkit-pypi # Chemistry (may need conda)
pip3 install --break-system-packages astropy # Astronomy
Before installing, check what's available:
pip3 list 2>/dev/null | head -40
python3 -c "import pandas; print(pandas.__version__)" 2>/dev/null
matplotlib.use('Agg') before importing pyplotapt-get update && apt-get install -y libgdal-dev for geopandasgcc: apt-get install -y build-essentialMOmorluto/rea485k近 7 天新增 9,215 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star