$ pip install openjij
For installation with GPU functions, see the topic below.
pip (without binary)¶
OpenJij needs cmake >= 3.17
If you want to use setup.py instead of PIP, You will need to install CMake>=3.17.
We are Highly recommended install CMake via PYPI.
$ pip install -U cmake
Install newest CMake
$ brew install cmake or $ pip install cmake
# if you installed old version by apt-get $ apt-get purge cmake # install cmake $ wget https://cmake.org/files/v3.13/cmake-3.13.2.tar.gz $ tar xvf cmake-3.13.2.tar.gz $ cd cmake-3.13.2 $ ./bootstrap && make && sudo make install
$ pip install openjij --no-binary :all:
If a CUDA compiler is found during installation, OpenJij will automatically compile for the GPU.
$ git clone [email protected]:OpenJij/OpenJij.git $ cd openjij $ python -m pip install .
It has been reported that the installation of OpenJij may fail on Windows. We recommend using Linux through WSL.
Report an installation problem¶
Please report the problem to the issue on Github.