This comprehensive guide will walk you through the complete setup and configuration of PowerTraderAI+.
sudo apt install git)# Step 1: Clone the repository
git clone <repository-url>
cd PowerTrader_AI
# Step 2: Create virtual environment (CRITICAL for dependency isolation)
python -m venv .venv
# Step 3: Activate virtual environment
# Windows:
.venv\Scripts\activate
# macOS/Linux:
source .venv/bin/activate
# Step 4: Install all dependencies automatically
python install_dependencies.py
# Step 5: Launch PowerTrader AI+
cd app
python pt_hub.py
# Follow steps 1-3 from Method 1, then:
# Install dependencies manually
pip install -r requirements.txt --no-warn-script-location --upgrade
# Verify critical dependencies
python -c "import flask, openai, ccxt, matplotlib, pandas; print('All critical packages installed!')"
# Launch application
cd app
python pt_hub.py
# Complete installation in single command
git clone <repository-url> && cd PowerTrader_AI && python -m venv .venv && .venv\Scripts\activate && python install_dependencies.py && echo "Installation complete! Run: cd app && python pt_hub.py"
# Verify Python version
python --version # Should show 3.11 or higher
# Check virtual environment
python -c "import sys; print('✓ Virtual env active' if hasattr(sys, 'real_prefix') or sys.base_prefix != sys.prefix else '✗ No virtual env detected')"
# Test core dependencies
python -c "
try:
import flask, openai, ccxt, matplotlib, pandas, numpy
print('✓ All core dependencies available')
except ImportError as e:
print(f'✗ Missing dependency: {e}')
"
# Verify application startup
cd app && python -c "from pt_hub import PowerTraderHub; print('✓ PowerTrader Hub can be imported')"
Successful installation should show:
PowerTrader AI+ Dependency Installer
==================================================
Virtual environment detected
Installing dependencies...
This process is completely automated and warning-free
All dependencies installed successfully!
Verifying installation...
[OK] Flask web framework
[OK] OpenAI API client
[OK] Exchange integration
[OK] Web scraping
PowerTrader AI+ is ready to run!
Next steps:
1. cd app
2. python pt_hub.py
When you run PowerTraderAI+ for the first time, you’ll be guided through:
PowerTraderAI+ creates several configuration files:
gui_settings.json - GUI preferences and settingscredentials/ - Encrypted API keys and authenticationlogs/ - Application logs and audit trailspython pt_hub.py
Common installation issues:
For more help, see Troubleshooting Guide.