-
Dowloand and install Anacaonda Python
-
Download OASIS from the GitHub
-
Unzip it
-
Install dependencies
conda install matplotlib numpy scipy cython
pip install ecos
pip install cvxpy
- Compile OASIS
python setup.py build_ext --inplace
- If the compilation(step 5) ever fails with compiler unavailability warning, clean the temporary files and install a working GCC compiler on windows based on your python version
- Cleaning temporary files from previous compilation
python setup.py clean --all
- Python 2.7 and <=3.4 : mingw
conda install mingw libpython
- Python 3.5=> : MSYS2 mingw-w64
conda install libpython
conda install -c msys2 m2w64-toolchain
- Repeat step 5
On further trials the said error was not related to the installation of OASIS. The error appeared when I tried to run the example .py file using visual studio code. Try .ipynb file instead - that runs smoothly without any errors.