Complete installation instructions for the Vispootanam Rocket Trajectory Optimization System.
- System Requirements
- Quick Installation
- Detailed Installation
- Platform-Specific Instructions
- Verification
- Troubleshooting
- Uninstallation
- Operating System: Windows 10+, macOS 10.14+, or Linux (Ubuntu 18.04+)
- Python: 3.8 or higher
- RAM: 4 GB
- Disk Space: 500 MB
- Processor: Dual-core 2.0 GHz
- Operating System: Windows 11, macOS 12+, or Linux (Ubuntu 22.04+)
- Python: 3.10 or higher
- RAM: 8 GB or more
- Disk Space: 1 GB
- Processor: Quad-core 2.5 GHz or better
- Python 3.8+
- pip (Python package manager)
- Git (for cloning repository)
# 1. Download and install Python from python.org
# 2. Download the project ZIP from GitHub
# 3. Extract to a folder
# 4. Open terminal/command prompt in that folder
# 5. Run:
pip install -r requirements.txt
python verify_installation.py# Clone repository
git clone https://github.com/your-org/rocket-trajectory-optimizer.git
cd rocket-trajectory-optimizer
# Create virtual environment
python -m venv venv
# Activate virtual environment
# Windows:
venv\Scripts\activate
# Linux/Mac:
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Verify installation
python verify_installation.py- Download Python from python.org
- Run installer
- Important: Check "Add Python to PATH"
- Click "Install Now"
- Verify installation:
python --version
# Using Homebrew (recommended)
brew install python@3.10
# Or download from python.orgsudo apt update
sudo apt install python3.10 python3-pip python3-venvDownload from git-scm.com
brew install gitsudo apt install gitgit clone https://github.com/your-org/rocket-trajectory-optimizer.git
cd rocket-trajectory-optimizer- Go to GitHub repository
- Click "Code" → "Download ZIP"
- Extract to desired location
- Open terminal in extracted folder
# Create virtual environment
python -m venv venv
# Activate virtual environment
# Windows (Command Prompt):
venv\Scripts\activate.bat
# Windows (PowerShell):
venv\Scripts\Activate.ps1
# Linux/Mac:
source venv/bin/activate
# You should see (venv) in your promptWhy use virtual environment?
- Isolates project dependencies
- Prevents conflicts with other Python projects
- Easy to remove (just delete venv folder)
# Upgrade pip first
python -m pip install --upgrade pip
# Install required packages
pip install -r requirements.txt
# For development (optional)
pip install pytest pytest-cov black flake8 mypypython verify_installation.pyExpected output:
============================================================
SYSTEM VERIFICATION
============================================================
Checking imports...
All core modules imported successfully
Checking project structure...
src/core: OK
src/models: OK
...
============================================================
STATUS: ALL CHECKS PASSED
System is ready for use
============================================================
If you get an error activating virtual environment:
# Run PowerShell as Administrator
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserEnable long paths for Windows:
- Open Registry Editor (regedit)
- Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem - Set
LongPathsEnabledto 1
Or use PowerShell (as Administrator):
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -ForceFor parallel optimization, ensure scripts have:
if __name__ == '__main__':
main()Some packages require compilation:
xcode-select --installUse native Python for best performance:
# Check architecture
python -c "import platform; print(platform.machine())"
# Should show: arm64
# If showing x86_64, install native Python:
arch -arm64 brew install python@3.10# Ubuntu/Debian
sudo apt install build-essential python3-dev
# Fedora/RHEL
sudo dnf install gcc gcc-c++ python3-devel
# Arch
sudo pacman -S base-devel pythonIf pip install fails with permission errors:
# Use --user flag
pip install --user -r requirements.txt
# Or use virtual environment (recommended)python verify_installation.py# Run all tests
python -m pytest tests/ -v
# Run specific test
python tests/test_optimization.py
# Run system demo
python tests/DEMO_VISPOOTANAM_SYSTEM.pypython tests/test_speed_final.pyExpected performance:
- Fast Optimizer: < 0.01s
- Hybrid Optimizer: < 1s
- Parallel Optimizer: < 3s
python run/run_fast_optimization.pyShould complete in < 1 second with optimization results.
Solution:
# Windows: Add Python to PATH
# Or use full path:
C:\Python310\python.exe verify_installation.py
# Linux/Mac: Install Python
sudo apt install python3.10 # Ubuntu
brew install python@3.10 # macOSSolution:
# Install pip
python -m ensurepip --upgrade
# Or download get-pip.py
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.pySolution:
# Ensure virtual environment is activated
# Then reinstall dependencies
pip install -r requirements.txt --force-reinstallSolution:
# Use virtual environment (recommended)
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
pip install -r requirements.txt
# Or use --user flag
pip install --user -r requirements.txtSolution:
# Windows: Install Visual C++ Build Tools
# Download from: https://visualstudio.microsoft.com/visual-cpp-build-tools/
# Or use pre-built wheels
pip install --only-binary :all: numpy scipy
# Or use conda
conda install numpy scipySolution:
- Ensure multiprocessing protection:
if __name__ == '__main__': - Use fewer workers:
n_parallel_workers=2 - Try hybrid optimizer instead of parallel
Solution:
# Add project to Python path
export PYTHONPATH="${PYTHONPATH}:$(pwd)" # Linux/Mac
set PYTHONPATH=%PYTHONPATH%;%CD% # Windows
# Or install in development mode
pip install -e .If issues persist:
- Check GitHub Issues
- Read FAQ
- Ask in Discussions
- Email: support@example.com
Include:
- Operating system and version
- Python version (
python --version) - Full error message
- Steps to reproduce
- Output of
python verify_installation.py
# Deactivate virtual environment
deactivate
# Delete virtual environment folder
rm -rf venv # Linux/Mac
rmdir /s venv # Windows# Delete project folder
cd ..
rm -rf rocket-trajectory-optimizer # Linux/Mac
rmdir /s rocket-trajectory-optimizer # Windowspip uninstall -r requirements.txt -y# Pull latest changes
git pull origin main
# Update dependencies
pip install -r requirements.txt --upgrade
# Verify
python verify_installation.py# Check current version
python -c "from src import __version__; print(__version__)"
# Check latest release on GitHubAfter successful installation:
- For Students: Read User Guide
- For Developers: Read API Reference
- Try Examples: Run scripts in
run/folder - Run Tests:
python -m pytest tests/
- Documentation:
docs/folder - Examples:
examples/folder - Issues: GitHub Issues
- Email: support@example.com
Last Updated: May 2, 2026