Detailed step-by-step installation and setup instructions for the project on different operating systems.
- System Requirements
- Python Installation
- Project Installation
- MS Access Driver Installation
- Installation Verification
- Troubleshooting
- Python: 3.6.8 or higher (recommended 3.8+)
- RAM: 512 MB (recommended 2 GB)
- Disk Space: 100 MB
- OS: Windows 7+, Ubuntu 18.04+, macOS 10.14+
- MS Access Driver - for working with real .mdb files
- Git - for cloning repository
-
Download Python:
- Go to https://www.python.org/downloads/
- Download Python 3.8+ (latest stable version)
- Choose "Windows installer (64-bit)"
-
Install Python:
- Run the downloaded installer
- IMPORTANT: Check "Add Python to PATH" checkbox
- Choose "Install Now" or "Customize installation"
- Complete the installation
-
Verify Installation:
python --version pip --version
- Open Microsoft Store
- Search for "Python 3.11" (or latest version)
- Click "Install"
# Update package list
sudo apt update
# Install Python and pip
sudo apt install python3 python3-pip python3-venv
# Verify installation
python3 --version
pip3 --version- Go to https://www.python.org/downloads/
- Download macOS installer
- Run the installer
# Install Homebrew (if not installed)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Python
brew install python
# Verify installation
python3 --version
pip3 --version# Clone repository
git clone https://github.com/palagina00/ms-access-data-processor.git
cd ms-access-data-processor- Go to https://github.com/palagina00/ms-access-data-processor
- Click "Code" → "Download ZIP"
- Extract ZIP file
- Navigate to extracted folder
# Create virtual environment
python -m venv venv
# Activate virtual environment
venv\Scripts\activate
# Verify activation (you should see (venv) in prompt)# Create virtual environment
python3 -m venv venv
# Activate virtual environment
source venv/bin/activate
# Verify activation (you should see (venv) in prompt)# Upgrade pip
pip install --upgrade pip
# Install project dependencies
pip install -r requirements.txt# Check if all packages installed correctly
pip list
# Test basic functionality
python -c "import pandas; print('Pandas version:', pandas.__version__)"Note: This step is optional if you're only working with CSV files.
-
Download Microsoft Access Database Engine:
- Go to Microsoft Download Center
- Download "Microsoft Access Database Engine 2016 Redistributable"
- Choose appropriate version (32-bit or 64-bit)
-
Install Driver:
- Run downloaded installer
- Follow installation wizard
- Restart computer if prompted
# Install unixodbc and Microsoft ODBC drivers
sudo apt update
sudo apt install unixodbc unixodbc-dev
# Install Microsoft ODBC Driver for SQL Server
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
sudo apt update
sudo apt install msodbcsql17# Install using Homebrew
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
brew update
brew install msodbcsql17 mssql-tools# Check Python version (should be 3.6.8+)
python --version
# Check installed packages
pip list | grep -E "(pandas|openpyxl)"# Check if main script exists
ls src/access_processor.py
# Check if test data generator exists
ls tests/generate_test_data.py# Generate test data
python tests/generate_test_data.py
# Run main processor
python src/access_processor.py
# Check output
ls data/output/
cat data/output/result.csvYou should see:
- Test data files in
data/input/ - Processed results in
data/output/result.csv - Log file
processor.logwith processing details
Solution:
- Make sure Python is added to PATH
- Try using
python3instead ofpython - Restart command prompt/terminal
Solution:
# Try pip3 instead
pip3 install -r requirements.txt
# Or use python -m pip
python -m pip install -r requirements.txtSolution:
# Use --user flag
pip install --user -r requirements.txt
# Or use sudo (not recommended)
sudo pip install -r requirements.txtSolution:
# Make sure virtual environment is activated
# Check if you see (venv) in your prompt
# Reinstall packages
pip install -r requirements.txtSolution:
- Make sure you have correct driver version (32-bit vs 64-bit)
- Check if driver is properly installed
- For CSV-only usage, driver is not required
- Check Log Files: Look at
processor.logfor detailed error messages - Verify File Paths: Make sure all file paths are correct
- Check Permissions: Ensure you have read/write access to data directories
- Python Version: Ensure you're using Python 3.6.8 or higher
If you encounter issues not covered in this guide:
- 📧 Email: palagina00@gmail.com
- 🐛 Report Bug: GitHub Issues
- 📖 Documentation: USAGE.md
Installation completed successfully! 🎉
Next step: USAGE.md - Learn how to use the project