Installation#
Recommended: Conda + pip#
Install Conda If you don’t have conda, follow the official installation guide.
Create and activate a new environment with fpocket and Python 3.11
conda create -n fpocketR -c conda-forge fpocket=4.0.3 python=3.11 pymol-open-source=2.5 conda activate fpocketR
Install fpocketR and dependencies from PyPI
pip install fpocketR
This will install all required Python dependencies. Note: The
fpocketbinary is installed via conda, not pip.
Testing your installation#
After installing, you can verify your setup by running the test suite:
Install the testing tools:
pip install 'fpocketR[test]'
Find the fpocketR install location:
python -c "import fpocketR; print(fpocketR.__file__)"
Run
pytestin the fpocketR source directory:pytest /path/to/fpocketR/ # or, if you are in the source directory: pytest
If all tests pass, your installation is working correctly.
Notes:
For Windows users, use WSL (Windows Subsystem for Linux) for best compatibility. Guide to installing WSL and Ubuntu
For MacOS users: fpocketR is not compatible with arm-based M1/M2 processors (only Intel/x86).