-
Notifications
You must be signed in to change notification settings - Fork 19
Install tensorflow FreeBSD
- Available package system in the server
- bash -c "$(curl -fsSL https://raw.githubusercontent.com/bellflower2015/pspkg/master/setup.bash)"
- さくらのレンタルサーバ(スタンダード)でportsとpkgngを使って超簡単インストールツールを作ってみた - Qiita
- didn't work with bsd.port.mk", line 1042: Unknown directiv when pspkg --install lang/python36
- Install Python 3.6.1 from source
./configure --prefix=$HOME/local/python gmake -j8 && gmake -j8 install ln python3 python
- .bashrc
. export PYTHON=$HOME/local/python/bin/python3 . export PATH=$HOME/local/python/bin:$PATH . export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/local/python/lib . which pip3 /home/monaos/local/python/bin/pip3
- numpy
- $ pip3 install numpy
Command "/home/monaos/local/python/bin/python3.6 -u -c "import setuptools, tokenize;file='/var/tmp/pip-build-6l02_753/numpy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-nsh01p6t-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /var/tmp/pip-build-6l02_753/numpy/
- download source
- python setup.py build
- RuntimeError: Running cythonize failed!
- pip3 install Cython
- pip3 install numpy==1.7.1 worked!
- tensorflow required bazel
- bazel requires java
- install tensorflow from source
- on mac
. git clone https://github.com/tensorflow/tensorflow.git . cd tensorflow . git checkout v1.1.0
- scp it to freebsd