Installation
P2PD is available on PyPI and Github.
python3 -m pip install p2pd
P2PD also comes with optional dependencies. These are required depending on the functionality to be used. E.g. mysql packages to run a PNP server. There’s no harm in installing the extra dependencies.
git clone https://github.com/robertsdotpm/p2pd.git
cd p2pd
python3 setup.py develop
python3 -m pip install -r optional-test-requirements.txt
python3 -m pip install -r optional-server-requirements.txt
Installation on older systems
The general process for getting P2PD to work on old machines involves getting the highest version of Python 3 work and then updating pip using the get-pip.py script for your Python version. E.g. let’s say you get Python 3.5 to work. You would run and then run python3 -m pip install p2pd.
https://bootstrap.pypa.io/pip/3.5/get-pip.py
Windows Vista
You will need Python 3.7 to avoid bugs with encoding on Windows Vista. https://www.python.org/downloads/release/python-370/
Windows XP
Apply all Windows updates from legacyupdate.net.
- Install Visual C++ AIO Repack (it installs lots of dependencies to install software for XP)
- Install Python 3.5 Runtime Redistributable to a folder in the root of your C drive (this is the only version of Python 3 I’ve gotten to work on XP and it has working asyncio!)
Download pip installer and run it: https://bootstrap.pypa.io/pip/3.5/get-pip.py
Install p2pd: python.exe -m pip install p2pd