Installation¶
Requirements¶
VISTA requires Python 3.11 or higher.
Installing from PyPI¶
The easiest way to install VISTA is from PyPI using pip:
pip install vista-imagery
This will install VISTA and all of its required dependencies. PyTorch is optional and is not installed by default.
Installing from Source¶
To install VISTA from source, clone the repository and install in development mode:
git clone https://github.com/awetomaton/VISTA.git
cd VISTA
pip install -e .
Development Installation¶
For development, install with the optional development dependencies:
pip install -e ".[dev]"
This installs additional tools for testing and code quality:
pytest - Testing framework
pytest-qt - PyQt testing support
ruff - Fast Python linter
Conda Environment¶
If you prefer using conda, you can create an environment and install VISTA:
conda create -n vista python=3.13 # or any version >= 3.11
conda activate vista
pip install vista-imagery
Verifying Installation¶
Launch the application:
vista
You should see the VISTA main window appear.
Dependencies¶
VISTA depends on the following packages:
astropy - Astronomy and astrophysics library
astroquery - Online astronomical catalog queries
darkdetect - Dark mode detection
h5py - HDF5 file support
numba - JIT compilation for performance-critical routines
numpy - Numerical computing
pandas - Data analysis and manipulation
Pillow - Image file I/O
PyQt6 - Qt GUI framework
pyqtgraph - Scientific graphics and GUI library
pyshp - Shapefile reading/writing
scikit-image - Image processing
scipy - Scientific computing
shapely - Geometric operations
sgp4 - Satellite propagation from TLE data
These dependencies are automatically installed when you install VISTA.
Troubleshooting¶
PyQt6 Installation Issues¶
If you encounter issues installing PyQt6, make sure you have the necessary system dependencies:
Linux (Ubuntu/Debian):
sudo apt-get install python3-pyqt6
macOS:
PyQt6 should install without issues via pip. If you encounter problems, try installing via conda:
conda install -c conda-forge pyqt
Windows:
PyQt6 should install without issues via pip. Ensure you have the latest version of pip:
python -m pip install --upgrade pip
Permission Errors¶
If you get permission errors during installation, try using a virtual environment:
python -m venv vista_env
source vista_env/bin/activate # On Windows: vista_env\Scripts\activate
pip install vista-imagery
Or use the --user flag:
pip install --user vista-imagery