InstallationΒΆ
nanopy includes C
extensions for work generation and signing.
sudo apt-get install gcc python3-dev
pip install nanopy
- Instead of the default (
gcc
), point to anotherC
compiler by prepending the installation command withCC=path/to/c/compiler
. CC=path/to/c/compiler pip install nanopy
- When using
Visual C
, additionally prepend the installation command withUSE_VC=1
. CC=path/to/visual/c USE_VC=1 pip install nanopy
- When using
- Instead of the default (
- For GPU, appropriate
OpenCL ICD
headers are required. sudo apt-get install ocl-icd-opencl-dev nvidia/amd-opencl-icd
- Enable GPU usage by prepending the installation command with
USE_GPU=1
. USE_GPU=1 pip install nanopy
- Enable GPU usage by prepending the installation command with
- For GPU, appropriate