Installation: Environment Check
Installation: Environment Check
Choose the appropriate installation method based on network connectivity and Docker support. Docker Prebuilt is recommended for consistent environments and simplified deployment. If deep learning features are needed, verify CUDA support.
flowchart TD
Start[Environment Setup] --> NetworkCheck{Network<br/>Connection?}
NetworkCheck -->|Yes| DockerCheck1{Docker<br/>Support?}
NetworkCheck -->|No| DockerCheck2{Docker<br/>Support?}
DockerCheck1 -->|Yes| DockerPrebuilt[Docker<br/>Prebuilt]
DockerCheck1 -->|No| PyPIInstall[PyPI<br/>Install]
DockerCheck2 -->|Yes| DockerOffline[Docker<br/>Offline Deployment]
DockerCheck2 -->|No| PackageDownload[Package<br/>Pre-download]
%% Deep Learning Support Check
DockerPrebuilt --> DLCheck{Use<br/>Deep Learning?}
PyPIInstall --> DLCheck
DockerOffline --> DLCheck
PackageDownload --> DLCheck
DLCheck -->|Yes| CUDACheck[Check<br/>CUDA Support]
DLCheck -->|No| Complete[Installation Complete]
%% Macaron color scheme
style Start fill:#B0E0E6,stroke:#87CEEB,stroke-width:2px,color:#333
style NetworkCheck fill:#E6E6FA,stroke:#DDA0DD,stroke-width:2px,color:#333
style DockerCheck1 fill:#E6E6FA,stroke:#DDA0DD,stroke-width:2px,color:#333
style DockerCheck2 fill:#E6E6FA,stroke:#DDA0DD,stroke-width:2px,color:#333
style DockerPrebuilt fill:#B4E7CE,stroke:#98D8C8,stroke-width:2px,color:#333
style PyPIInstall fill:#B4E7CE,stroke:#98D8C8,stroke-width:2px,color:#333
style DockerOffline fill:#B4E7CE,stroke:#98D8C8,stroke-width:2px,color:#333
style PackageDownload fill:#B4E7CE,stroke:#98D8C8,stroke-width:2px,color:#333
style DLCheck fill:#FFE4E1,stroke:#FFC0CB,stroke-width:2px,color:#333
style CUDACheck fill:#B4E7CE,stroke:#98D8C8,stroke-width:2px,color:#333
style Complete fill:#D3D3D3,stroke:#A9A9A9,stroke-width:2px,color:#333
%% Legend styles
style Legend1 fill:#B0E0E6,stroke:#87CEEB,stroke-width:2px,color:#333
style Legend2 fill:#E6E6FA,stroke:#DDA0DD,stroke-width:2px,color:#333
style Legend3 fill:#B4E7CE,stroke:#98D8C8,stroke-width:2px,color:#333Legend:
- Light blue box: Flow start point
- Light purple box: Decision nodes
- Light green box: Action nodes
Choose Installation Method
Based on your environment conditions, please select the appropriate installation method:
Environments with Network Connection
Docker Prebuilt - Environments with Docker support (Recommended)
- No local Python environment setup required
- Fast deployment with high environment consistency
PyPI Install - Environments without Docker support
- Direct installation to local Python environment
- Supports multiple dependency group options
- Recommended to use uv for installation
Environments without Network Connection
Docker Offline Deployment - Environments with Docker support
- Build/pull image in network-connected environment first
- Export and transfer to offline environment
Package Pre-download - Environments without Docker support
- Pre-download all dependency packages
- Transfer to offline environment for installation
Deep Learning Support
- Deep Learning Support Check - Environments using deep learning synthesizers
- Check NVIDIA GPU driver status
- Verify PyTorch and CUDA support
- Confirm system computing mode (CPU/GPU)
Next Steps
After verifying installation:
- Check the Getting Started guide for detailed usage examples
- Create a YAML configuration file to start using PETsARD
- Explore PETsARD YAML documentation to learn about configuration