Skip to content

Instantly share code, notes, and snippets.

@uetchy
Created January 14, 2016 12:34
Show Gist options
  • Save uetchy/fd48eb60df6b55b67fd6 to your computer and use it in GitHub Desktop.
Save uetchy/fd48eb60df6b55b67fd6 to your computer and use it in GitHub Desktop.
Install chainer
#!/bin/bash
export PATH=/usr/local/cuda/bin:$PATH
export CPATH=/opt/cudnn/include
export LIBRARY_PATH=/usr/local/cuda/lib:/opt/cudnn/lib
export LD_LIBRARY_PATH=$LIBRARY_PATH
export DYLD_LIBRARY_PATH=$LIBRARY_PATH
LDFLAGS="-F/Library/Frameworks -framework CUDA" pip install --no-cache-dir chainer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment