Installation¶
Requirements¶
- Python 3.9 or higher
- pip package manager
Basic Installation¶
Install Pyarallel using pip:
pip install pyarallel
Development Installation¶
For development or contributing to Pyarallel:
-
Clone the repository:
git clone https://github.com/oneryalcin/pyarallel.git cd pyarallel
-
Install development dependencies:
pip install -e ".[dev]"
Verifying Installation¶
Verify your installation by running Python and importing Pyarallel:
from pyarallel import parallel
# Test with a simple parallel function
@parallel(max_workers=2)
def test_func(x):
return x * 2
result = test_func([1, 2, 3])
print(result) # Should print: [2, 4, 6]
Troubleshooting¶
If you encounter any issues during installation:
-
Ensure you have the latest pip version:
pip install --upgrade pip
-
Check Python version compatibility:
python --version
-
For platform-specific issues or additional help, please refer to our GitHub Issues page.